summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-16 16:16:04 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-16 16:16:04 +0000
commit4fee4103fc3e288acb1f0fdb5a8b7df1cb32710b (patch)
tree183998a6c07ca9de33297aa526be58b1dcc09b6b /games-arcade/cavezofphear
parentBump. (diff)
downloadhistorical-4fee4103fc3e288acb1f0fdb5a8b7df1cb32710b.tar.gz
historical-4fee4103fc3e288acb1f0fdb5a8b7df1cb32710b.tar.bz2
historical-4fee4103fc3e288acb1f0fdb5a8b7df1cb32710b.zip
ppc support
Diffstat (limited to 'games-arcade/cavezofphear')
-rw-r--r--games-arcade/cavezofphear/cavezofphear-0.1.ebuild33
1 files changed, 17 insertions, 16 deletions
diff --git a/games-arcade/cavezofphear/cavezofphear-0.1.ebuild b/games-arcade/cavezofphear/cavezofphear-0.1.ebuild
index 643458c329cf..e0559a140c8f 100644
--- a/games-arcade/cavezofphear/cavezofphear-0.1.ebuild
+++ b/games-arcade/cavezofphear/cavezofphear-0.1.ebuild
@@ -1,49 +1,50 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/cavezofphear/cavezofphear-0.1.ebuild,v 1.2 2004/02/20 06:20:00 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/cavezofphear/cavezofphear-0.1.ebuild,v 1.3 2004/03/16 16:16:04 vapier Exp $
inherit games
-S="${WORKDIR}/${P/cavezof/}"
DESCRIPTION="A boulder dash / digger-like game for console using ncurses"
HOMEPAGE="http://www.x86.no/cavezofphear/"
SRC_URI="http://www.x86.no/cavezofphear/${P/cavezof/}.tar.bz2"
-KEYWORDS="x86"
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="x86 ppc"
IUSE=""
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
+S="${WORKDIR}/${P/cavezof/}"
+
src_unpack() {
unpack ${A}
cd ${S}
sed -i \
- -e 's/cd src.*/$(MAKE) -C src/' Makefile || \
- die "sed Makefile failed"
+ -e 's/cd src.*/$(MAKE) -C src/' Makefile \
+ || die "sed Makefile failed"
sed -i \
-e 's/^all:.*/all: phear editor/' \
- -e "/^CFLAGS/ s:=.*:= ${CFLAGS}:" src/Makefile || \
- die "sed src/Makefile failed"
+ -e "/^CFLAGS/ s:=.*:= ${CFLAGS}:" src/Makefile \
+ || die "sed src/Makefile failed"
sed -i \
-e 's/\.\///' \
- -e 's/editor/phear-editor/g' README-EDITOR || \
- die "sed README-EDITOR failed"
+ -e 's/editor/phear-editor/g' README-EDITOR \
+ || die "sed README-EDITOR failed"
sed -i \
-e "s:\"data/:\"${GAMES_DATADIR}/${PN}/data/:" \
- src/{chk.c,main.c,splash.c} || \
- die "sed data fix failed"
+ src/{chk.c,main.c,splash.c} \
+ || die "sed data fix failed"
}
src_install() {
- dogamesbin src/phear || die "dogamesbin failed"
- newgamesbin src/editor phear-editor || die "newgamesbin failed"
- dodir "${GAMES_DATADIR}/${PN}" || die "dodir failed"
- cp -r data/ "${D}${GAMES_DATADIR}/${PN}" || die "cp failed"
- dodoc AUTHORS ChangeLog README* TODO || die "dodoc failed"
+ dogamesbin src/phear || die "dogamesbin failed"
+ newgamesbin src/editor phear-editor || die "newgamesbin failed"
+ dodir ${GAMES_DATADIR}/${PN}
+ cp -r data/ ${D}/${GAMES_DATADIR}/${PN} || die "cp failed"
+ dodoc AUTHORS ChangeLog README* TODO
prepgamesdirs
}