summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-03-06 05:49:07 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-03-06 05:49:07 +0000
commit84e1a87827b8487bff788bd7a334129c31d26ae4 (patch)
tree12f548b2572e4da016d9e8d6b39a9c978269cc8f
parentdigest fix (diff)
downloadgentoo-2-84e1a87827b8487bff788bd7a334129c31d26ae4.tar.gz
gentoo-2-84e1a87827b8487bff788bd7a334129c31d26ae4.tar.bz2
gentoo-2-84e1a87827b8487bff788bd7a334129c31d26ae4.zip
version bump; clean old version
(Portage version: 2.0.51.19)
-rw-r--r--games-roguelike/fargoal/ChangeLog10
-rw-r--r--games-roguelike/fargoal/Manifest4
-rw-r--r--games-roguelike/fargoal/fargoal-20040629.ebuild (renamed from games-roguelike/fargoal/fargoal-20030731b.ebuild)28
-rw-r--r--games-roguelike/fargoal/files/digest-fargoal-20030731b1
-rw-r--r--games-roguelike/fargoal/files/digest-fargoal-200406291
5 files changed, 27 insertions, 17 deletions
diff --git a/games-roguelike/fargoal/ChangeLog b/games-roguelike/fargoal/ChangeLog
index 3f9c436599a2..23fbe6e24c93 100644
--- a/games-roguelike/fargoal/ChangeLog
+++ b/games-roguelike/fargoal/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-roguelike/fargoal
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/ChangeLog,v 1.4 2004/12/16 15:09:19 josejx Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/ChangeLog,v 1.5 2005/03/06 05:49:07 mr_bones_ Exp $
+
+*fargoal-20040629 (06 Mar 2005)
+
+ 06 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ -fargoal-20030731b.ebuild, +fargoal-20040629.ebuild:
+ version bump; clean old version
17 Dec 2004; Joseph Jezak <josejx@gentoo.org> fargoal-20030731b.ebuild:
Marked ppc stable.
diff --git a/games-roguelike/fargoal/Manifest b/games-roguelike/fargoal/Manifest
index d7ae68d26989..3b99dcbb3600 100644
--- a/games-roguelike/fargoal/Manifest
+++ b/games-roguelike/fargoal/Manifest
@@ -1,5 +1,7 @@
-MD5 1851f841bfe64f175b8908a338d0e45e ChangeLog 656
MD5 e798f47ea1fe651b28082cf1f5cc477b fargoal-20030731b.ebuild 1345
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 1851f841bfe64f175b8908a338d0e45e ChangeLog 656
+MD5 5c418043bf71022469d431c6ce7113bf fargoal-20040629.ebuild 1346
MD5 336cedc9e4543c149a20bbf8a0446ea7 files/digest-fargoal-20030731b 65
+MD5 de121fedce828206c2ceca8bdbc52405 files/digest-fargoal-20040629 64
MD5 bbb65152078901fe1ae1775f6956da7b files/gentoo-home-write.patch 5709
diff --git a/games-roguelike/fargoal/fargoal-20030731b.ebuild b/games-roguelike/fargoal/fargoal-20040629.ebuild
index f4fbd0652397..503a3d083e1e 100644
--- a/games-roguelike/fargoal/fargoal-20030731b.ebuild
+++ b/games-roguelike/fargoal/fargoal-20040629.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 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.6 2004/12/16 15:09:19 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/fargoal-20040629.ebuild,v 1.1 2005/03/06 05:49:07 mr_bones_ Exp $
inherit eutils games
@@ -8,35 +8,36 @@ 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"
-LICENSE="GPL-2"
+LICENSE="as-is"
SLOT="0"
KEYWORDS="ppc x86"
IUSE=""
RDEPEND="media-libs/allegro"
DEPEND="${RDEPEND}
- app-arch/unzip
- >=sys-apps/sed-4"
+ app-arch/unzip"
-S="${WORKDIR}/${PN}"
+S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
- cd ${S}/src
+ 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 failed"
sed -i \
- -e "s:sfx/:/${GAMES_DATADIR}/${PN}/sfx/:g" \
- -e "s:gfx/:/${GAMES_DATADIR}/${PN}/gfx/:g" \
+ -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"
+ sed -i \
+ -e "s:agreement.txt:${GAMES_DATADIR}/${PN}/&:" main.c \
+ || die "sed failed"
}
src_compile() {
- cd src
- emake || die "emake failed"
+ emake -C src || die "emake failed"
}
src_install() {
@@ -44,7 +45,8 @@ src_install() {
# other packages.
newgamesbin sword fargoal || die "newgamesbin failed"
dodir "${GAMES_DATADIR}/${PN}"
- cp -r {data,gfx,sfx} ${D}/${GAMES_DATADIR}/${PN} || die "cp failed"
+ cp -r agreement.txt {data,gfx,sfx} "${D}/${GAMES_DATADIR}/${PN}" \
+ || die "cp failed"
dohtml readme.html
prepgamesdirs
}
diff --git a/games-roguelike/fargoal/files/digest-fargoal-20030731b b/games-roguelike/fargoal/files/digest-fargoal-20030731b
deleted file mode 100644
index 7c76070dab09..000000000000
--- a/games-roguelike/fargoal/files/digest-fargoal-20030731b
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9b24008b30b2c4b075998bd082de9459 fargoal20030731b.zip 764328
diff --git a/games-roguelike/fargoal/files/digest-fargoal-20040629 b/games-roguelike/fargoal/files/digest-fargoal-20040629
new file mode 100644
index 000000000000..b6fc7a56bd94
--- /dev/null
+++ b/games-roguelike/fargoal/files/digest-fargoal-20040629
@@ -0,0 +1 @@
+MD5 a72efd5f9b83d7932497721d08306ce6 fargoal20040629.zip 792975