blob: 70696b7f1d012a32a2e86653fcabf12f0d63eeae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-engines/nazghul/nazghul-0.7.0.ebuild,v 1.4 2010/06/27 18:56:23 pacho Exp $
EAPI=2
inherit eutils games
DESCRIPTION="A computer role-playing game (CRPG) engine with game called HaximA"
HOMEPAGE="http://myweb.cableone.net/gmcnutt/nazghul.html"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="media-libs/libpng
>=media-libs/libsdl-1.2.3[X,audio,video]
media-libs/sdl-image[png]
media-libs/sdl-mixer[midi,vorbis,wav]"
src_prepare() {
ecvs_clean
}
src_configure() {
egamesconf \
--includedir=/usr/include
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README \
doc/{GAME_RULES,GHULSCRIPT,MAP_HACKERS_GUIDE,USERS_GUIDE}
dohtml -a html,gif -r doc/*
docinto engine_extension_and_design
dodoc doc/engine_extension_and_design/*
docinto world_building
dodoc doc/world_building/*
doicon icons/haxima.png
make_desktop_entry haxima.sh HaximA haxima
prepgamesdirs
}
|