summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-12-06 19:52:03 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-12-06 19:52:03 +0000
commit99ba9b249bc58820410261c1fe00699bee5f0113 (patch)
tree7d689aac56a9d8797d45fe9ab8b135017c91299f /games-fps/ut2004
parentnuppelvideo is partially broken, but may still be of use to someone. (diff)
downloadgentoo-2-99ba9b249bc58820410261c1fe00699bee5f0113.tar.gz
gentoo-2-99ba9b249bc58820410261c1fe00699bee5f0113.tar.bz2
gentoo-2-99ba9b249bc58820410261c1fe00699bee5f0113.zip
Changed to use GAMES_PREFIX_OPT in ut2004.xml instead of a hard-coded /opt.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'games-fps/ut2004')
-rw-r--r--games-fps/ut2004/ChangeLog6
-rw-r--r--games-fps/ut2004/files/ut2004.xml4
-rw-r--r--games-fps/ut2004/ut2004-3369-r4.ebuild6
3 files changed, 11 insertions, 5 deletions
diff --git a/games-fps/ut2004/ChangeLog b/games-fps/ut2004/ChangeLog
index 6e3713093f47..c54a7a6b2965 100644
--- a/games-fps/ut2004/ChangeLog
+++ b/games-fps/ut2004/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/ut2004
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004/ChangeLog,v 1.58 2006/12/01 21:58:28 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004/ChangeLog,v 1.59 2006/12/06 19:52:03 wolf31o2 Exp $
+
+ 06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> files/ut2004.xml,
+ ut2004-3369-r4.ebuild:
+ Changed to use GAMES_PREFIX_OPT in ut2004.xml instead of a hard-coded /opt.
01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> ut2004-3369-r4.ebuild:
Added dedicated to IUSE, even though it isn't actually used, to work around
diff --git a/games-fps/ut2004/files/ut2004.xml b/games-fps/ut2004/files/ut2004.xml
index ddcf9f8b615b..f87f48c78ff4 100644
--- a/games-fps/ut2004/files/ut2004.xml
+++ b/games-fps/ut2004/files/ut2004.xml
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<product name="ut2004" desc="Unreal Tournament 2004" xmlversion="1.6" root="/opt/ut2004" update_url="http://unreal.epicgames.com/updates/ut2004/updates.txt">
- <component name="__CDKEY__" version="3186" default="yes">
+<product name="ut2004" desc="Unreal Tournament 2004" xmlversion="1.6" root="GAMES_PREFIX_OPT/ut2004" update_url="http://unreal.epicgames.com/updates/ut2004/updates.txt">
+ <component name="__CDKEY__" version="3369" default="yes">
<option name="English"></option>
<option name="__CDKEY__" tag="__CDKEY__"></option>
</component>
diff --git a/games-fps/ut2004/ut2004-3369-r4.ebuild b/games-fps/ut2004/ut2004-3369-r4.ebuild
index 6bb7b95d1ba8..bcacae4cd6cb 100644
--- a/games-fps/ut2004/ut2004-3369-r4.ebuild
+++ b/games-fps/ut2004/ut2004-3369-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004/ut2004-3369-r4.ebuild,v 1.13 2006/12/01 21:58:28 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004/ut2004-3369-r4.ebuild,v 1.14 2006/12/06 19:52:03 wolf31o2 Exp $
# To use system libraries, uncomment the following line and comment the one
# below it.
@@ -76,8 +76,10 @@ src_install() {
"${Ddir}"/System/ut2004-bin-linux-amd64
# Creating .manifest files
+ sed -e "s/GAMES_PREFIX_OPT/${GAMES_PREFIX_OPT}/" "${FILESDIR}"/${PN}.xml > \
+ ${T}/${PN}.xml
insinto "${dir}"/.manifest
- doins "${FILESDIR}"/${PN}.xml
+ doins "${T}"/${PN}.xml
# Creating .loki/installed links
mkdir -p "${D}"/root/.loki/installed