diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-10-22 23:27:36 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-10-22 23:27:36 +0000 |
commit | 86492faab35dd51eb07bc3ccb9d77dc15766b324 (patch) | |
tree | 660525432a786b0c6f3bf8d9910b9503fd6d86dd /games-sports | |
parent | Version bump (diff) | |
download | historical-86492faab35dd51eb07bc3ccb9d77dc15766b324.tar.gz historical-86492faab35dd51eb07bc3ccb9d77dc15766b324.tar.bz2 historical-86492faab35dd51eb07bc3ccb9d77dc15766b324.zip |
use sed-4; cleaner install; more error checking and messages
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/race/ChangeLog | 5 | ||||
-rw-r--r-- | games-sports/race/Manifest | 4 | ||||
-rw-r--r-- | games-sports/race/race-0.5.ebuild | 21 |
3 files changed, 18 insertions, 12 deletions
diff --git a/games-sports/race/ChangeLog b/games-sports/race/ChangeLog index f128911a72ec..93fd03b49e75 100644 --- a/games-sports/race/ChangeLog +++ b/games-sports/race/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-sports/race # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/race/ChangeLog,v 1.2 2003/09/12 15:38:25 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/race/ChangeLog,v 1.3 2003/10/22 23:27:24 mr_bones_ Exp $ + + 22 Oct 2003; Michael Sterrett <mr_bones_@gentoo.org> race-0.5.ebuild: + use sed-4; cleaner install; more error checking and messages *race-0.5 (30 Jul 2003) diff --git a/games-sports/race/Manifest b/games-sports/race/Manifest index 1993aea7134e..ee6b8b43e145 100644 --- a/games-sports/race/Manifest +++ b/games-sports/race/Manifest @@ -1,4 +1,4 @@ +MD5 bd7325f87f54b987a15638f0dbe6ee86 ChangeLog 475 +MD5 5ae00841a986e55a57bd85a7543de51d race-0.5.ebuild 1316 MD5 e8ca685e0adb1972e290852a3583ca47 files/0.5-gentoo.patch 3224 MD5 f7ccf6058ee9a01cfbd5e475d8c2e834 files/digest-race-0.5 61 -MD5 7a1f6907c058aed2cf292f97765649a4 ChangeLog 336 -MD5 4e2e32913bf7f8d281adb6d119ad2cc7 race-0.5.ebuild 975 diff --git a/games-sports/race/race-0.5.ebuild b/games-sports/race/race-0.5.ebuild index a253e194b489..231a23b99e54 100644 --- a/games-sports/race/race-0.5.ebuild +++ b/games-sports/race/race-0.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/race/race-0.5.ebuild,v 1.1 2003/09/11 12:26:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/race/race-0.5.ebuild,v 1.2 2003/10/22 23:27:24 mr_bones_ Exp $ inherit games gcc eutils @@ -12,11 +12,13 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" -DEPEND="virtual/opengl +RDEPEND="virtual/opengl virtual/glu media-libs/libsdl media-libs/sdl-image media-libs/sdl-mixer" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" src_unpack() { unpack ${A} @@ -25,19 +27,20 @@ src_unpack() { sed -i \ -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:g" \ -e "s:GENTOO_CONFDIR:${GAMES_SYSCONFDIR}:g" \ - *.c + *.c || die "sed failed" + find ${S}/data/ -type d -name .xvpics | xargs rm -rf \{\} \; } src_compile() { - emake CC="$(gcc-getCC) ${CFLAGS}" || die + emake CC="$(gcc-getCC) ${CFLAGS}" || die "emake failed" } src_install() { - dogamesbin race + dogamesbin race || die "dogamesbin failed" insinto ${GAMES_SYSCONFDIR} - newins config race.conf - dodir ${GAMES_DATADIR}/${PN} - mv data/* ${D}/${GAMES_DATADIR}/${PN}/ - dodoc README + newins config race.conf || die "newins failed" + dodir ${GAMES_DATADIR}/${PN} || die "dodir failed" + cp -r data/* ${D}/${GAMES_DATADIR}/${PN}/ || die "cp failed" + dodoc README || die "dodoc failed" prepgamesdirs } |