diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-04-05 01:24:06 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-04-05 01:24:06 +0000 |
commit | 368224ac6821dcb4f040e4a92f9c4fe59411996a (patch) | |
tree | 8b581ef53a036968c5c2c1a41e96d2090ead7ca0 /games-fps/ut2003-demo | |
parent | Remove pkgconfig from $RDEPEND and license fixes. (diff) | |
download | historical-368224ac6821dcb4f040e4a92f9c4fe59411996a.tar.gz historical-368224ac6821dcb4f040e4a92f9c4fe59411996a.tar.bz2 historical-368224ac6821dcb4f040e4a92f9c4fe59411996a.zip |
Fixing Ddir and closing bug #46803.
Diffstat (limited to 'games-fps/ut2003-demo')
-rw-r--r-- | games-fps/ut2003-demo/ChangeLog | 6 | ||||
-rw-r--r-- | games-fps/ut2003-demo/Manifest | 4 | ||||
-rw-r--r-- | games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild | 13 |
3 files changed, 14 insertions, 9 deletions
diff --git a/games-fps/ut2003-demo/ChangeLog b/games-fps/ut2003-demo/ChangeLog index 59345fcb566d..6bb71a48f5ac 100644 --- a/games-fps/ut2003-demo/ChangeLog +++ b/games-fps/ut2003-demo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-fps/ut2003-demo # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-demo/ChangeLog,v 1.8 2004/04/03 18:15:32 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-demo/ChangeLog,v 1.9 2004/04/05 01:24:06 wolf31o2 Exp $ + + 04 Apr 2004; Chris Gianelloni <wolf31o2@gentoo.org> + ut2003-demo-2206-r3.ebuild: + Fixing Ddir and closing bug #46803. 03 Apr 2004; Chris Gianelloni <wolf31o2@gentoo.org> : Fixing digest and closing bug #46693. diff --git a/games-fps/ut2003-demo/Manifest b/games-fps/ut2003-demo/Manifest index b09bc0759ba8..9584909f9feb 100644 --- a/games-fps/ut2003-demo/Manifest +++ b/games-fps/ut2003-demo/Manifest @@ -1,5 +1,5 @@ -MD5 a4876eabe800837b126d1c59bfea9c3a ut2003-demo-2206-r3.ebuild 3252 -MD5 3388e13d497c33554eb31c1dbafcabec ChangeLog 4969 +MD5 7f32afc668d8dfe7b48b0d51b32a095d ut2003-demo-2206-r3.ebuild 3275 +MD5 7ea683cc6c4b6c231b5aef4a1295d6ac ChangeLog 5092 MD5 d1603da79c3c68c905ab4524a4e2152d metadata.xml 607 MD5 4605ca0fbc6b80d2980c183e00771be3 files/ut2003-demo 679 MD5 aee8f4276497c94f153597df5c6390b9 files/digest-ut2003-demo-2206-r3 135 diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild index a0dbc83a92e1..9204defc0b26 100644 --- a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild +++ b/games-fps/ut2003-demo/ut2003-demo-2206-r3.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-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild,v 1.3 2004/04/02 03:54:20 wolf31o2 Exp $. +# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild,v 1.4 2004/04/05 01:24:06 wolf31o2 Exp $. inherit games @@ -19,6 +19,8 @@ DEPEND="virtual/opengl IUSE="" S=${WORKDIR} +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${D}/${dir} pkg_setup() { check_license @@ -36,11 +38,10 @@ src_unpack() { src_install() { einfo "This will take a while ... go get a pizza or something" - local dir=${GAMES_PREFIX_OPT}/${PN} dodir ${dir} - tar -jxvf ut2003lnx_demo.tar.bz2 -C ${D}/${dir} || die - tar -jxvf ${FILESDIR}/misc.tar.bz2 -C ${D}/${dir} || die + tar -jxvf ut2003lnx_demo.tar.bz2 -C ${Ddir} || die + tar -jxvf ${FILESDIR}/misc.tar.bz2 -C ${Ddir} || die # fix the benchmark configurations to use SDL rather than the Windows driver cd ${D}/${dir}/Benchmark/Stuff @@ -53,7 +54,7 @@ src_install() { # have the benchmarks run the nifty wrapper script rather than ../System/ut2003-bin directly cd ${D}/opt/ut2003-demo/Benchmark - for f in ${D}/${dir}/Benchmark/*-*.sh ; do + for f in ${Ddir}/Benchmark/*-*.sh ; do dosed 's:\.\./System/ut2003-bin:../ut2003_demo:' ${f} done @@ -64,7 +65,7 @@ src_install() { doexe ${FILESDIR}/{benchmark,results.sh} # Here we apply DrSiN's crash patch - cp ${S}/CrashFix/System/crashfix.u ${Ddir}/System + cp ${S}/CrashFix/System/crashfix.u ${Ddir}/System || die "CrashFix failed" ed ${Ddir}/System/Default.ini >/dev/null 2>&1 <<EOT $ |