summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-action/chromium/ChangeLog6
-rw-r--r--games-action/chromium/chromium-0.9.12-r5.ebuild34
-rw-r--r--games-puzzle/gemhun/ChangeLog7
-rw-r--r--games-puzzle/gemhun/gemhun-20031016.ebuild23
4 files changed, 45 insertions, 25 deletions
diff --git a/games-action/chromium/ChangeLog b/games-action/chromium/ChangeLog
index ee9a6aa2c84b..7ded15acddae 100644
--- a/games-action/chromium/ChangeLog
+++ b/games-action/chromium/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/chromium
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/ChangeLog,v 1.7 2004/03/28 09:32:41 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/ChangeLog,v 1.8 2004/03/31 19:08:16 mr_bones_ Exp $
+
+ 31 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ chromium-0.9.12-r5.ebuild:
+ flag-o-matic; error check sed; tidy
28 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org>
chromium-0.9.12-r5.ebuild:
diff --git a/games-action/chromium/chromium-0.9.12-r5.ebuild b/games-action/chromium/chromium-0.9.12-r5.ebuild
index 49be18a73633..1c19d26e6a73 100644
--- a/games-action/chromium/chromium-0.9.12-r5.ebuild
+++ b/games-action/chromium/chromium-0.9.12-r5.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-action/chromium/chromium-0.9.12-r5.ebuild,v 1.4 2004/03/28 09:32:41 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/chromium-0.9.12-r5.ebuild,v 1.5 2004/03/31 19:08:16 mr_bones_ Exp $
-inherit eutils games
+inherit flag-o-matic eutils games
DESCRIPTION="Chromium B.S.U. - an arcade game"
HOMEPAGE="http://www.reptilelabour.com/software/chromium/"
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="x86 ppc amd64"
IUSE="qt sdl oggvorbis"
-DEPEND="virtual/glibc
+RDEPEND="virtual/glibc
|| (
sdl? ( media-libs/libsdl
media-libs/smpeg )
@@ -24,8 +24,10 @@ DEPEND="virtual/glibc
qt? ( x11-libs/qt )
media-libs/openal
virtual/x11"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
-S=${WORKDIR}/Chromium-0.9
+S="${WORKDIR}/Chromium-0.9"
src_unpack() {
unpack ${A}
@@ -35,13 +37,19 @@ src_unpack() {
has_version '=x11-libs/qt-3*' && epatch ${FILESDIR}/${PV}-qt3.patch
append-flags -DPKGDATADIR="'\"${GAMES_DATADIR}/${PN}\"'"
append-flags -DPKGBINDIR="'\"${GAMES_BINDIR}\"'"
- sed -i "s:-O2 -DOLD_OPENAL:${CFLAGS}:" src/Makefile
- sed -i "s:-g:${CFLAGS}:" src-setup/Makefile
- sed -i "s:-O2:${CFLAGS}:" support/glpng/src/Makefile
+ sed -i \
+ -e "s:-O2 -DOLD_OPENAL:${CFLAGS}:" src/Makefile \
+ || die "sed src/Makefile failed"
+ sed -i \
+ -e "s:-g:${CFLAGS}:" src-setup/Makefile \
+ || die "sed src-setup/Makefile failed"
+ sed -i \
+ -e "s:-O2:${CFLAGS}:" support/glpng/src/Makefile \
+ || die "sed support/glpng/src/Makefile failed"
}
src_compile() {
- if [ `use sdl` ] ; then
+ if use sdl ; then
export ENABLE_SDL="yes"
export ENABLE_SMPEG="yes"
else
@@ -64,13 +72,13 @@ src_compile() {
}
src_install() {
- exeinto ${GAMES_BINDIR}
- doexe bin/chromium*
+ exeinto "${GAMES_BINDIR}"
+ doexe bin/chromium* || die "doexe failed"
- dodir ${GAMES_DATADIR}/${PN}
- cp -r data ${D}/${GAMES_DATADIR}/${PN}/
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -r data "${D}/${GAMES_DATADIR}/${PN}/" || die "cp failed"
- find ${D} -name CVS -exec rm -rf '{}' \; >& /dev/null
+ find "${D}" -name CVS -exec rm -rf '{}' \; >& /dev/null
prepgamesdirs
}
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/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
}