summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-11-25 10:57:54 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-11-25 10:57:54 +0000
commit4a211b79dc2c7e7b5680d1898893a4115ca5e70d (patch)
treefe206c00268683a5df68b772a9bfc2fd1e0857eb /games-roguelike/zangband
parentversion bump (bug 34315) (diff)
downloadhistorical-4a211b79dc2c7e7b5680d1898893a4115ca5e70d.tar.gz
historical-4a211b79dc2c7e7b5680d1898893a4115ca5e70d.tar.bz2
historical-4a211b79dc2c7e7b5680d1898893a4115ca5e70d.zip
version bump (bug 34315)
Diffstat (limited to 'games-roguelike/zangband')
-rw-r--r--games-roguelike/zangband/Manifest4
-rw-r--r--games-roguelike/zangband/files/digest-zangband-2.7.41
-rw-r--r--games-roguelike/zangband/zangband-2.7.4.ebuild54
3 files changed, 57 insertions, 2 deletions
diff --git a/games-roguelike/zangband/Manifest b/games-roguelike/zangband/Manifest
index bad02a046f64..0dea7ea2f111 100644
--- a/games-roguelike/zangband/Manifest
+++ b/games-roguelike/zangband/Manifest
@@ -1,6 +1,6 @@
-MD5 5c07b097d5c34cf84dbbc51114b7b4b9 ChangeLog 1197
+MD5 890e778493ebbb1f1ca6b21b9fc2a901 ChangeLog 1337
MD5 12aee99de6ede6da2f2f83bfa6ab9926 zangband-2.7.3.ebuild 1662
MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
-MD5 3d9dc8bf1992d5104bbc0913c39ae0c7 zangband-2.7.4.ebuild 1744
+MD5 43a6a07623f926bb0040e08a7302b112 zangband-2.7.4.ebuild 1698
MD5 1a295dc9c335ddfe6e7b11b575204879 files/digest-zangband-2.7.3 67
MD5 6c5f4a9ec14368467d7c50b17e50849f files/digest-zangband-2.7.4 67
diff --git a/games-roguelike/zangband/files/digest-zangband-2.7.4 b/games-roguelike/zangband/files/digest-zangband-2.7.4
new file mode 100644
index 000000000000..338fdd3a8b0a
--- /dev/null
+++ b/games-roguelike/zangband/files/digest-zangband-2.7.4
@@ -0,0 +1 @@
+MD5 91200ee029d3b3405c5a193d19224411 zangband-2.7.4.tar.gz 2787994
diff --git a/games-roguelike/zangband/zangband-2.7.4.ebuild b/games-roguelike/zangband/zangband-2.7.4.ebuild
new file mode 100644
index 000000000000..a9667ecfed1a
--- /dev/null
+++ b/games-roguelike/zangband/zangband-2.7.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2003 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.1 2003/11/25 10:57:52 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"
+
+KEYWORDS="x86 ppc"
+LICENSE="Moria GPL-2"
+SLOT="0"
+IUSE="X"
+
+DEPEND=">=sys-libs/ncurses-5
+ sys-libs/zlib
+ >=sys-apps/sed-4
+ tcltk? ( dev-lang/tcl dev-lang/tk )
+ gtk? ( =x11-libs/gtk+-1* )
+ X? ( virtual/x11 )"
+
+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
+ keepdir ${GAMES_DATADIR}/zangband/lib/user
+ keepdir ${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}
+}