summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/scourge')
-rw-r--r--games-roguelike/scourge/ChangeLog8
-rw-r--r--games-roguelike/scourge/Manifest5
-rw-r--r--games-roguelike/scourge/files/0.10.1-datadir.patch14
-rw-r--r--games-roguelike/scourge/files/digest-scourge-0.10.11
-rw-r--r--games-roguelike/scourge/scourge-0.10.1.ebuild47
5 files changed, 73 insertions, 2 deletions
diff --git a/games-roguelike/scourge/ChangeLog b/games-roguelike/scourge/ChangeLog
index ae826eef0570..71f5da0b3083 100644
--- a/games-roguelike/scourge/ChangeLog
+++ b/games-roguelike/scourge/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-roguelike/scourge
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.11 2005/06/23 00:20:40 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.12 2005/07/31 05:32:11 mr_bones_ Exp $
+
+*scourge-0.10.1 (31 Jul 2005)
+
+ 31 Jul 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/0.10.1-datadir.patch, +scourge-0.10.1.ebuild:
+ version bump; fix bug #100192
23 Jun 2005; Michael Sterrett <mr_bones_@gentoo.org>
+files/0.10-64bit.patch, scourge-0.10.ebuild:
diff --git a/games-roguelike/scourge/Manifest b/games-roguelike/scourge/Manifest
index e0e0070b5a44..2724599cea38 100644
--- a/games-roguelike/scourge/Manifest
+++ b/games-roguelike/scourge/Manifest
@@ -1,7 +1,10 @@
+MD5 6f1f46e650cd166271dea04cec452ba5 scourge-0.10.1.ebuild 1136
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 bb8df34b83d383b8518105f7c4a61c6e scourge-0.8.ebuild 1080
MD5 30fec213c9d17ca7403d056a645fb839 scourge-0.10.ebuild 1146
-MD5 acbf8317bc6c68f5fb6db32797093d33 ChangeLog 1557
+MD5 fdea341469b914fecc3759b36a9b363a ChangeLog 1731
MD5 8ebf558d28b85d80fa8db38e352c43cd files/digest-scourge-0.8 65
+MD5 245638b62aa670cfa3179f6d7f5a25b8 files/0.10.1-datadir.patch 379
MD5 091afeea4537d6a5289a9c5eaaca7e06 files/digest-scourge-0.10 66
MD5 b9ea9a14d6b3f2fd02608b9959d6ae4c files/0.10-64bit.patch 514
+MD5 0fa66f24e38be0ab929d63e8d85ebc9e files/digest-scourge-0.10.1 68
diff --git a/games-roguelike/scourge/files/0.10.1-datadir.patch b/games-roguelike/scourge/files/0.10.1-datadir.patch
new file mode 100644
index 000000000000..ca300011bcff
--- /dev/null
+++ b/games-roguelike/scourge/files/0.10.1-datadir.patch
@@ -0,0 +1,14 @@
+--- src/main.cpp.orig 2005-06-09 01:13:49.000000000 -0400
++++ src/main.cpp 2005-07-30 22:44:03.000000000 -0400
+@@ -82,7 +82,11 @@
+ rootDir = (char*)malloc( 300 * sizeof( char ) );
+ strcpy( rootDir, "data" );
+ #else
++#ifdef ENABLE_BINRELOC
+ rootDir = (char*)BR_DATADIR( "/data" );
++#else
++ rootDir = DATA_DIR;
++#endif
+ #endif
+ cerr << "rootDir=" << rootDir << endl;
+
diff --git a/games-roguelike/scourge/files/digest-scourge-0.10.1 b/games-roguelike/scourge/files/digest-scourge-0.10.1
new file mode 100644
index 000000000000..899458e3bdec
--- /dev/null
+++ b/games-roguelike/scourge/files/digest-scourge-0.10.1
@@ -0,0 +1 @@
+MD5 d19ef1ce0d8cfc852c3561c3375d0504 scourge-0.10.1.tar.gz 23268675
diff --git a/games-roguelike/scourge/scourge-0.10.1.ebuild b/games-roguelike/scourge/scourge-0.10.1.ebuild
new file mode 100644
index 000000000000..8301f036b5c0
--- /dev/null
+++ b/games-roguelike/scourge/scourge-0.10.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/scourge-0.10.1.ebuild,v 1.1 2005/07/31 05:32:11 mr_bones_ Exp $
+
+inherit flag-o-matic eutils games
+
+DESCRIPTION="A rogue-like adventure game to eliminate pests"
+HOMEPAGE="http://scourge.sf.net"
+SRC_URI="mirror://sourceforge/scourge/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="virtual/x11
+ virtual/glu
+ virtual/opengl
+ >=media-libs/freetype-2
+ >=media-libs/libsdl-1.2
+ media-libs/sdl-net
+ media-libs/sdl-mixer"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ find "${S}/data" -type f -exec chmod a-x \{\} \;
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-datadir.patch"
+}
+
+src_compile() {
+ egamesconf \
+ --disable-binreloc \
+ --with-data-dir="${GAMES_DATADIR}/${PN}/data" \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ dogamesbin src/scourge || die "dogamesbin failed"
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -r data/ "${D}${GAMES_DATADIR}/${PN}" || die "cp failed"
+ dodoc AUTHORS README || die "dodoc failed"
+ prepgamesdirs
+}