diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-04-03 17:32:59 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-04-03 17:32:59 +0000 |
commit | 94f6b7adf0692c0da80f63e6d33fb7516b06f34a (patch) | |
tree | 19e1458c9f4c3771126556971222137896d23a19 /games-fps/nexuiz | |
parent | Added myself to vde metadata.xml. (diff) | |
download | historical-94f6b7adf0692c0da80f63e6d33fb7516b06f34a.tar.gz historical-94f6b7adf0692c0da80f63e6d33fb7516b06f34a.tar.bz2 historical-94f6b7adf0692c0da80f63e6d33fb7516b06f34a.zip |
EAPI=2; tidy; handle strip more precisely
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'games-fps/nexuiz')
-rw-r--r-- | games-fps/nexuiz/ChangeLog | 7 | ||||
-rw-r--r-- | games-fps/nexuiz/Manifest | 4 | ||||
-rw-r--r-- | games-fps/nexuiz/nexuiz-2.4.2.ebuild | 31 |
3 files changed, 26 insertions, 16 deletions
diff --git a/games-fps/nexuiz/ChangeLog b/games-fps/nexuiz/ChangeLog index e34580ba6f2a..d6e98127d6ae 100644 --- a/games-fps/nexuiz/ChangeLog +++ b/games-fps/nexuiz/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-fps/nexuiz -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/ChangeLog,v 1.28 2008/10/16 10:11:56 armin76 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/ChangeLog,v 1.29 2009/04/03 17:32:59 mr_bones_ Exp $ + + 03 Apr 2009; Michael Sterrett <mr_bones_@gentoo.org> nexuiz-2.4.2.ebuild: + EAPI=2; tidy; handle strip more precisely 16 Oct 2008; Raúl Porcel <armin76@gentoo.org> nexuiz-2.4.2.ebuild: x86 stable wrt #240708 diff --git a/games-fps/nexuiz/Manifest b/games-fps/nexuiz/Manifest index 1204cfdacd5a..c915597d3e0e 100644 --- a/games-fps/nexuiz/Manifest +++ b/games-fps/nexuiz/Manifest @@ -1,5 +1,5 @@ DIST nexmappack_r2.zip 113533483 RMD160 8fbf25ba69ecbaa8170aa468d29ee2f04df5b7f4 SHA1 9d6780822bd682346e74b83e72fafbad45b1ad38 SHA256 15088c7632e0b4f487c789fba4296f44ef5a5d83b51adcb9e603e289e5b8241e DIST nexuiz-242.zip 393779967 RMD160 0b62abe33311a6b1128584e45f137cee9c62d05d SHA1 387e76889699ef5b7f6ee115833284597410a7ac SHA256 ec31db254fd94508f63a5651beff73ce5c9e187e9c91f35f7616f33f082ae52b -EBUILD nexuiz-2.4.2.ebuild 2999 RMD160 bf18d4bea5c5dc77121611ea851844f7b57d82ca SHA1 123c0994e1279bd7e8a215babd4210d07147cfc0 SHA256 95e21fb3e67fc490ae96bc3ab8150d939f59d5e1a58d5eb05b3c4012027a892c -MISC ChangeLog 3929 RMD160 43a1e068895627e3dde31361f109af966bb2b1a8 SHA1 75b9071d5be6fd0975ec68baebc5ffdf6f399f54 SHA256 862b5a4ea7e24e3137c41c0d888a19526abd7f4f1a82bc99ab9f3335f531c448 +EBUILD nexuiz-2.4.2.ebuild 3021 RMD160 da25da8d93dfd365de07fed2a14e29355ba8c2fb SHA1 3324a6c5b37c1c31a5621149c3df9b3b9ceba262 SHA256 0856baee4f8ca658cfc3cf80d2783ffcc05f6cb21c8399d35f7a9b1526607c30 +MISC ChangeLog 4052 RMD160 c03de8c6ad8eafbbde71fe50977e489e176e06d4 SHA1 829fcc9a511499cb78bccc586adfbed54727e594 SHA256 a6a570d9f4c7366ee329ac80a54aa81c8c0e2db665ac4160f04fc8d293d84de3 MISC metadata.xml 237 RMD160 8b32fda78d72ed7e6df1c6929b0d8ea7e7e857c4 SHA1 9c54a6fbadee617e7bb934db865a98890ce02632 SHA256 a35634a2c24559545aef4e6e3a59cefa0c3d38644e83d1bbe30cd9530787b110 diff --git a/games-fps/nexuiz/nexuiz-2.4.2.ebuild b/games-fps/nexuiz/nexuiz-2.4.2.ebuild index 77c925f13ff2..69aca1fd1943 100644 --- a/games-fps/nexuiz/nexuiz-2.4.2.ebuild +++ b/games-fps/nexuiz/nexuiz-2.4.2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/nexuiz-2.4.2.ebuild,v 1.3 2008/10/16 10:11:56 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/nexuiz/nexuiz-2.4.2.ebuild,v 1.4 2009/04/03 17:32:59 mr_bones_ Exp $ +EAPI=2 inherit eutils toolchain-funcs games MY_PN=Nexuiz @@ -55,27 +56,34 @@ src_unpack() { cd "${WORKDIR}"/${MY_PN} unpack ${MAPS}.zip fi +} - cd "${S}" +src_prepare() { # Make the game automatically look in the correct data directory - sed -i "s:gamedirname1:\"${PN}\":" fs.c \ - || die "sed fs.c failed" + sed -i \ + -e "s:gamedirname1:\"${PN}\":" \ + fs.c \ + || die "sed failed" sed -i \ -e "/^CC=/s:gcc:$(tc-getCC):" \ -e "s:-O2:${CFLAGS}:" \ -e "/-lm/s:$: ${LDFLAGS}:" \ - -e 's/strip/true/' \ + -e '/^STRIP/s/strip/true/' \ makefile.inc \ - || die "sed makefile.inc failed" + || die "sed failed" # This is the right dir, so that e.g. "darkplaces -game nexuiz" will work - sed -i "s:ifdef DP_.*:DP_FS_BASEDIR=${GAMES_DATADIR}/quake1\n&:" makefile \ - || die "sed makefile failed" + sed -i \ + -e "s:ifdef DP_.*:DP_FS_BASEDIR=${GAMES_DATADIR}/quake1\n&:" \ + makefile \ + || die "sed failed" if ! use alsa ; then - sed -i "/DEFAULT_SNDAPI/s:ALSA:OSS:" makefile \ - || die "sed makefile failed" + sed -i \ + -e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \ + makefile \ + || die "sed failed" fi } @@ -86,7 +94,6 @@ src_compile() { emake sdl-${PN} || die "emake sdl-${PN} failed" fi fi - if use dedicated ; then emake sv-${PN} || die "emake sv-${PN} failed" fi |