summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 19:04:33 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 19:04:33 +0000
commitcf2465dbfad1197dd01cb00ad7a962fbac9069b3 (patch)
treeebfba071e67773b4f57a71825b6e38553390de19 /games-puzzle
parentVersion bumped. Fixed hardcoded rubydir, closing bug #46237 (diff)
downloadhistorical-cf2465dbfad1197dd01cb00ad7a962fbac9069b3.tar.gz
historical-cf2465dbfad1197dd01cb00ad7a962fbac9069b3.tar.bz2
historical-cf2465dbfad1197dd01cb00ad7a962fbac9069b3.zip
flag-o-matic; error check sed; tidy
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/gemhun/ChangeLog7
-rw-r--r--games-puzzle/gemhun/Manifest6
-rw-r--r--games-puzzle/gemhun/gemhun-20031016.ebuild23
3 files changed, 22 insertions, 14 deletions
diff --git a/games-puzzle/gemhun/ChangeLog b/games-puzzle/gemhun/ChangeLog
index cb18e5d6f833..0b57abdc02ee 100644
--- a/games-puzzle/gemhun/ChangeLog
+++ b/games-puzzle/gemhun/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/gemhun
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gemhun/ChangeLog,v 1.1 2003/11/08 17:13:04 vapier Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gemhun/ChangeLog,v 1.2 2004/03/31 19:04:33 mr_bones_ Exp $
+
+ 31 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> gemhun-20031016.ebuild:
+ flag-o-matic; error check sed; tidy
*gemhun-20031016 (08 Nov 2003)
diff --git a/games-puzzle/gemhun/Manifest b/games-puzzle/gemhun/Manifest
index e1f50a5a45fa..adfcead9e693 100644
--- a/games-puzzle/gemhun/Manifest
+++ b/games-puzzle/gemhun/Manifest
@@ -1,5 +1,5 @@
-MD5 2e88b2e166248253e404246e5849c47e ChangeLog 424
-MD5 1f606d2fba44ebe78d8f205e9d7e115a gemhun-20031016.ebuild 1093
-MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
+MD5 b6c216bca0f04628f4a8a94392c40a8a ChangeLog 545
+MD5 5ca64e3d21f27c759f91e204e98919c6 gemhun-20031016.ebuild 1250
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 393571e3c21b30fd4e04becaeefb7abb files/20031016-gentoo-paths.patch 456
MD5 bd32986ba9e4072a508ed3ffb4ddc7db files/digest-gemhun-20031016 153
diff --git a/games-puzzle/gemhun/gemhun-20031016.ebuild b/games-puzzle/gemhun/gemhun-20031016.ebuild
index 74ef4a3043da..ca25fa08892c 100644
--- a/games-puzzle/gemhun/gemhun-20031016.ebuild
+++ b/games-puzzle/gemhun/gemhun-20031016.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gemhun/gemhun-20031016.ebuild,v 1.2 2004/02/03 21:30:44 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gemhun/gemhun-20031016.ebuild,v 1.3 2004/03/31 19:04:33 mr_bones_ Exp $
-inherit eutils games
+inherit eutils flag-o-matic games
S="${WORKDIR}/GemHunters"
DESCRIPTION="A puzzle game about grouping gems of a chosen amount together"
@@ -14,16 +14,20 @@ LICENSE="GPL-2"
SLOT="0"
IUSE=""
-DEPEND="dev-games/kyra
+RDEPEND="dev-games/kyra
>=media-libs/sdl-mixer-1.2.1
virtual/x11"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PV}-gentoo-paths.patch
append-flags -DGENTOO_DATADIR="'\"${GAMES_DATADIR}/${PN}/\"'"
- sed -i "s:-O3:${CFLAGS}:" src/makefile.unix
+ sed -i \
+ -e "s:-O3:${CFLAGS}:" src/makefile.unix \
+ || die "sed src/makefile.unix failed"
}
src_compile() {
@@ -32,11 +36,12 @@ src_compile() {
}
src_install() {
- dogamesbin unix/*/gemhun
- local datadir=${GAMES_DATADIR}/${PN}
- dodir ${datadir}
- cp -r data/* ${D}/${datadir}/
- find ${D}/${datadir} -name makefile -exec rm '{}' \;
+ local datadir="${GAMES_DATADIR}/${PN}"
+
+ dogamesbin unix/*/gemhun || die "dogamesbin failed"
+ dodir "${datadir}"
+ cp -r data/* "${D}/${datadir}/" || die "cp failed"
+ find "${D}/${datadir}" -name makefile -exec rm '{}' \;
dodoc changelog readme todo
prepgamesdirs
}