diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-02-03 10:02:18 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-02-03 10:02:18 +0000 |
commit | 249371869f8bf62d18b67bafe99525a6027e42d7 (patch) | |
tree | 81fb6ef506b1399c975a43a47b61a4d04c616d38 /games-roguelike | |
parent | version bump (bug 37713) (diff) | |
download | historical-249371869f8bf62d18b67bafe99525a6027e42d7.tar.gz historical-249371869f8bf62d18b67bafe99525a6027e42d7.tar.bz2 historical-249371869f8bf62d18b67bafe99525a6027e42d7.zip |
version bump (bug 37713)
Diffstat (limited to 'games-roguelike')
-rw-r--r-- | games-roguelike/hengband/Manifest | 4 | ||||
-rw-r--r-- | games-roguelike/hengband/files/digest-hengband-1.6.0 | 1 | ||||
-rw-r--r-- | games-roguelike/hengband/hengband-1.6.0.ebuild | 53 |
3 files changed, 56 insertions, 2 deletions
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} +} |