summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-08-20 21:35:07 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-08-20 21:35:07 +0000
commitd60e88814758b11b588fe625035ff61ebe81a17c (patch)
tree4575ed192375963c5b26ff1ba17db4e9a35bbb23 /games-roguelike
parentMarked stable x86 (diff)
downloadhistorical-d60e88814758b11b588fe625035ff61ebe81a17c.tar.gz
historical-d60e88814758b11b588fe625035ff61ebe81a17c.tar.bz2
historical-d60e88814758b11b588fe625035ff61ebe81a17c.zip
tidy
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/fargoal/Manifest6
-rw-r--r--games-roguelike/fargoal/fargoal-20030731b.ebuild20
2 files changed, 13 insertions, 13 deletions
diff --git a/games-roguelike/fargoal/Manifest b/games-roguelike/fargoal/Manifest
index 40b561e2036a..c92553f642c2 100644
--- a/games-roguelike/fargoal/Manifest
+++ b/games-roguelike/fargoal/Manifest
@@ -1,5 +1,5 @@
-MD5 3e667a244b2a96518d07fd5595263b81 fargoal-20030731b.ebuild 1399
-MD5 37779fc775540555fe79652e755d84ff ChangeLog 562
+MD5 b3a1b8436cd273d9531300a81fbc8194 fargoal-20030731b.ebuild 1333
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 bbb65152078901fe1ae1775f6956da7b files/gentoo-home-write.patch 5709
+MD5 37779fc775540555fe79652e755d84ff ChangeLog 562
MD5 336cedc9e4543c149a20bbf8a0446ea7 files/digest-fargoal-20030731b 65
+MD5 bbb65152078901fe1ae1775f6956da7b files/gentoo-home-write.patch 5709
diff --git a/games-roguelike/fargoal/fargoal-20030731b.ebuild b/games-roguelike/fargoal/fargoal-20030731b.ebuild
index 4d3f93c97791..297667d2691e 100644
--- a/games-roguelike/fargoal/fargoal-20030731b.ebuild
+++ b/games-roguelike/fargoal/fargoal-20030731b.ebuild
@@ -1,35 +1,36 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/fargoal-20030731b.ebuild,v 1.3 2004/06/24 23:12:39 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/fargoal-20030731b.ebuild,v 1.4 2004/08/20 21:35:07 mr_bones_ Exp $
inherit eutils games
-S="${WORKDIR}/${PN}"
DESCRIPTION="The Sword of Fargoal - a remake of C64's old dungeon crawler game"
HOMEPAGE="http://squidfighter.sourceforge.net/fargoal/"
SRC_URI="mirror://sourceforge/squidfighter/${PN}${PV}.zip"
-KEYWORDS="x86 ~ppc"
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="x86 ~ppc"
IUSE=""
RDEPEND="media-libs/allegro"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
+S="${WORKDIR}/${PN}"
+
src_unpack() {
unpack ${A}
cd ${S}/src
epatch "${FILESDIR}/gentoo-home-write.patch"
sed -i \
-e "s/^\(C\(XX\)\?FLAGS =\).*/\1 ${CFLAGS} /g" Makefile \
- || die "sed Makefile failed"
+ || die "sed Makefile failed"
sed -i \
-e "s:sfx/:/${GAMES_DATADIR}/${PN}/sfx/:g" \
-e "s:gfx/:/${GAMES_DATADIR}/${PN}/gfx/:g" \
-e "s:data/:${GAMES_DATADIR}/${PN}/data/:g" {*,../data/sof.cfg} \
- || die "sed failed"
+ || die "sed failed"
}
src_compile() {
@@ -40,10 +41,9 @@ src_compile() {
src_install() {
# install as fargoal instead of sword since that may conflict with
# other packages.
- newgamesbin sword fargoal || die "newgamesbin failed"
- dodir "${GAMES_DATADIR}/${PN}" || die "dodir failed"
- cp -r {data,gfx,sfx} ${D}/${GAMES_DATADIR}/${PN} \
- || die "cp failed"
- dohtml readme.html || die "dohtml failed"
+ newgamesbin sword fargoal || die "newgamesbin failed"
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -r {data,gfx,sfx} ${D}/${GAMES_DATADIR}/${PN} || die "cp failed"
+ dohtml readme.html
prepgamesdirs
}