diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-12-02 01:20:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-12-02 01:20:06 +0000 |
commit | 7d7a9c8ba5f4c035b9e8495500d93713655a0e85 (patch) | |
tree | f678d3a961b27a6935b2e2827def0c983cda6501 /games-roguelike | |
parent | stable on x86 (diff) | |
download | gentoo-2-7d7a9c8ba5f4c035b9e8495500d93713655a0e85.tar.gz gentoo-2-7d7a9c8ba5f4c035b9e8495500d93713655a0e85.tar.bz2 gentoo-2-7d7a9c8ba5f4c035b9e8495500d93713655a0e85.zip |
ver bump #25621
Diffstat (limited to 'games-roguelike')
5 files changed, 118 insertions, 4 deletions
diff --git a/games-roguelike/falconseye/ChangeLog b/games-roguelike/falconseye/ChangeLog index c7080b48190f..c988b7e2e35c 100644 --- a/games-roguelike/falconseye/ChangeLog +++ b/games-roguelike/falconseye/ChangeLog @@ -1,10 +1,11 @@ # ChangeLog for games-roguelike/falconseye # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/falconseye/ChangeLog,v 1.2 2003/09/10 15:54:47 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/falconseye/ChangeLog,v 1.3 2003/12/02 01:20:06 vapier Exp $ - 02 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> - falconseye-1.9.3-r1.ebuild: - Fixed to use mirror://sourceforge +*falconseye-1.9.4 (01 Dec 2003) + + 01 Dec 2003; Mike Frysinger <vapier@gentoo.org> : + Version bump #25621 + games.eclass support. *falconseye-1.9.3-r1 (11 Jul 2002) diff --git a/games-roguelike/falconseye/falconseye-1.9.4a.ebuild b/games-roguelike/falconseye/falconseye-1.9.4a.ebuild new file mode 100644 index 000000000000..a299d684942e --- /dev/null +++ b/games-roguelike/falconseye/falconseye-1.9.4a.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/falconseye/falconseye-1.9.4a.ebuild,v 1.1 2003/12/02 01:20:06 vapier Exp $ + +inherit games + +DESCRIPTION="A graphical version of nethack (unofficially developed version 1.94)" +HOMEPAGE="http://falconseye.sourceforge.net/" +SRC_URI="http://cage.ugent.be/~jdemeyer/nethack/nethack-341-jtp-194a.tar.bz2" + +LICENSE="nethack" +SLOT="0" +KEYWORDS="x86 ppc" + +DEPEND="media-libs/libsdl + dev-util/yacc + dev-util/byacc" +RDEPEND="media-libs/libsdl + media-sound/timidity++ + media-sound/mpg123" + +S=${WORKDIR}/nethack-341-jtp-194a + +src_unpack() { + unpack ${A} + cd ${S} + source sys/unix/setup.sh + cd ../../ + + epatch ${FILESDIR}/${PV}-gentoo-paths.patch + epatch ${FILESDIR}/${PV}-default-options.patch + sed -i "s:GENTOO_STATEDIR:${GAMES_STATEDIR}/${PN}:" include/unixconf.h || die "setting statedir" + sed -i "s:GENTOO_HACKDIR:${GAMES_DATADIR}/${PN}:" include/config.h || die "seting hackdir" + sed -i 's:/usr/local/bin/timidity:/usr/bin/timidity:' win/jtp/gamedata/config/jtp_opts.txt +} + +src_compile() { + emake -j1 \ + GAME=falconseye \ + CFLAGS="${CFLAGS} -I../include -I../win/jtp" \ + || die "game failed" + cd doc + emake || die "doc failed" +} + +src_install() { + emake \ + GAMEPERM=0755 \ + PREFIX=${D}/usr \ + GAME=falconseye \ + GAMEUID=${GAMES_USER} \ + GAMEGRP=${GAMES_GROUP} \ + GAMEDIR=${D}/${GAMES_DATADIR}/${PN} \ + VARDIR=${D}/${GAMES_STATEDIR}/${PN} \ + SHELLDIR=${D}/${GAMES_BINDIR} \ + install \ + || die "install failed" + dosed "s:${D}/::" ${GAMES_BINDIR}/falconseye + sed 's:nethack:falconseye:g' doc/nethack.6 > doc/falconseye.6 + doman doc/falconseye.6 + dodoc ChangeLog README falcon.txt + prepgamesdirs +} diff --git a/games-roguelike/falconseye/files/1.9.4a-default-options.patch b/games-roguelike/falconseye/files/1.9.4a-default-options.patch new file mode 100644 index 000000000000..d6516ce23254 --- /dev/null +++ b/games-roguelike/falconseye/files/1.9.4a-default-options.patch @@ -0,0 +1,31 @@ +--- include/config.h.orig 2003-12-01 17:13:46.792453840 -0500 ++++ include/config.h 2003-12-01 17:15:08.339056872 -0500 +@@ -179,8 +179,8 @@ + + #ifdef UNIX + /* path and file name extension for compression program */ +-#define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ +-#define COMPRESS_EXTENSION ".Z" /* compress's extension */ ++#define COMPRESS "/bin/bzip2" ++#define COMPRESS_EXTENSION ".bz2" + /* An example of one alternative you might want to use: */ + /* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ + /* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ +@@ -217,7 +217,7 @@ + # ifdef __APPLE__ + # define HACKDIR "nethackdir" /* nethack directory */ + # else +-# define HACKDIR "/usr/games/lib/nethackdir" ++# define HACKDIR "GENTOO_HACKDIR" + # endif + # endif + +@@ -314,7 +314,7 @@ + * functions that have been macroized. + */ + +-/* #define VISION_TABLES */ /* use vision tables generated at compile time */ ++#define VISION_TABLES 1 + #ifndef VISION_TABLES + # ifndef NO_MACRO_CPATH + # define MACRO_CPATH /* use clear_path macros instead of functions */ diff --git a/games-roguelike/falconseye/files/1.9.4a-gentoo-paths.patch b/games-roguelike/falconseye/files/1.9.4a-gentoo-paths.patch new file mode 100644 index 000000000000..a048cc836ec1 --- /dev/null +++ b/games-roguelike/falconseye/files/1.9.4a-gentoo-paths.patch @@ -0,0 +1,18 @@ +--- include/unixconf.h.orig 2003-12-01 17:11:49.313313384 -0500 ++++ include/unixconf.h 2003-12-01 17:12:17.518025616 -0500 +@@ -96,13 +96,13 @@ + */ + + /* #define NO_FILE_LINKS */ /* if no hard links */ +-/* #define LOCKDIR "/usr/games/lib/nethackdir" */ /* where to put locks */ ++#define LOCKDIR "GENTOO_STATEDIR" + + /* + * If you want the static parts of your playground on a read-only file + * system, define VAR_PLAYGROUND to be where the variable parts are kept. + */ +-/* #define VAR_PLAYGROUND "/var/lib/games/nethack" */ ++#define VAR_PLAYGROUND "GENTOO_STATEDIR" + + + /* diff --git a/games-roguelike/falconseye/files/digest-falconseye-1.9.4a b/games-roguelike/falconseye/files/digest-falconseye-1.9.4a new file mode 100644 index 000000000000..97d6afba9591 --- /dev/null +++ b/games-roguelike/falconseye/files/digest-falconseye-1.9.4a @@ -0,0 +1 @@ +MD5 d80b4e1d5ae819dde2036e3711fe58a0 nethack-341-jtp-194a.tar.bz2 7429976 |