/[gentoo-x86]/games-arcade/bomns/bomns-0.99.2.ebuild
Gentoo

Contents of /games-arcade/bomns/bomns-0.99.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jan 7 23:23:00 2010 UTC (4 years, 11 months ago) by josejx
Branch: MAIN
Changes since 1.3: +3 -3 lines
Marked ppc stable for bug #294334.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/bomns/bomns-0.99.2.ebuild,v 1.3 2009/11/25 14:03:35 maekke Exp $
4
5 EAPI=2
6 inherit autotools flag-o-matic games
7
8 DESCRIPTION="A fast-paced multiplayer deathmatch arcade game."
9 HOMEPAGE="http://greenridge.sourceforge.net"
10 SRC_URI="mirror://sourceforge/greenridge/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
15 IUSE="gtk editor"
16
17 DEPEND="media-libs/libsdl[video]
18 media-libs/sdl-mixer
19 gtk? ( x11-libs/gtk+:2 )"
20
21 src_prepare() {
22 sed -i \
23 -e "/appicondir/s:\$(prefix):/usr:" \
24 -e "/desktopdir/s:\$(prefix):/usr:" \
25 $(find icons -name Makefile.am) \
26 Makefile.am \
27 || die "sed failed"
28 sed -i \
29 -e "s:\$*[({]prefix[})]/share:${GAMES_DATADIR}:" \
30 configure.in \
31 graphics/Makefile.am \
32 levels/Makefile.am \
33 sounds/Makefile.am \
34 || die "sed failed"
35 eautoreconf
36 }
37
38 src_configure() {
39 filter-flags -fforce-addr
40 egamesconf \
41 --disable-dependency-tracking \
42 --disable-launcher1 \
43 $(use_enable gtk launcher2) \
44 $(use_enable editor)
45 }
46
47 src_install() {
48 emake DESTDIR="${D}" install || die "make install failed."
49 dodoc AUTHORS ChangeLog NEWS README TODO
50 prepgamesdirs
51 }

  ViewVC Help
Powered by ViewVC 1.1.20