summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-02-15 01:24:16 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-02-15 01:24:16 +0000
commit08deb688423826ed2e07f25f76b27ad4bd4e762e (patch)
treed8d70a92e2bc949fdb4850e9e4625744b3eb2330 /games-fps/quake3-demo
parent"Q.A.: Path variable quoting. (diff)
downloadhistorical-08deb688423826ed2e07f25f76b27ad4bd4e762e.tar.gz
historical-08deb688423826ed2e07f25f76b27ad4bd4e762e.tar.bz2
historical-08deb688423826ed2e07f25f76b27ad4bd4e762e.zip
Fix quoting.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-fps/quake3-demo')
-rw-r--r--games-fps/quake3-demo/ChangeLog8
-rw-r--r--games-fps/quake3-demo/quake3-demo-1.11.ebuild32
2 files changed, 23 insertions, 17 deletions
diff --git a/games-fps/quake3-demo/ChangeLog b/games-fps/quake3-demo/ChangeLog
index 0ace9fd15d0d..1a03379de3a4 100644
--- a/games-fps/quake3-demo/ChangeLog
+++ b/games-fps/quake3-demo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/quake3-demo
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/ChangeLog,v 1.19 2007/07/31 14:36:24 cardoe Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/ChangeLog,v 1.20 2008/02/15 01:09:40 wolf31o2 Exp $
+
+ 15 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ quake3-demo-1.11.ebuild:
+ Fix quoting.
31 Jul 2007; Doug Goldstein <cardoe@gentoo.org> quake3-demo-1.11.ebuild:
nvidia-legacy-drivers has merged with nvidia-drivers
diff --git a/games-fps/quake3-demo/quake3-demo-1.11.ebuild b/games-fps/quake3-demo/quake3-demo-1.11.ebuild
index 4a2c59a3b6d5..a7f4e432a5f1 100644
--- a/games-fps/quake3-demo/quake3-demo-1.11.ebuild
+++ b/games-fps/quake3-demo/quake3-demo-1.11.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/quake3-demo-1.11.ebuild,v 1.23 2007/07/31 14:36:24 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/quake3-demo-1.11.ebuild,v 1.24 2008/02/15 01:09:40 wolf31o2 Exp $
inherit eutils games
@@ -36,6 +36,9 @@ RDEPEND="sys-libs/glibc
S=${WORKDIR}
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
GAMES_CHECK_LICENSE="yes"
src_unpack() {
@@ -43,26 +46,25 @@ src_unpack() {
}
src_install() {
- local dir=${GAMES_PREFIX_OPT}/${PN}
- dodir ${dir}
+ dodir "${dir}"
- cp -rf Help ${D}/${dir}/
- cp -rf demoq3 ${D}/${dir}/
+ cp -rf Help "${Ddir}"
+ cp -rf demoq3 "${Ddir}"
- exeinto ${dir}
+ exeinto "${dir}"
newexe bin/x86/glibc-2.0/q3ded q3ded.x86
newexe bin/x86/glibc-2.0/q3demo q3demo.x86
use 3dfx && doexe bin/x86/glibc-2.0/libMesaVoodooGL.so*
- #use opengl && dosym /usr/lib/libGL.so ${dir}/libGL.so
+ #use opengl && dosym /usr/lib/libGL.so "${dir}"/libGL.so
- doexe ${FILESDIR}/{q3demo,q3demo-ded}
- dodir ${GAMES_BINDIR}
- dosym ${dir}/q3demo ${GAMES_BINDIR}/q3demo
- dosym ${dir}/q3demo-ded ${GAMES_BINDIR}/q3demo-ded
- dosed "s:GENTOO_DIR:${dir}:" ${dir}/q3demo
- dosed "s:GENTOO_DIR:${dir}:" ${dir}/q3demo-ded
+ doexe "${FILESDIR}"/{q3demo,q3demo-ded}
+ dodir "${GAMES_BINDIR}"
+ dosym "${dir}"/q3demo "${GAMES_BINDIR}"/q3demo
+ dosym "${dir}"/q3demo-ded "${GAMES_BINDIR}"/q3demo-ded
+ dosed "s:GENTOO_DIR:${dir}:" "${dir}"/q3demo
+ dosed "s:GENTOO_DIR:${dir}:" "${dir}"/q3demo-ded
- insinto ${dir}
+ insinto "${dir}"
doins README icon.*
make_desktop_entry q3demo "Quake III (Demo)"