summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-02-01 10:27:20 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-02-01 10:27:20 +0000
commitff68e3643d581c6ae58c48db4ad0018b2719f49d (patch)
treec469be8811c3a2848042cdb55a13d328a36493b1 /games-roguelike/zangband
parentbug-fix version bump (bug 39941) (diff)
downloadhistorical-ff68e3643d581c6ae58c48db4ad0018b2719f49d.tar.gz
historical-ff68e3643d581c6ae58c48db4ad0018b2719f49d.tar.bz2
historical-ff68e3643d581c6ae58c48db4ad0018b2719f49d.zip
bug-fix version bump (bug 39941)
Diffstat (limited to 'games-roguelike/zangband')
-rw-r--r--games-roguelike/zangband/Manifest6
-rw-r--r--games-roguelike/zangband/files/digest-zangband-2.7.4b1
-rw-r--r--games-roguelike/zangband/zangband-2.7.4.ebuild4
-rw-r--r--games-roguelike/zangband/zangband-2.7.4b.ebuild58
4 files changed, 64 insertions, 5 deletions
diff --git a/games-roguelike/zangband/Manifest b/games-roguelike/zangband/Manifest
index 8a01aebf3091..1bb7faf33eaa 100644
--- a/games-roguelike/zangband/Manifest
+++ b/games-roguelike/zangband/Manifest
@@ -1,6 +1,6 @@
-MD5 890e778493ebbb1f1ca6b21b9fc2a901 ChangeLog 1337
-MD5 074650cde97c0405ddf2d38ae8bc0ac5 zangband-2.7.4b.ebuild 1716
+MD5 04574c6c54585a9decf26e4d1f4307bc ChangeLog 1484
+MD5 1320fc647401836204092f563467ee0f zangband-2.7.4b.ebuild 1719
MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
-MD5 853cd959b7e5522926fe851cf0ad6436 zangband-2.7.4.ebuild 1687
+MD5 2c7b67868ff5183841d8be20b62a246e zangband-2.7.4.ebuild 1690
MD5 bde937fbf2d628a95977ed6be5e98d87 files/digest-zangband-2.7.4b 68
MD5 6c5f4a9ec14368467d7c50b17e50849f files/digest-zangband-2.7.4 67
diff --git a/games-roguelike/zangband/files/digest-zangband-2.7.4b b/games-roguelike/zangband/files/digest-zangband-2.7.4b
new file mode 100644
index 000000000000..b23411920c7e
--- /dev/null
+++ b/games-roguelike/zangband/files/digest-zangband-2.7.4b
@@ -0,0 +1 @@
+MD5 632cc39b7c3d11c49f12e62d2fa18d0c zangband-2.7.4b.tar.gz 2765148
diff --git a/games-roguelike/zangband/zangband-2.7.4.ebuild b/games-roguelike/zangband/zangband-2.7.4.ebuild
index ff4c88ca959a..be3621c3e136 100644
--- a/games-roguelike/zangband/zangband-2.7.4.ebuild
+++ b/games-roguelike/zangband/zangband-2.7.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/zangband-2.7.4.ebuild,v 1.2 2004/01/01 23:58:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/zangband-2.7.4.ebuild,v 1.3 2004/02/01 10:27:13 mr_bones_ Exp $
inherit games
diff --git a/games-roguelike/zangband/zangband-2.7.4b.ebuild b/games-roguelike/zangband/zangband-2.7.4b.ebuild
new file mode 100644
index 000000000000..2176d9bb2002
--- /dev/null
+++ b/games-roguelike/zangband/zangband-2.7.4b.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/zangband-2.7.4b.ebuild,v 1.1 2004/02/01 10:27:13 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="An enhanced version of the Roguelike game Angband"
+HOMEPAGE="http://www.zangband.org/"
+SRC_URI="ftp://clockwork.dementia.org/angband/Variant/ZAngband/${P}.tar.gz"
+
+LICENSE="Moria"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE="X gtk tcltk"
+
+RDEPEND=">=sys-libs/ncurses-5
+ sys-libs/zlib
+ tcltk? (
+ dev-lang/tcl
+ dev-lang/tk
+ )
+ gtk? ( =x11-libs/gtk+-1* )
+ X? ( virtual/x11 )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ egamesconf \
+ --datadir="${GAMES_DATADIR_BASE}" \
+ "--with-setgid=${GAMES_GROUP}" \
+ `use_with gtk` \
+ `use_with tcltk` \
+ `use_with X x` || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ # Keep some important dirs we want to chmod later
+ keepdir ${GAMES_DATADIR}/zangband/lib/apex \
+ ${GAMES_DATADIR}/zangband/lib/user \
+ ${GAMES_DATADIR}/zangband/lib/save
+
+ # Install the basic files but remove unneeded crap
+ make DESTDIR=${D}/${GAMES_DATADIR}/zangband/ installbase || \
+ die "make installbase failed"
+ rm ${D}${GAMES_DATADIR}/zangband/{angdos.cfg,readme,z_faq.txt,z_update.txt}
+
+ # Install everything else and fix the permissions
+ dogamesbin zangband || die "dogamesbin failed"
+ dodoc readme z_faq.txt z_update.txt || die "dodoc failed"
+ find "${D}${GAMES_DATADIR}/zangband/lib" -type f -exec chmod a-x \{\} \;
+
+ prepgamesdirs
+ # All users in the games group need write permissions to some important dirs
+ chmod -R g+w ${D}/${GAMES_DATADIR}/zangband/lib/{apex,save,user}
+}