summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-09-08 15:38:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-09-08 15:38:25 +0000
commitad5e614fff81c06faa3578d84f35395e80fca8e8 (patch)
tree31e0984726d76ac8d12b0b70d66bb29b6cffce5a /games-arcade
parentBumping to 0.7.3 (diff)
downloadhistorical-ad5e614fff81c06faa3578d84f35395e80fca8e8.tar.gz
historical-ad5e614fff81c06faa3578d84f35395e80fca8e8.tar.bz2
historical-ad5e614fff81c06faa3578d84f35395e80fca8e8.zip
honor LDFLAGS (bug #336452); honor CXX; EAPI=2; tidy
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/betna/ChangeLog7
-rw-r--r--games-arcade/betna/Manifest4
-rw-r--r--games-arcade/betna/betna-0.9.7.ebuild27
3 files changed, 23 insertions, 15 deletions
diff --git a/games-arcade/betna/ChangeLog b/games-arcade/betna/ChangeLog
index fdf8a1afa7ec..101604de8c21 100644
--- a/games-arcade/betna/ChangeLog
+++ b/games-arcade/betna/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/betna
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/betna/ChangeLog,v 1.8 2007/04/09 21:48:40 welp Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/betna/ChangeLog,v 1.9 2010/09/08 15:38:25 mr_bones_ Exp $
+
+ 08 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org> betna-0.9.7.ebuild:
+ honor LDFLAGS (bug #336452); honor CXX; EAPI=2; tidy
09 Apr 2007; Peter Weller <welp@gentoo.org> betna-0.9.7.ebuild:
Keyworded ~x86-fbsd wrt bug 173405
diff --git a/games-arcade/betna/Manifest b/games-arcade/betna/Manifest
index 001abb34bbeb..b526f8cac429 100644
--- a/games-arcade/betna/Manifest
+++ b/games-arcade/betna/Manifest
@@ -1,4 +1,4 @@
DIST betna-0.9.7.tgz 684723 RMD160 eceeef49e0ed19f6af33ed6637a3c048a52405a5 SHA1 6f80db0bb5fbc779443455a9e7e520b8fb288cdc SHA256 312267ab2f727e91343673b832d243c9d8a16a744d1d104c4bbe8502268beff4
-EBUILD betna-0.9.7.ebuild 1042 RMD160 4c70e56539019b0834519ac0e9c110addc21952b SHA1 696c2cc4df9c700cc1888c9b4b3be08c74294676 SHA256 eda22f726daabcbbef07b9fbaeae5a2869c2f0fc7e722a58ba07f45e088236ec
-MISC ChangeLog 947 RMD160 2d7a7e5b2db4c3bebd82c0e00a2c708e93721aa2 SHA1 2d88bbc65be543945b458ccdf4d4a6c04a6c8e43 SHA256 73562e562c88ebae229357e55523f66ec295a0402928b8072205d3954edba87b
+EBUILD betna-0.9.7.ebuild 1173 RMD160 348802d2fe06925f6b20237e2f7e2dde5e6687a4 SHA1 42f9bcb33d222b61b732d0d806575c122cfcd110 SHA256 72fdc51fd6150e6d606634b463b2a89b4337ac492926d4c8646321a10a3bd703
+MISC ChangeLog 1083 RMD160 bb432513e2e89ac80fc340fd1bf2d511da034604 SHA1 b59289f898b3afb7a8a9cd5238509e405f73983f SHA256 b0d6549bfac97615126ebf6f252f7ad134e76abff48ecbf8989e86f553497644
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-arcade/betna/betna-0.9.7.ebuild b/games-arcade/betna/betna-0.9.7.ebuild
index 75aa9cf397b7..f90747b1cb2e 100644
--- a/games-arcade/betna/betna-0.9.7.ebuild
+++ b/games-arcade/betna/betna-0.9.7.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/betna/betna-0.9.7.ebuild,v 1.9 2007/04/09 21:48:40 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/betna/betna-0.9.7.ebuild,v 1.10 2010/09/08 15:38:25 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="Defend your volcano from the attacking ants by firing rocks/bullets at them"
@@ -13,21 +14,25 @@ SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86 ~x86-fbsd"
IUSE=""
-DEPEND="media-libs/libsdl"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+DEPEND="media-libs/libsdl[video]"
+src_prepare() {
sed -i \
+ -e '/blobprintf.*char msg/s/char msg/const char msg/' \
-e "s:images/:${GAMES_DATADIR}/${PN}/:" \
- src/main.cpp || die "sed main.cpp failed"
+ src/main.cpp || die
sed -i \
- -e "s:-O2:${CXXFLAGS}:" \
- Makefile || die "sed Makefile failed"
+ -e '/^LDFLAGS/d' \
+ -e '/--libs/s/-o/$(LDFLAGS) -o/' \
+ -e 's:-O2:$(CXXFLAGS):g' \
+ -e 's/g++/$(CXX)/' \
+ Makefile || die
+}
- emake clean
+src_compile() {
+ emake clean || die
+ emake || die
}
src_install() {