summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-02-04 22:54:33 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-02-04 22:54:33 +0000
commit738b21359253c1209683fcb84df0e26b0c5b4355 (patch)
treef8085b01f33d309fe5bd086b157c371c94847e73 /games-emulation/fakenes
parentAdd helper script "usbmodules" like "pcimodules". (diff)
downloadgentoo-2-738b21359253c1209683fcb84df0e26b0c5b4355.tar.gz
gentoo-2-738b21359253c1209683fcb84df0e26b0c5b4355.tar.bz2
gentoo-2-738b21359253c1209683fcb84df0e26b0c5b4355.zip
old
(Portage version: 2.1.3.19)
Diffstat (limited to 'games-emulation/fakenes')
-rw-r--r--games-emulation/fakenes/fakenes-0.1.5.ebuild39
-rw-r--r--games-emulation/fakenes/files/0.1.5-datadir.patch15
2 files changed, 0 insertions, 54 deletions
diff --git a/games-emulation/fakenes/fakenes-0.1.5.ebuild b/games-emulation/fakenes/fakenes-0.1.5.ebuild
deleted file mode 100644
index 1b1adc428e1c..000000000000
--- a/games-emulation/fakenes/fakenes-0.1.5.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/fakenes-0.1.5.ebuild,v 1.5 2004/09/23 08:52:09 mr_bones_ Exp $
-
-inherit eutils games
-
-DESCRIPTION="portable, Open Source NES emulator which is written mostly in C"
-HOMEPAGE="http://fakenes.sourceforge.net/"
-SRC_URI="mirror://sourceforge/fakenes/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND="media-libs/allegro
- sys-libs/zlib"
-
-src_unpack() {
- unpack ${A}
- cd "${S}/src"
- epatch "${FILESDIR}/${PV}-datadir.patch"
- sed -i \
- -e "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" main.c \
- || die "sed main.c failed"
-}
-
-src_compile() {
- egamesconf || die
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- dogamesbin src/fakenes || die "dogamesbin failed"
- insinto "${GAMES_DATADIR}/${PN}"
- doins src/support/fakenes.{dat,ico,rc}
- dodoc CHANGES README SOURCE SUPPORT
- prepgamesdirs
-}
diff --git a/games-emulation/fakenes/files/0.1.5-datadir.patch b/games-emulation/fakenes/files/0.1.5-datadir.patch
deleted file mode 100644
index f2c0606d2dd5..000000000000
--- a/games-emulation/fakenes/files/0.1.5-datadir.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- main.c.orig 2003-07-13 01:53:13.000000000 -0400
-+++ main.c 2003-07-13 01:54:28.000000000 -0400
-@@ -442,10 +442,10 @@
-
- if (! data)
- {
-- fprintf (stderr, "Datafile not found in configuration path, trying cwd.\n");
-+ fprintf (stderr, "Datafile not found in configuration path, trying GENTOO_DIR.\n");
-
-
-- datfile = "fakenes.dat";
-+ datfile = "GENTOO_DIR/fakenes.dat";
-
- data = load_datafile (datfile);
- }