diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-12-27 07:43:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-12-27 07:43:49 +0000 |
commit | 90dd036963251e48ec642d76b4312b66f2d5e201 (patch) | |
tree | 557eb398a420eb9ad77d756fbaf422820ddcbf25 /games-roguelike | |
parent | ver bump + optional DEPENDs #36271 (diff) | |
download | gentoo-2-90dd036963251e48ec642d76b4312b66f2d5e201.tar.gz gentoo-2-90dd036963251e48ec642d76b4312b66f2d5e201.tar.bz2 gentoo-2-90dd036963251e48ec642d76b4312b66f2d5e201.zip |
initial ebuild #31447
Diffstat (limited to 'games-roguelike')
-rw-r--r-- | games-roguelike/hengband/ChangeLog | 8 | ||||
-rw-r--r-- | games-roguelike/hengband/files/digest-hengband-1.5.4 | 1 | ||||
-rw-r--r-- | games-roguelike/hengband/hengband-1.5.4.ebuild | 48 |
3 files changed, 57 insertions, 0 deletions
diff --git a/games-roguelike/hengband/ChangeLog b/games-roguelike/hengband/ChangeLog new file mode 100644 index 000000000000..06f7479468b1 --- /dev/null +++ b/games-roguelike/hengband/ChangeLog @@ -0,0 +1,8 @@ +# 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 $ + +*hengband-1.5.4 (27 Dec 2003) + + 27 Dec 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Manuel Lanctot <pacu@sympatico.ca> #31447. diff --git a/games-roguelike/hengband/files/digest-hengband-1.5.4 b/games-roguelike/hengband/files/digest-hengband-1.5.4 new file mode 100644 index 000000000000..3f1233fe6604 --- /dev/null +++ b/games-roguelike/hengband/files/digest-hengband-1.5.4 @@ -0,0 +1 @@ +MD5 6d008d62cfe88aef21f9ddbf541d6039 hengband-1.5.4.tar.gz 2616439 diff --git a/games-roguelike/hengband/hengband-1.5.4.ebuild b/games-roguelike/hengband/hengband-1.5.4.ebuild new file mode 100644 index 000000000000..207529dae2b3 --- /dev/null +++ b/games-roguelike/hengband/hengband-1.5.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.5.4.ebuild,v 1.1 2003/12/27 07:43:49 vapier 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" + +LICENSE="Moria | GPL-2" +SLOT="0" +KEYWORDS="x86 ppc" +IUSE="cjk X" + +DEPEND="virtual/glibc + >=sys-libs/ncurses-5 + X? ( virtual/x11 )" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i 's|root\.|root:|' lib/*/Makefile.in + sed -i 's:/games/:/:g' configure +} + +src_compile() { + egamesconf \ + --with-setgid=${GAMES_GROUP} \ + `use_enable cjk japanese` \ + `use_with X x` \ + || die "configure failed" + emake || die "make failed" +} + +src_install() { + make DESTDIR=${D} install || die + if [ `use cjk` ] ; then + dodoc readme.txt autopick.txt + else + newdoc readme_eng.txt readme.txt + newdoc autopick_eng.txt autopick.txt + fi + dodoc readme.txt + prepgamesdirs + # FIXME: we need to patch around this BS + fperms g+w ${GAMES_DATADIR}/${PN}/lib/{apex,data,save,user} +} |