diff options
Diffstat (limited to 'games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild')
-rw-r--r-- | games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild b/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild index 4dcf153d1837..a60c1b9346ed 100644 --- a/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild +++ b/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild,v 1.1 2004/02/15 19:27:09 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild,v 1.1.1.1 2005/11/30 10:10:58 chriswhite Exp $ -inherit games eutils flag-o-matic +inherit eutils flag-o-matic games MY_PV=95b2 DESCRIPTION="MMORPG with 2D isometric tiles grafik, true color and alpha blending effects" @@ -11,32 +11,36 @@ SRC_URI="mirror://sourceforge/daimonin/dm_client_${MY_PV}_src.zip" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ~ppc" +KEYWORDS="x86 ~ppc ~amd64" +IUSE="X" -DEPEND="media-libs/libsdl +RDEPEND="media-libs/libsdl media-libs/sdl-mixer media-libs/sdl-image - virtual/x11" + X? ( virtual/x11 )" +DEPEND="${RDEPEND} + app-arch/unzip" -S=${WORKDIR}/daimonin/client +S="${WORKDIR}/daimonin/client" src_unpack() { unpack ${A} cd ${S} - epatch ${FILESDIR}/${PV}-gentoo-paths.patch + epatch "${FILESDIR}/${PV}-gentoo-paths.patch" } src_compile() { cd make/linux append-flags -DGENTOO_DATADIR="'\"${GAMES_DATADIR}/${PN}\"'" - emake EXTRA_CFLAGS="${CFLAGS}" || die + emake EXTRA_CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { dogamesbin src/daimonin - dodir ${GAMES_DATADIR}/${PN} - cp -r bitmaps icons media sfx cache ${D}/${GAMES_DATADIR}/${PN}/ - insinto ${GAMES_DATADIR}/${PN} + dodir "${GAMES_DATADIR}/${PN}" + cp -r bitmaps icons media sfx cache "${D}/${GAMES_DATADIR}/${PN}/" \ + || die "cp failed" + insinto "${GAMES_DATADIR}/${PN}" doins *.dat prepgamesdirs } |