diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-09-15 20:02:50 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-09-15 20:02:50 +0000 |
commit | 12272a56cf1908e1625f1495675d1995a964e2de (patch) | |
tree | c972e6a755ac2ddc7c6b9f3123baa8dc22a8250b /games-emulation | |
parent | Marked ppc-macos stable (bug #147456) (diff) | |
download | gentoo-2-12272a56cf1908e1625f1495675d1995a964e2de.tar.gz gentoo-2-12272a56cf1908e1625f1495675d1995a964e2de.tar.bz2 gentoo-2-12272a56cf1908e1625f1495675d1995a964e2de.zip |
Change hard-coded /opt to GAMES_PREFIX_OPT.
(Portage version: 2.1.1)
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/epsxe/ChangeLog | 6 | ||||
-rw-r--r-- | games-emulation/epsxe/epsxe-1.5.2-r1.ebuild | 17 | ||||
-rw-r--r-- | games-emulation/epsxe/epsxe-1.6.0-r3.ebuild | 14 | ||||
-rw-r--r-- | games-emulation/epsxe/files/epsxe | 4 |
4 files changed, 27 insertions, 14 deletions
diff --git a/games-emulation/epsxe/ChangeLog b/games-emulation/epsxe/ChangeLog index 858be601ff4d..66016c7d6f5e 100644 --- a/games-emulation/epsxe/ChangeLog +++ b/games-emulation/epsxe/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/epsxe # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/epsxe/ChangeLog,v 1.6 2006/03/31 20:29:58 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/epsxe/ChangeLog,v 1.7 2006/09/15 20:02:50 wolf31o2 Exp $ + + 15 Sep 2006; Chris Gianelloni <wolf31o2@gentoo.org> files/epsxe, + epsxe-1.5.2-r1.ebuild, epsxe-1.6.0-r3.ebuild: + Change hard-coded /opt to GAMES_PREFIX_OPT. 31 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> epsxe-1.5.2-r1.ebuild, epsxe-1.6.0-r3.ebuild: diff --git a/games-emulation/epsxe/epsxe-1.5.2-r1.ebuild b/games-emulation/epsxe/epsxe-1.5.2-r1.ebuild index 838f1b9ef8cb..a5e513af5ba6 100644 --- a/games-emulation/epsxe/epsxe-1.5.2-r1.ebuild +++ b/games-emulation/epsxe/epsxe-1.5.2-r1.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-emulation/epsxe/epsxe-1.5.2-r1.ebuild,v 1.6 2006/03/31 20:29:58 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/epsxe/epsxe-1.5.2-r1.ebuild,v 1.7 2006/09/15 20:02:50 wolf31o2 Exp $ inherit games @@ -29,16 +29,19 @@ RDEPEND=">=dev-libs/glib-1.2 S=${WORKDIR} src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} dogamesbin ${FILESDIR}/epsxe - exeinto ${GAMES_PREFIX_OPT}/${PN} + dosed \ + -e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" \ + -e "s:GAMES_LIBDIR:${GAMES_LIBDIR}:" \ + ${GAMES_BINDIR}/epsxe || die "sed" + exeinto "${dir}" + insinto "${dir}" doexe epsxe - insinto ${GAMES_PREFIX_OPT}/${PN} doins keycodes.lst - - insinto ${GAMES_LIBDIR}/psemu/cheats + insinto "${GAMES_LIBDIR}"/psemu/cheats doins cheats/* - dodoc docs/* - + games_make_wrapper epsxe ./epsxe "${dir}" "${dir}" prepgamesdirs } diff --git a/games-emulation/epsxe/epsxe-1.6.0-r3.ebuild b/games-emulation/epsxe/epsxe-1.6.0-r3.ebuild index 013d685b9844..2c2d49358bd7 100644 --- a/games-emulation/epsxe/epsxe-1.6.0-r3.ebuild +++ b/games-emulation/epsxe/epsxe-1.6.0-r3.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-emulation/epsxe/epsxe-1.6.0-r3.ebuild,v 1.6 2006/03/31 20:29:58 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/epsxe/epsxe-1.6.0-r3.ebuild,v 1.7 2006/09/15 20:02:50 wolf31o2 Exp $ inherit games @@ -29,13 +29,19 @@ RDEPEND=">=dev-libs/glib-1.2 S="${WORKDIR}" src_install() { - dogamesbin "${FILESDIR}/epsxe" || die "dogamesbin failed" - exeinto "${GAMES_PREFIX_OPT}/${PN}" + local dir=${GAMES_PREFIX_OPT}/${PN} + dogamesbin ${FILESDIR}/epsxe + dosed \ + -e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" \ + -e "s:GAMES_LIBDIR:${GAMES_LIBDIR}:" \ + ${GAMES_BINDIR}/epsxe || die "sed" + exeinto "${dir}" + insinto "${dir}" doexe epsxe || die "doexe failed" - insinto "${GAMES_PREFIX_OPT}/${PN}" doins keycodes.lst || die "doins failed" insinto "${GAMES_LIBDIR}/psemu/cheats" doins cheats/* || die "doins failed" dodoc docs/* + games_make_wrapper epsxe ./epsxe "${dir}" "${dir}" prepgamesdirs } diff --git a/games-emulation/epsxe/files/epsxe b/games-emulation/epsxe/files/epsxe index d1914d82f5f1..ce3b446197c0 100644 --- a/games-emulation/epsxe/files/epsxe +++ b/games-emulation/epsxe/files/epsxe @@ -1,7 +1,7 @@ #!/bin/sh -PSEMUDIR=/usr/games/lib/psemu -EPSXEDIR=/opt/epsxe +PSEMUDIR=GAMES_LIBDIR/psemu +EPSXEDIR=GAMES_PREFIX_OPT/epsxe mkdir -p ~/.epsxe cd ~/.epsxe |