summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-02-03 10:02:18 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-02-03 10:02:18 +0000
commite9f7810026527b0aba80a53dd67e2a729a99a4d3 (patch)
treed8f3c490e6b2d394b4544184aa127d0e9c4b8f72 /games-roguelike/hengband
parentversion bump (bug 37713) (diff)
downloadgentoo-2-e9f7810026527b0aba80a53dd67e2a729a99a4d3.tar.gz
gentoo-2-e9f7810026527b0aba80a53dd67e2a729a99a4d3.tar.bz2
gentoo-2-e9f7810026527b0aba80a53dd67e2a729a99a4d3.zip
version bump (bug 37713)
Diffstat (limited to 'games-roguelike/hengband')
-rw-r--r--games-roguelike/hengband/ChangeLog9
-rw-r--r--games-roguelike/hengband/Manifest4
-rw-r--r--games-roguelike/hengband/files/digest-hengband-1.6.01
-rw-r--r--games-roguelike/hengband/hengband-1.6.0.ebuild53
4 files changed, 63 insertions, 4 deletions
diff --git a/games-roguelike/hengband/ChangeLog b/games-roguelike/hengband/ChangeLog
index 06f7479468b1..fa59dfa9a4bd 100644
--- a/games-roguelike/hengband/ChangeLog
+++ b/games-roguelike/hengband/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-roguelike/hengband
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.1 2003/12/27 07:43:49 vapier Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.2 2004/02/03 10:02:12 mr_bones_ Exp $
+
+*hengband-1.6.0 (03 Feb 2004)
+
+ 03 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> hengband-1.6.0.ebuild:
+ version bump (bug 37713)
*hengband-1.5.4 (27 Dec 2003)
diff --git a/games-roguelike/hengband/Manifest b/games-roguelike/hengband/Manifest
index 63af3479e7f1..8d92d67603cd 100644
--- a/games-roguelike/hengband/Manifest
+++ b/games-roguelike/hengband/Manifest
@@ -1,5 +1,5 @@
-MD5 19498aec5b751d9505fa9792ab1f055c ChangeLog 395
+MD5 c34089cb845f7619754b28d8e46fde6f ChangeLog 535
MD5 9c884ff462ae1d9a2d30728cbeae449e hengband-1.5.4.ebuild 1182
-MD5 9f1598a0c7b45311c10c917578f97590 hengband-1.6.0.ebuild 1347
+MD5 2975d3b554f532036969bfda96d17cf3 hengband-1.6.0.ebuild 1330
MD5 bb9d132e77a3a543f730c17629232cfe files/digest-hengband-1.5.4 67
MD5 53a0deca2810ccb05eeff76414bee9f6 files/digest-hengband-1.6.0 67
diff --git a/games-roguelike/hengband/files/digest-hengband-1.6.0 b/games-roguelike/hengband/files/digest-hengband-1.6.0
new file mode 100644
index 000000000000..52bd8b94a641
--- /dev/null
+++ b/games-roguelike/hengband/files/digest-hengband-1.6.0
@@ -0,0 +1 @@
+MD5 9e17e821facd2ee591b350436d488044 hengband-1.6.0.tar.gz 2593964
diff --git a/games-roguelike/hengband/hengband-1.6.0.ebuild b/games-roguelike/hengband/hengband-1.6.0.ebuild
new file mode 100644
index 000000000000..54bc6e2555a1
--- /dev/null
+++ b/games-roguelike/hengband/hengband-1.6.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.6.0.ebuild,v 1.1 2004/02/03 10:02:12 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="An Angband variant, with a Japanese/fantasy theme"
+HOMEPAGE="http://hengband.sourceforge.jp/en/"
+SRC_URI="ftp://clockwork.dementia.org/angband/Variant/Hengband/${P}.tar.gz"
+
+KEYWORDS="x86 ppc"
+LICENSE="Moria"
+SLOT="0"
+IUSE="cjk X"
+
+RDEPEND="virtual/glibc
+ >=sys-libs/ncurses-5
+ X? ( virtual/x11 )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e 's|root\.|root:|' lib/*/Makefile.in \
+ || die "sed Makefile.in failed"
+ sed -i \
+ -e 's:/games/:/:g' configure \
+ || die "sed configure failed"
+}
+
+src_compile() {
+ egamesconf \
+ --with-setgid=${GAMES_GROUP} \
+ `use_enable cjk japanese` \
+ `use_with X x` \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ if [ `use cjk` ] ; then
+ dodoc readme.txt autopick.txt readme_eng.txt autopick_eng.txt
+ else
+ newdoc readme_eng.txt readme.txt
+ newdoc autopick_eng.txt autopick.txt
+ fi
+ prepgamesdirs
+ # FIXME: we need to patch around this BS
+ fperms g+w ${GAMES_DATADIR}/${PN}/lib/{apex,data,save,user}
+}