summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-09-15 19:25:36 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-09-15 19:25:36 +0000
commit2eda64f8de48dd4235a8ba7927c6fac00f446e73 (patch)
tree37535b7a977c7194f2d26a52820059cfd768074b /games-action
parentInitial import, ebuild by Ben de Groot, submitted in bug #146738. (diff)
downloadgentoo-2-2eda64f8de48dd4235a8ba7927c6fac00f446e73.tar.gz
gentoo-2-2eda64f8de48dd4235a8ba7927c6fac00f446e73.tar.bz2
gentoo-2-2eda64f8de48dd4235a8ba7927c6fac00f446e73.zip
Change hard-coded /opt to GAMES_PREFIX_OPT.
(Portage version: 2.1.1)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/phobiaiii/ChangeLog6
-rw-r--r--games-action/phobiaiii/files/phobiaIII2
-rw-r--r--games-action/phobiaiii/phobiaiii-1.0-r2.ebuild4
3 files changed, 9 insertions, 3 deletions
diff --git a/games-action/phobiaiii/ChangeLog b/games-action/phobiaiii/ChangeLog
index 7d5e79746dbf..9a05451291d1 100644
--- a/games-action/phobiaiii/ChangeLog
+++ b/games-action/phobiaiii/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/phobiaiii
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaiii/ChangeLog,v 1.6 2006/01/28 21:19:10 joshuabaergen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaiii/ChangeLog,v 1.7 2006/09/15 19:25:35 wolf31o2 Exp $
+
+ 15 Sep 2006; Chris Gianelloni <wolf31o2@gentoo.org> files/phobiaIII,
+ phobiaiii-1.0-r2.ebuild:
+ Change hard-coded /opt to GAMES_PREFIX_OPT.
28 Jan 2006; Joshua Baergen <joshuabaergen@gentoo.org>
phobiaiii-1.0-r1.ebuild, phobiaiii-1.0-r2.ebuild:
diff --git a/games-action/phobiaiii/files/phobiaIII b/games-action/phobiaiii/files/phobiaIII
index 41db16bd98a1..342906a4a034 100644
--- a/games-action/phobiaiii/files/phobiaIII
+++ b/games-action/phobiaiii/files/phobiaIII
@@ -1,5 +1,5 @@
#!/bin/sh
-cd /opt/phobiaiii
+cd GAMES_PREFIX_OPT/phobiaiii
export LD_PRELOAD=libsmpeg-0.4.so.0.dummy
umask 0017
exec ./phobia3 "$@"
diff --git a/games-action/phobiaiii/phobiaiii-1.0-r2.ebuild b/games-action/phobiaiii/phobiaiii-1.0-r2.ebuild
index dd45dda1823e..79b94c479916 100644
--- a/games-action/phobiaiii/phobiaiii-1.0-r2.ebuild
+++ b/games-action/phobiaiii/phobiaiii-1.0-r2.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-action/phobiaiii/phobiaiii-1.0-r2.ebuild,v 1.4 2006/06/23 05:17:17 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaiii/phobiaiii-1.0-r2.ebuild,v 1.5 2006/09/15 19:25:35 wolf31o2 Exp $
inherit games
@@ -35,6 +35,8 @@ src_unpack() {
src_install() {
dogamesbin "${FILESDIR}/phobiaIII" || die "dogamesbin failed"
+ dosed ":GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" \
+ ${GAMES_BINDIR}/phobiaIII || die "sed"
if has_version '<sys-libs/glibc-2.3.2' ; then
dosed '/LD_PRELOAD/s:.*::' "${GAMES_BINDIR}/phobiaIII"
fi