summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild16
1 files changed, 9 insertions, 7 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..a8ccf42a1ed1 100644
--- a/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild
+++ b/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.2 2004/05/27 04:44:37 mr_bones_ Exp $
inherit games eutils flag-o-matic
@@ -12,31 +12,33 @@ SRC_URI="mirror://sourceforge/daimonin/dm_client_${MY_PV}_src.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"
+IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-image
virtual/x11"
-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
}