summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild b/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild
index e58bad31a91e..8ebd13b8fb67 100644
--- a/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild
+++ b/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild,v 1.7 2005/06/15 19:12:45 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild,v 1.8 2007/11/11 07:40:49 mr_bones_ Exp $
inherit eutils games
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/lgeneral/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc"
+KEYWORDS="~ppc x86"
IUSE=""
DEPEND=">=media-libs/libsdl-1.2.4
@@ -21,23 +21,23 @@ DEPEND=">=media-libs/libsdl-1.2.4
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
epatch "${FILESDIR}/${PV}-netbsd-audio.patch"
}
src_compile() {
- egamesconf --datadir=${GAMES_DATADIR}/../
+ egamesconf --datadir="${GAMES_DATADIR}"/../
emake || die "emake failed"
- cd ${WORKDIR}/${DATA}
- egamesconf --datadir=${GAMES_DATADIR}/../
+ cd "${WORKDIR}/${DATA}"
+ egamesconf --datadir="${GAMES_DATADIR}"/../
emake || die "emake failed (data)"
}
src_install() {
- make DESTDIR=${D} install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README TODO
- cd ${WORKDIR}/${DATA}
- make DESTDIR=${D} install || die "make install failed (data)"
+ cd "${WORKDIR}/${DATA}"
+ emake DESTDIR="${D}" install || die "emake install failed (data)"
prepgamesdirs
}