/[gentoo-x86]/games-roguelike/falconseye/falconseye-1.9.4a.ebuild
Gentoo

Contents of /games-roguelike/falconseye/falconseye-1.9.4a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Tue Sep 25 15:33:13 2012 UTC (2 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
games-roguelike/falconseye is gone

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-roguelike/falconseye/falconseye-1.9.4a.ebuild,v 1.10 2009/09/06 17:52:22 ssuominen Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="A graphical version of nethack (unofficially developed version 1.94)"
8 HOMEPAGE="http://falconseye.sourceforge.net/"
9 SRC_URI="http://cage.ugent.be/~jdemeyer/nethack/nethack-341-jtp-194a.tar.bz2"
10
11 KEYWORDS="x86 ppc ~amd64"
12 LICENSE="nethack"
13 SLOT="0"
14 IUSE=""
15
16 DEPEND="media-libs/libsdl
17 dev-util/yacc
18 dev-util/byacc"
19 RDEPEND="media-libs/libsdl
20 media-sound/timidity++
21 media-sound/mpg123"
22
23 S=${WORKDIR}/nethack-341-jtp-194a
24
25 src_unpack() {
26 unpack ${A}
27 cd "${S}"
28 source sys/unix/setup.sh
29 cd ../../
30
31 epatch "${FILESDIR}/${PV}-gentoo-paths.patch"
32 epatch "${FILESDIR}/${PV}-default-options.patch"
33 sed -i "s:GENTOO_STATEDIR:${GAMES_STATEDIR}/${PN}:" include/unixconf.h || die "setting statedir"
34 sed -i "s:GENTOO_HACKDIR:${GAMES_DATADIR}/${PN}:" include/config.h || die "seting hackdir"
35 sed -i 's:/usr/local/bin/timidity:/usr/bin/timidity:' win/jtp/gamedata/config/jtp_opts.txt
36 }
37
38 src_compile() {
39 emake -j1 \
40 GAME=falconseye \
41 CFLAGS="${CFLAGS} -I../include -I../win/jtp" \
42 || die "game failed"
43 cd doc
44 emake || die "doc failed"
45 }
46
47 src_install() {
48 emake \
49 GAMEPERM=0755 \
50 PREFIX=${D}/usr \
51 GAME=falconseye \
52 GAMEUID=${GAMES_USER} \
53 GAMEGRP=${GAMES_GROUP} \
54 GAMEDIR=${D}/${GAMES_DATADIR}/${PN} \
55 VARDIR=${D}/${GAMES_STATEDIR}/${PN} \
56 SHELLDIR=${D}/${GAMES_BINDIR} \
57 install \
58 || die "install failed"
59 dosed "s:${D}/::" "${GAMES_BINDIR}/falconseye"
60 sed 's:nethack:falconseye:g' doc/nethack.6 > doc/falconseye.6
61 doman doc/falconseye.6
62 dodoc ChangeLog README falcon.txt
63 prepgamesdirs
64 chmod -R g+w "${D}/${GAMES_STATEDIR}"
65 }

  ViewVC Help
Powered by ViewVC 1.1.20