diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-10-21 18:17:16 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-10-21 18:17:16 +0000 |
commit | b501b8cf4a7679c48237dc60767f198473794a5e (patch) | |
tree | 75df2be2a202cbea23c1431cf78414af413de6a1 /games-strategy/dominions2 | |
parent | Version bump. (diff) | |
download | gentoo-2-b501b8cf4a7679c48237dc60767f198473794a5e.tar.gz gentoo-2-b501b8cf4a7679c48237dc60767f198473794a5e.tar.bz2 gentoo-2-b501b8cf4a7679c48237dc60767f198473794a5e.zip |
Added addition dir variable to games_make_wrapper for bug #109793.
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'games-strategy/dominions2')
-rw-r--r-- | games-strategy/dominions2/ChangeLog | 6 | ||||
-rw-r--r-- | games-strategy/dominions2/dominions2-2.16.ebuild | 13 |
2 files changed, 12 insertions, 7 deletions
diff --git a/games-strategy/dominions2/ChangeLog b/games-strategy/dominions2/ChangeLog index 78e01c2eb636..ccb701490ba6 100644 --- a/games-strategy/dominions2/ChangeLog +++ b/games-strategy/dominions2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/dominions2 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2/ChangeLog,v 1.1 2005/10/05 15:58:31 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2/ChangeLog,v 1.2 2005/10/21 18:12:26 wolf31o2 Exp $ + + 21 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org> + dominions2-2.16.ebuild: + Added addition dir variable to games_make_wrapper for bug #109793. *dominions2-2.16 (05 Oct 2005) diff --git a/games-strategy/dominions2/dominions2-2.16.ebuild b/games-strategy/dominions2/dominions2-2.16.ebuild index 7dbcfa41e57e..788a82705b3a 100644 --- a/games-strategy/dominions2/dominions2-2.16.ebuild +++ b/games-strategy/dominions2/dominions2-2.16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2/dominions2-2.16.ebuild,v 1.2 2005/10/05 23:34:51 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2/dominions2-2.16.ebuild,v 1.3 2005/10/21 18:12:26 wolf31o2 Exp $ inherit eutils games @@ -31,6 +31,9 @@ DEPEND="virtual/x11 amd64? ( app-emulation/emul-linux-x86-xlibs app-emulation/emul-linux-x86-sdl )" +dir="${GAMES_PREFIX_OPT}/${PN}" +Ddir="${D}/${dir}" + src_unpack() { mkdir -p ${S}/patch cd ${S}/patch @@ -47,9 +50,7 @@ src_install() { cdrom_get_cds dom2icon.ico einfo "Copying files to harddisk... this may take a while..." - DOM2DIR="${GAMES_PREFIX_OPT}/${PN}" - dodir ${DOM2DIR} - exeinto ${DOM2DIR} + exeinto "${dir}" if use amd64 || use x86 then doexe ${CDROM_ROOT}/bin_lin/x86/dom2* || die "doexe failed" @@ -57,7 +58,7 @@ src_install() { then doexe ${CDROM_ROOT}/bin_lin/ppc/dom2* || die "doexe failed" fi - insinto ${DOM2DIR} + insinto "${dir}" doins -r ${CDROM_ROOT}/dominions2.app/Contents/Resources/* || \ die "doins failed" dodoc ${CDROM_ROOT}/doc/* || die "dodoc failed" @@ -85,7 +86,7 @@ src_install() { # update times find ${D} -exec touch '{}' \; - games_make_wrapper dominions2 ./dom2 ${DOM2DIR} + games_make_wrapper dominions2 ./dom2 "${dir}" "${dir}" make_desktop_entry dominions2 "Dominions II" dominions2.png prepgamesdirs |