Version bump to 2.7.4c
authorAlfredo Tupone <tupone@gentoo.org>
Mon, 27 Feb 2006 21:40:36 +0000 (21:40 +0000)
committerAlfredo Tupone <tupone@gentoo.org>
Mon, 27 Feb 2006 21:40:36 +0000 (21:40 +0000)
Package-Manager: portage-2.1_pre5

games-roguelike/zangband/ChangeLog
games-roguelike/zangband/Manifest
games-roguelike/zangband/files/digest-zangband-2.7.4c [new file with mode: 0644]
games-roguelike/zangband/zangband-2.7.4c.ebuild [new file with mode: 0644]

index e77e7c67023694355ead206b443c9c0d71eac71e..09f9f52538701772cd4c0840bf59e3ab22f95851 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for games-roguelike/zangband
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/ChangeLog,v 1.7 2006/02/21 23:29:09 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/ChangeLog,v 1.8 2006/02/27 21:40:36 tupone Exp $
+
+*zangband-2.7.4c (27 Feb 2006)
+
+  27 Feb 2006; <Tupone@gentoo.org> +zangband-2.7.4c.ebuild:
+  version bump
 
   21 Feb 2006; <Tupone@gentoo.org> zangband-2.7.4b.ebuild:
   Modular X dependency fix
index e59e9bef5ad6073604d2484a3ac4c52aac7fa838..0ad07d2b85b0033a35f591cc24fd8e3d398b76e9 100644 (file)
@@ -1,12 +1,18 @@
-MD5 a290f6a65e0373cd4450bb6a47c93d6f ChangeLog 1705
-RMD160 a70900495f1eda60e288d00163a9e099d8520f6a ChangeLog 1705
-SHA256 03e042d03ae6997e55cc2ad88b36f378a76870da4e44ff5ea38c809baddb5565 ChangeLog 1705
+MD5 e43181b3c9a67cfe38342e1c1ea8309e ChangeLog 1813
+RMD160 2265fa2963ef2f1a30ee545a0c5accd3f3b99947 ChangeLog 1813
+SHA256 3241f7a81a594c4f8f2e158e40bba7187de7cda1b88ab1de0e28bb9cbdffdf88 ChangeLog 1813
 MD5 162e827219aeb53c1dacec1c5d9c0f43 files/digest-zangband-2.7.4b 250
 RMD160 62e15d0c435c0a6e345d091f11d5b20f2dc070e9 files/digest-zangband-2.7.4b 250
 SHA256 545305a30f106419af968c5c3cd1679ddc4156ab1ae356d4f773d6568934465a files/digest-zangband-2.7.4b 250
+MD5 142e422bf8923fcb8e5bc71686dacb0d files/digest-zangband-2.7.4c 250
+RMD160 48f2ab84903a8d466240cc5d3c7bf2bf6665def2 files/digest-zangband-2.7.4c 250
+SHA256 a3eaf2f1501202db966d617e7e948757ce5bd5fde7476db3e1130e1e468a3fc3 files/digest-zangband-2.7.4c 250
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
 MD5 35c70fb609c4aa7fbfcd86e1e5cd6f6a zangband-2.7.4b.ebuild 1848
 RMD160 d4d587e8285ee6b1afb922b3a14ef960a89a36ec zangband-2.7.4b.ebuild 1848
 SHA256 26f7e12ea7def43c4b9b07c3bd55ee8099fc8cd1f628c58a95bdbcb8c3f59c41 zangband-2.7.4b.ebuild 1848
+MD5 acfb6479d42d097ee08abd970333c9b7 zangband-2.7.4c.ebuild 1850
+RMD160 0727c82cd63560b8b8f168be0dc5c242595a535c zangband-2.7.4c.ebuild 1850
+SHA256 c8f5aceecbe11f54522f37db563a93b76e613307bc29adfacbac7e99f4db8405 zangband-2.7.4c.ebuild 1850
diff --git a/games-roguelike/zangband/files/digest-zangband-2.7.4c b/games-roguelike/zangband/files/digest-zangband-2.7.4c
new file mode 100644 (file)
index 0000000..0bdb65c
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 b638b05c3fd967e4e9fcd6dbc1e7deb6 zangband-2.7.4c.tar.gz 2821355
+RMD160 50d2f0d6cf7f71302b0f7efcc819ddb4da86cd30 zangband-2.7.4c.tar.gz 2821355
+SHA256 3033fc52d0daab6098394a8caaa6572ba64585d7b9deb62800328ca7ba592cdc zangband-2.7.4c.tar.gz 2821355
diff --git a/games-roguelike/zangband/zangband-2.7.4c.ebuild b/games-roguelike/zangband/zangband-2.7.4c.ebuild
new file mode 100644 (file)
index 0000000..37eee8a
--- /dev/null
@@ -0,0 +1,61 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/zangband-2.7.4c.ebuild,v 1.1 2006/02/27 21:40:36 tupone Exp $
+
+inherit games
+
+DESCRIPTION="An enhanced version of the Roguelike game Angband"
+HOMEPAGE="http://www.zangband.org/"
+SRC_URI="ftp://ftp.sunet.se/pub/games/Angband/Variant/ZAngband/${P}.tar.gz"
+
+LICENSE="Moria"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="gtk tcltk"
+
+# Dropping X use keyword: 
+#  it had to be $(use_with X x11)
+#  but ebuild fails to link without-x11
+RDEPEND=">=sys-libs/ncurses-5
+       sys-libs/zlib
+       tcltk? (
+               dev-lang/tcl
+               dev-lang/tk
+       )
+       gtk? ( =x11-libs/gtk+-1* )
+       || ( x11-libs/libXaw virtual/x11 )"
+DEPEND="${RDEPEND}
+       || ( x11-proto/xextproto virtual/x11 )"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+       egamesconf \
+               --datadir="${GAMES_DATADIR_BASE}" \
+               "--with-setgid=${GAMES_GROUP}" \
+               `use_with gtk` \
+               `use_with tcltk` \
+               || die "configure failed"
+       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}
+}