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
commitbb06749e883d6533f9f40008a1151f84ae46bf08 (patch)
tree197e3ecb6fcfd4e4c4aece383c8fc1cb93714ff1 /games-roguelike/zangband
parentbug-fix version bump (bug 39941) (diff)
downloadgentoo-2-bb06749e883d6533f9f40008a1151f84ae46bf08.tar.gz
gentoo-2-bb06749e883d6533f9f40008a1151f84ae46bf08.tar.bz2
gentoo-2-bb06749e883d6533f9f40008a1151f84ae46bf08.zip
bug-fix version bump (bug 39941)
Diffstat (limited to 'games-roguelike/zangband')
-rw-r--r--games-roguelike/zangband/ChangeLog9
-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
5 files changed, 71 insertions, 7 deletions
diff --git a/games-roguelike/zangband/ChangeLog b/games-roguelike/zangband/ChangeLog
index cd2e7cc02152..c690351c9806 100644
--- a/games-roguelike/zangband/ChangeLog
+++ b/games-roguelike/zangband/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-roguelike/zangband
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/ChangeLog,v 1.3 2003/11/25 10:57:52 mr_bones_ Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/ChangeLog,v 1.4 2004/02/01 10:27:13 mr_bones_ Exp $
+
+*zangband-2.7.4b (01 Feb 2004)
+
+ 01 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> zangband-2.7.4b.ebuild:
+ bug-fix version bump (bug 39941)
*zangband-2.7.4 (25 Nov 2003)
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}
+}