summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-07 20:26:55 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-07 20:26:55 +0000
commit827327d7b87b22036343a0c33540ec31ab3ea878 (patch)
tree7c0ed961af130a6efb85f035ee47327769316061 /games-emulation
parentAdded to ~ppc (diff)
downloadhistorical-827327d7b87b22036343a0c33540ec31ab3ea878.tar.gz
historical-827327d7b87b22036343a0c33540ec31ab3ea878.tar.bz2
historical-827327d7b87b22036343a0c33540ec31ab3ea878.zip
depend on sed >= 4; more error checking/messages
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/fakenes/ChangeLog7
-rw-r--r--games-emulation/fakenes/Manifest5
-rw-r--r--games-emulation/fakenes/fakenes-0.3.0.ebuild30
3 files changed, 28 insertions, 14 deletions
diff --git a/games-emulation/fakenes/ChangeLog b/games-emulation/fakenes/ChangeLog
index cc23d20efc06..846d5f193b6d 100644
--- a/games-emulation/fakenes/ChangeLog
+++ b/games-emulation/fakenes/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-emulation/fakenes
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/ChangeLog,v 1.3 2003/09/26 02:40:14 vapier Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/ChangeLog,v 1.4 2004/03/07 20:26:54 mr_bones_ Exp $
+
+ 07 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> fakenes-0.3.0.ebuild:
+ depend on sed >= 4; more error checking/messages
*fakenes-0.3.0 (25 Sep 2003)
diff --git a/games-emulation/fakenes/Manifest b/games-emulation/fakenes/Manifest
index 3aa4970b2a3b..e00f6b00bacc 100644
--- a/games-emulation/fakenes/Manifest
+++ b/games-emulation/fakenes/Manifest
@@ -1,6 +1,7 @@
-MD5 108aef0d579e56113aec22b0404e94c8 ChangeLog 492
+MD5 932dffdcaf6016397c94cd67a543f1ab ChangeLog 624
MD5 65f6f435d8f83e57dca8d81f13f524b7 fakenes-0.1.5.ebuild 875
-MD5 38ee6f285b38a502da7040b62bff8326 fakenes-0.3.0.ebuild 1103
+MD5 a7f9e2ab3a1791efd3a43012987a9ee0 fakenes-0.3.0.ebuild 1298
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 55bbaf2c59dbeac27e9979c3c7412e23 files/0.1.5-datadir.patch 523
MD5 bd2e42661a0936038ed8bc6e24e20b42 files/0.3.0-allegro.patch 2484
MD5 061dfec5022863f5828ae0ab94ea623a files/digest-fakenes-0.1.5 65
diff --git a/games-emulation/fakenes/fakenes-0.3.0.ebuild b/games-emulation/fakenes/fakenes-0.3.0.ebuild
index f31de8e7f254..2f8031e7ca1d 100644
--- a/games-emulation/fakenes/fakenes-0.3.0.ebuild
+++ b/games-emulation/fakenes/fakenes-0.3.0.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-emulation/fakenes/fakenes-0.3.0.ebuild,v 1.3 2004/02/20 06:26:47 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/fakenes-0.3.0.ebuild,v 1.4 2004/03/07 20:26:55 mr_bones_ Exp $
-inherit games eutils
+inherit eutils games
DESCRIPTION="portable, Open Source NES emulator which is written mostly in C"
HOMEPAGE="http://fakenes.sourceforge.net/"
@@ -13,9 +13,11 @@ SLOT="0"
KEYWORDS="~x86"
IUSE="zlib fbcon svga"
-DEPEND=">=media-libs/allegro-4.1
+RDEPEND=">=media-libs/allegro-4.1
zlib? ( sys-libs/zlib )
- dev-games/hawknl
+ dev-games/hawknl"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
x86? ( dev-lang/nasm )"
src_unpack() {
@@ -23,19 +25,27 @@ src_unpack() {
cd ${S}
chmod a+x configure
epatch ${FILESDIR}/${PV}-allegro.patch
- [ ! `use fbcon` ] && sed -i '/sedfbme/s:.*::' src/gui.c src/include/gui/menus.h
- [ ! `use svga` ] && sed -i '/sedsvgalibme/s:.*::' src/gui.c src/include/gui/menus.h
+ if ! use fbcon ; then
+ sed -i \
+ -e '/sedfbme/s:.*::' src/gui.c src/include/gui/menus.h \
+ || die "sed fb failed"
+ fi
+ if ! use svga ; then
+ sed -i \
+ -e '/sedsvgalibme/s:.*::' src/gui.c src/include/gui/menus.h \
+ || die "sed svga failed"
+ fi
}
src_compile() {
egamesconf `use_with zlib` || die
- emake || die
+ emake || die "emake failed"
}
src_install() {
- dogamesbin src/fakenes
- insinto ${GAMES_DATADIR}/${PN}
- doins src/support/fakenes.{dat,ico,rc}
+ dogamesbin src/fakenes || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins src/support/fakenes.{dat,ico,rc} || die "doins failed"
dodoc CHANGES README SOURCE SUPPORT
prepgamesdirs
}