summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2006-10-16 18:59:19 +0000
committerTristan Heaven <tristan@gentoo.org>2006-10-16 18:59:19 +0000
commit77c7a5a858db4abbd6e6c975cc82d930a1406dc1 (patch)
treef4275f667bd4b50c478aa9dd46115ef69e903520 /games-board/ggz-sdl-games
parentRemove /etc/squid/errors symlink (#151304). (diff)
downloadhistorical-77c7a5a858db4abbd6e6c975cc82d930a1406dc1.tar.gz
historical-77c7a5a858db4abbd6e6c975cc82d930a1406dc1.tar.bz2
historical-77c7a5a858db4abbd6e6c975cc82d930a1406dc1.zip
Don't clobber ggz.modules when installing
Package-Manager: portage-2.1.2_pre3-r2
Diffstat (limited to 'games-board/ggz-sdl-games')
-rw-r--r--games-board/ggz-sdl-games/ChangeLog5
-rw-r--r--games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild15
2 files changed, 9 insertions, 11 deletions
diff --git a/games-board/ggz-sdl-games/ChangeLog b/games-board/ggz-sdl-games/ChangeLog
index 72e45c1fbea1..41883d1ddbc0 100644
--- a/games-board/ggz-sdl-games/ChangeLog
+++ b/games-board/ggz-sdl-games/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/ggz-sdl-games
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-sdl-games/ChangeLog,v 1.7 2006/10/07 00:40:12 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-sdl-games/ChangeLog,v 1.8 2006/10/16 18:56:23 nyhm Exp $
+
+ 16 Oct 2006; Tristan Heaven <nyhm@gentoo.org> ggz-sdl-games-0.0.13.ebuild:
+ Don't clobber ggz.modules when installing
07 Oct 2006; Tristan Heaven <nyhm@gentoo.org> ggz-sdl-games-0.0.13.ebuild:
Fix install paths
diff --git a/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild b/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild
index 6a7c7c66aae8..01544b83c117 100644
--- a/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild
+++ b/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.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-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild,v 1.6 2006/10/16 13:41:45 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-sdl-games/ggz-sdl-games-0.0.13.ebuild,v 1.7 2006/10/16 18:56:23 nyhm Exp $
inherit games
@@ -24,16 +24,11 @@ DEPEND="~dev-games/libggz-${PV}
virtual/opengl
x11-libs/libXcursor"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i \
- -e "s:[\]\${prefix}/share/ggz:${GAMES_DATADIR}/ggz:" \
- -e "s:[\]\${prefix}/lib/ggz:${GAMES_LIBDIR}/ggz:" \
- configure || die "sed failed"
-}
-
src_install() {
+ if [[ -f "${ROOT}/${GAMES_SYSCONFDIR}"/ggz/ggz.modules ]] ; then
+ dodir "${GAMES_SYSCONFDIR}"/ggz
+ cp {"${ROOT}","${D}"}/"${GAMES_SYSCONFDIR}"/ggz/ggz.modules
+ fi
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS QuickStart.GGZ README*
prepgamesdirs