summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-08-29 21:09:10 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-08-29 21:09:10 +0000
commit838f69575c529c304ea2ad27688e30f98dd4703c (patch)
tree0a95a5222ca36ae5bc4b489bf066dbbd60324968 /games-roguelike/angband
parentUse JAVA_PKG_IUSE to get proper DEPEND. (diff)
downloadhistorical-838f69575c529c304ea2ad27688e30f98dd4703c.tar.gz
historical-838f69575c529c304ea2ad27688e30f98dd4703c.tar.bz2
historical-838f69575c529c304ea2ad27688e30f98dd4703c.zip
Version bump to 3.0.9b. Bug #235597
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-roguelike/angband')
-rw-r--r--games-roguelike/angband/ChangeLog8
-rw-r--r--games-roguelike/angband/Manifest15
-rw-r--r--games-roguelike/angband/angband-3.0.9b.ebuild58
-rw-r--r--games-roguelike/angband/files/angband-3.0.9b-gentoo.patch81
4 files changed, 160 insertions, 2 deletions
diff --git a/games-roguelike/angband/ChangeLog b/games-roguelike/angband/ChangeLog
index 64c6e2cf9926..2ae210853d9a 100644
--- a/games-roguelike/angband/ChangeLog
+++ b/games-roguelike/angband/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-roguelike/angband
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/angband/ChangeLog,v 1.24 2008/01/14 20:31:55 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/angband/ChangeLog,v 1.25 2008/08/29 21:09:10 tupone Exp $
+
+*angband-3.0.9b (29 Aug 2008)
+
+ 29 Aug 2008; <tupone@gentoo.org> +files/angband-3.0.9b-gentoo.patch,
+ +angband-3.0.9b.ebuild:
+ Version bump to 3.0.9b. Bug #235597 by Sergey 'L29Ah' Alirzaev
14 Jan 2008; Fabian Groffen <grobian@gentoo.org> angband-3.0.6.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/games-roguelike/angband/Manifest b/games-roguelike/angband/Manifest
index c0f9e429de5c..9e6f29c5199b 100644
--- a/games-roguelike/angband/Manifest
+++ b/games-roguelike/angband/Manifest
@@ -1,7 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX angband-3.0.9-gentoo.patch 3349 RMD160 770d8a0e0fa7967dd074bb79ffebaedeacea6086 SHA1 337ce071276597606d7f13d9404c7c020470ff4b SHA256 4aa86d71ff7e496c76c7bc0fdd93c94939f81b0a1461b8e030a9202f14ce639f
+AUX angband-3.0.9b-gentoo.patch 3349 RMD160 770d8a0e0fa7967dd074bb79ffebaedeacea6086 SHA1 337ce071276597606d7f13d9404c7c020470ff4b SHA256 4aa86d71ff7e496c76c7bc0fdd93c94939f81b0a1461b8e030a9202f14ce639f
DIST angband-3.0.6.tar.gz 1570831 RMD160 16f2f907ed501bbb1c645d54a677a05684256b8a SHA1 53f61670f31e30ea7491933f42beacdd1fd6201c SHA256 9d5f2d37ce126c774840e3fd86c1ea174fe6a1a4a4f35c1429cb0a1480073651
DIST angband-3.0.9-src.tar.gz 2334497 RMD160 495ee3b51c6944b1b04993a140d13e11b0cb57cc SHA1 fc629cec1e17a16208f52951c0d46c8a3492d4b4 SHA256 3f94092ab20169e8e51574dd57357761f163e2df925a606af6109bbd351fe75f
+DIST angband-3.0.9b-src.tar.gz 2861482 RMD160 5f10ddee9f062c836c27ad6065b7adbd5370de3f SHA1 28debdaf1f840ed15dc76e375da64517320a9c17 SHA256 c593ac0031666f3ef8955ef7072dc356033c063cd50bfa6a7646ce49e89daa9f
EBUILD angband-3.0.6.ebuild 1143 RMD160 81ccc0726f49252f99cbbd9e815f6fc1689ff1fd SHA1 4d35d1612297febb98020c0e0700529c641a25e8 SHA256 22356c32b2cd72754d8b9cbb3d4d61cab956e1ba3c6b3ae305894a7107c1aa3e
EBUILD angband-3.0.9.ebuild 1540 RMD160 94581d69f6ad3cf2a4e6b6c321060183b8e15571 SHA1 34272b5dad3811d3da7bdf4d09c4a4a420f33cd7 SHA256 86f2499bf160bedfe8146982da2531179fcd0c2be14b820c859056376f667efa
-MISC ChangeLog 3359 RMD160 d40977d252b66346a675fc5e647787ad992ef439 SHA1 f0a136674dcd75da6fcd2e5e427ff52080637007 SHA256 67e6ab8689baf2f698bf54aed17b73e3f7b58233ea6955d9e5727fb5ddd0d4ee
+EBUILD angband-3.0.9b.ebuild 1543 RMD160 ea8b4fa4953f0342311416f433534db54b8bd474 SHA1 a3557b284162f9e3801a1f165e371e3a7c2e654a SHA256 a251041c22e64826e75012f1de267a827db56fc8a810730a959c637972ed523b
+MISC ChangeLog 3552 RMD160 64f9ac69c101d2e35c3a95f9876c078962029583 SHA1 97ac9687383c9f218df7b5171cbab63627208280 SHA256 55840404aa5cafa900e1f9ea5f726ed133c06319a572b530d54579d78c5063b2
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEUEARECAAYFAki4ZYAACgkQVrx5UrvSjseM5ACXSw2skwPeUPe8isCCS0BbKU+i
+wACfRI7HnqXWdhwWH+QqshLZSgaW+Ek=
+=d/+4
+-----END PGP SIGNATURE-----
diff --git a/games-roguelike/angband/angband-3.0.9b.ebuild b/games-roguelike/angband/angband-3.0.9b.ebuild
new file mode 100644
index 000000000000..a9ce33b045ef
--- /dev/null
+++ b/games-roguelike/angband/angband-3.0.9b.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/angband/angband-3.0.9b.ebuild,v 1.1 2008/08/29 21:09:10 tupone Exp $
+
+inherit eutils flag-o-matic games
+
+DESCRIPTION="A roguelike dungeon exploration game based on the books of J.R.R.Tolkien"
+HOMEPAGE="http://rephial.org/"
+SRC_URI="http://rephial.org/downloads/3.0/${P}-src.tar.gz"
+
+LICENSE="Moria"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="X gtk ncurses sdl"
+
+DEPEND="gtk? ( >=gnome-base/libglade-2.6 )
+ X? ( x11-libs/libSM
+ x11-libs/libX11 )
+ sdl? ( media-libs/sdl-ttf
+ media-libs/sdl-image )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ local myConf;
+ if ! use ncurses && ( use gtk || use X || use sdl); then
+ myConf=--disable-curses
+ fi
+ egamesconf \
+ --disable-dependency-tracking \
+ --bindir="${GAMES_BINDIR}" \
+ --with-setgid="${GAMES_GROUP}" \
+ --with-libpath="${GAMES_DATADIR}"/${PN} \
+ $myConf \
+ $(use_enable gtk) \
+ $(use_enable X x11) \
+ $(use_enable sdl) \
+ || die
+ append-ldflags -Wl,-z,now
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ insinto "${GAMES_DATADIR}"/${PN}/xtra
+ doins lib/xtra/angband.glade || die "doins angband.glade failed"
+ dodoc changes.txt faq.txt readme.txt thanks.txt
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ chmod -R g+w "${ROOT}${GAMES_DATADIR}"/angband/{apex,data,save,user}
+}
diff --git a/games-roguelike/angband/files/angband-3.0.9b-gentoo.patch b/games-roguelike/angband/files/angband-3.0.9b-gentoo.patch
new file mode 100644
index 000000000000..0aaf38dcf63d
--- /dev/null
+++ b/games-roguelike/angband/files/angband-3.0.9b-gentoo.patch
@@ -0,0 +1,81 @@
+--- lib/apex/Makefile.old 2007-08-24 04:41:58.000000000 +0200
++++ lib/apex/Makefile 2007-08-24 04:43:01.000000000 +0200
+@@ -10,10 +10,10 @@
+
+ install-posthook:
+ if [ "x$(SETEGID)" != "x" ]; then \
+- printf "%10s %-20s\n" TOUCH ${DATA_PATH}/apex/scores.raw; \
++ printf "%10s %-20s\n" TOUCH ${DESTDIR}${DATA_PATH}/apex/scores.raw; \
+ if [ "x$(DRY)" = "x" ]; then \
+- touch ${DATA_PATH}/apex/scores.raw; \
+- chown -R root:${SETEGID} ${DATA_PATH}/apex; \
+- chmod -R g+w ${DATA_PATH}/apex; \
++ touch ${DESTDIR}${DATA_PATH}/apex/scores.raw; \
++ chown -R root:${SETEGID} ${DESTDIR}${DATA_PATH}/apex; \
++ chmod -R g+w ${DESTDIR}${DATA_PATH}/apex; \
+ fi; \
+ fi;
+--- lib/bone/Makefile.old 2007-08-24 04:49:01.000000000 +0200
++++ lib/bone/Makefile 2007-08-24 04:49:29.000000000 +0200
+@@ -9,7 +9,7 @@
+ install-posthook:
+ if [ "x$(SETEGID)" != "x" ]; then \
+ if [ "x$(DRY)" = "x" ]; then \
+- chown root:${SETEGID} ${DATA_PATH}/bone; \
+- chmod 070 ${DATA_PATH}/bone; \
++ chown root:${SETEGID} ${DESTDIR}${DATA_PATH}/bone; \
++ chmod 070 ${DESTDIR}${DATA_PATH}/bone; \
+ fi; \
+ fi
+--- lib/data/Makefile.old 2007-08-24 04:52:30.000000000 +0200
++++ lib/data/Makefile 2007-08-24 04:53:41.000000000 +0200
+@@ -15,21 +15,21 @@
+ if [ "x$(SETEGID)" != "x" ]; then \
+ printf "%10s %s*.raw\n" TOUCH ${DATA_PATH}/data/; \
+ if [ "x$(DRY)" = "x" ]; then \
+- touch ${DATA_PATH}/data/artifact.raw; \
+- touch ${DATA_PATH}/data/cost_adj.raw; \
+- touch ${DATA_PATH}/data/ego_item.raw; \
+- touch ${DATA_PATH}/data/flavor.raw; \
+- touch ${DATA_PATH}/data/limits.raw; \
+- touch ${DATA_PATH}/data/monster.raw; \
+- touch ${DATA_PATH}/data/object.raw; \
+- touch ${DATA_PATH}/data/p_class.raw; \
+- touch ${DATA_PATH}/data/p_hist.raw; \
+- touch ${DATA_PATH}/data/p_race.raw; \
+- touch ${DATA_PATH}/data/prices.raw; \
+- touch ${DATA_PATH}/data/shop_own.raw; \
+- touch ${DATA_PATH}/data/terrain.raw; \
+- touch ${DATA_PATH}/data/vault.raw; \
+- chown -R root:${SETEGID} ${DATA_PATH}/data; \
+- chmod -R g+w ${DATA_PATH}/data; \
++ touch ${DESTDIR}${DATA_PATH}/data/artifact.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/cost_adj.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/ego_item.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/flavor.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/limits.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/monster.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/object.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/p_class.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/p_hist.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/p_race.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/prices.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/shop_own.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/terrain.raw; \
++ touch ${DESTDIR}${DATA_PATH}/data/vault.raw; \
++ chown -R root:${SETEGID} ${DESTDIR}${DATA_PATH}/data; \
++ chmod -R g+w ${DESTDIR}${DATA_PATH}/data; \
+ fi; \
+ fi
+--- lib/save/Makefile.old 2007-08-24 04:55:50.000000000 +0200
++++ lib/save/Makefile 2007-08-24 04:56:13.000000000 +0200
+@@ -8,7 +8,7 @@
+ install-posthook:
+ if [ "x$(SETEGID)" != "x" ]; then \
+ if [ "x$(DRY)" = "x" ]; then \
+- chown root:${SETEGID} ${DATA_PATH}/save; \
+- chmod 070 ${DATA_PATH}/save; \
++ chown root:${SETEGID} ${DESTDIR}${DATA_PATH}/save; \
++ chmod 070 ${DESTDIR}${DATA_PATH}/save; \
+ fi; \
+ fi