summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-09-07 07:50:27 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-09-07 07:50:27 +0000
commit7021ef9c0285d1f2278b47bdada4736fbbf67318 (patch)
tree75890155d379cbf5609dc3bf78761d2af5011a66 /games-arcade/bomns/bomns-0.99.1.ebuild
parentCleaning out vulnerable to local arp DOS version. (diff)
downloadgentoo-2-7021ef9c0285d1f2278b47bdada4736fbbf67318.tar.gz
gentoo-2-7021ef9c0285d1f2278b47bdada4736fbbf67318.tar.bz2
gentoo-2-7021ef9c0285d1f2278b47bdada4736fbbf67318.zip
patch to fix data install from Tristan Heaven via bug #132092
(Portage version: 2.1.1_rc1-r4)
Diffstat (limited to 'games-arcade/bomns/bomns-0.99.1.ebuild')
-rw-r--r--games-arcade/bomns/bomns-0.99.1.ebuild32
1 files changed, 22 insertions, 10 deletions
diff --git a/games-arcade/bomns/bomns-0.99.1.ebuild b/games-arcade/bomns/bomns-0.99.1.ebuild
index 8f6c0a69ec41..38aef5c99a80 100644
--- a/games-arcade/bomns/bomns-0.99.1.ebuild
+++ b/games-arcade/bomns/bomns-0.99.1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/bomns/bomns-0.99.1.ebuild,v 1.1 2005/12/01 01:14:18 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/bomns/bomns-0.99.1.ebuild,v 1.2 2006/09/07 07:50:27 mr_bones_ Exp $
inherit flag-o-matic games
-MY_P="greenridge"
DESCRIPTION="A fast-paced multiplayer deathmatch arcade game."
HOMEPAGE="http://greenridge.sourceforge.net"
-SRC_URI="mirror://sourceforge/${MY_P}/${PF}.tar.gz"
+SRC_URI="mirror://sourceforge/greenridge/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@@ -17,17 +17,29 @@ DEPEND="media-libs/libsdl
media-libs/sdl-mixer
gtk? ( =x11-libs/gtk+-2* )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s:\$*[({]prefix[})]/share:${GAMES_DATADIR}:" \
+ configure \
+ graphics/Makefile.in \
+ levels/Makefile.in \
+ sounds/Makefile.in \
+ || die "sed failed"
+}
+
src_compile() {
filter-flags -fforce-addr
egamesconf \
- --disable-launcher1 \
- $(use_enable gtk2 launcher2) \
- $(use_enable editor editor) \
- || die "econf failed."
+ --disable-launcher1 \
+ $(use_enable gtk launcher2) \
+ $(use_enable editor) \
+ || die "econf failed."
}
src_install() {
- make DESTDIR=${D} install || die "make install failed."
- dodoc AUTHORS README NEWS TODO
+ emake DESTDIR="${D}" install || die "make install failed."
+ dodoc AUTHORS ChangeLog NEWS README TODO
prepgamesdirs
}