diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-25 10:57:54 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-25 10:57:54 +0000 |
commit | 2b2ef1864e73cabbb239e2da0e0173863f929fca (patch) | |
tree | 0e16a8082d174193d64f7eccbee025c645754bb9 /games-roguelike/zangband | |
parent | version bump (bug 34315) (diff) | |
download | gentoo-2-2b2ef1864e73cabbb239e2da0e0173863f929fca.tar.gz gentoo-2-2b2ef1864e73cabbb239e2da0e0173863f929fca.tar.bz2 gentoo-2-2b2ef1864e73cabbb239e2da0e0173863f929fca.zip |
version bump (bug 34315)
Diffstat (limited to 'games-roguelike/zangband')
-rw-r--r-- | games-roguelike/zangband/ChangeLog | 7 | ||||
-rw-r--r-- | games-roguelike/zangband/Manifest | 4 | ||||
-rw-r--r-- | games-roguelike/zangband/files/digest-zangband-2.7.4 | 1 | ||||
-rw-r--r-- | games-roguelike/zangband/zangband-2.7.4.ebuild | 54 |
4 files changed, 63 insertions, 3 deletions
diff --git a/games-roguelike/zangband/ChangeLog b/games-roguelike/zangband/ChangeLog index 250f461fbdeb..cd2e7cc02152 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.2 2003/09/10 15:54:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/zangband/ChangeLog,v 1.3 2003/11/25 10:57:52 mr_bones_ Exp $ + +*zangband-2.7.4 (25 Nov 2003) + + 25 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> zangband-2.7.4.ebuild: + version bump (bug 34315) 10 Jun 2003; <msterret@gentoo.org> zangband-2.7.3.ebuild: DEPEND on sed >= 4 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} +} |