summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-roguelike/hengband/ChangeLog10
-rw-r--r--games-roguelike/hengband/Manifest6
-rw-r--r--games-roguelike/hengband/files/digest-hengband-1.6.21
-rw-r--r--games-roguelike/hengband/hengband-1.6.2.ebuild50
4 files changed, 63 insertions, 4 deletions
diff --git a/games-roguelike/hengband/ChangeLog b/games-roguelike/hengband/ChangeLog
index 88213c9dbc6f..5952a06f3a3c 100644
--- a/games-roguelike/hengband/ChangeLog
+++ b/games-roguelike/hengband/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-roguelike/hengband
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.4 2004/06/24 23:12:50 agriffis Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.5 2005/07/10 01:14:57 mr_bones_ Exp $
+
+*hengband-1.6.2 (10 Jul 2005)
+
+ 10 Jul 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +hengband-1.6.2.ebuild:
+ version bump (bug #65667)
03 Jun 2004; Aron Griffis <agriffis@gentoo.org> hengband-1.5.4.ebuild,
hengband-1.6.0.ebuild:
diff --git a/games-roguelike/hengband/Manifest b/games-roguelike/hengband/Manifest
index f71dd521f9ba..85a22026f7b5 100644
--- a/games-roguelike/hengband/Manifest
+++ b/games-roguelike/hengband/Manifest
@@ -1,6 +1,8 @@
-MD5 31481152dfffc68cf5e99b335f2ed0ec ChangeLog 645
MD5 8d9b1d5d0f86685db4c09149ae88e909 hengband-1.5.4.ebuild 1169
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 3ad2932a5ec3c868ea9448e5e96aac00 hengband-1.6.2.ebuild 1249
+MD5 31481152dfffc68cf5e99b335f2ed0ec ChangeLog 645
MD5 ec460d2294a19f04d8e2ec724a618135 hengband-1.6.0.ebuild 1314
-MD5 bb9d132e77a3a543f730c17629232cfe files/digest-hengband-1.5.4 67
+MD5 f1eff52cf4e3543b2f4d27866a0163ba files/digest-hengband-1.6.2 68
MD5 53a0deca2810ccb05eeff76414bee9f6 files/digest-hengband-1.6.0 67
+MD5 bb9d132e77a3a543f730c17629232cfe files/digest-hengband-1.5.4 67
diff --git a/games-roguelike/hengband/files/digest-hengband-1.6.2 b/games-roguelike/hengband/files/digest-hengband-1.6.2
new file mode 100644
index 000000000000..8da57070a5b9
--- /dev/null
+++ b/games-roguelike/hengband/files/digest-hengband-1.6.2
@@ -0,0 +1 @@
+MD5 471048e9f7bf510553f13e23a69c5fef hengband-1.6.2.tar.bz2 2029169
diff --git a/games-roguelike/hengband/hengband-1.6.2.ebuild b/games-roguelike/hengband/hengband-1.6.2.ebuild
new file mode 100644
index 000000000000..48ebc2462038
--- /dev/null
+++ b/games-roguelike/hengband/hengband-1.6.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.6.2.ebuild,v 1.1 2005/07/10 01:14:57 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="An Angband variant, with a Japanese/fantasy theme"
+HOMEPAGE="http://hengband.sourceforge.jp/en/"
+SRC_URI="mirror://sourceforge.jp/hengband/10331/${P}.tar.bz2"
+
+KEYWORDS="ppc x86"
+LICENSE="Moria"
+SLOT="0"
+IUSE="cjk X"
+
+DEPEND=">=sys-libs/ncurses-5
+ X? ( virtual/x11 )"
+
+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}
+}