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 | 091758823f5a94d714e499bfb039cca9d993d27c (patch) | |
tree | e663784d3989e5c0ec7216ce742991e7252aa080 /games-fps/ut2003-demo | |
parent | Remove pkgconfig from $RDEPEND and license fixes. (Manifest recommit) (diff) | |
download | gentoo-2-091758823f5a94d714e499bfb039cca9d993d27c.tar.gz gentoo-2-091758823f5a94d714e499bfb039cca9d993d27c.tar.bz2 gentoo-2-091758823f5a94d714e499bfb039cca9d993d27c.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/ut2003-demo-2206-r3.ebuild | 13 |
2 files changed, 12 insertions, 7 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/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 $ |