summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-06 21:51:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-06 21:51:49 +0000
commit168786874234e506b591c617fc137347e999b7f2 (patch)
tree76d7012e9e500bf921b190777f419251ff68257c /games-action
parentold (diff)
downloadgentoo-2-168786874234e506b591c617fc137347e999b7f2.tar.gz
gentoo-2-168786874234e506b591c617fc137347e999b7f2.tar.bz2
gentoo-2-168786874234e506b591c617fc137347e999b7f2.zip
EAPI=2; add use-based dep for sdl-mixer
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/powermanga/ChangeLog8
-rw-r--r--games-action/powermanga/powermanga-0.90.ebuild22
2 files changed, 12 insertions, 18 deletions
diff --git a/games-action/powermanga/ChangeLog b/games-action/powermanga/ChangeLog
index 52c757ffcaa2..d98d4060860b 100644
--- a/games-action/powermanga/ChangeLog
+++ b/games-action/powermanga/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/powermanga
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.15 2008/06/25 19:23:15 nixnut Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.16 2009/01/06 21:51:49 mr_bones_ Exp $
+
+ 06 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ powermanga-0.90.ebuild:
+ EAPI=2; add use-based dep for sdl-mixer
25 Jun 2008; nixnut <nixnut@gentoo.org> powermanga-0.90.ebuild:
Stable on ppc wrt bug 229239
diff --git a/games-action/powermanga/powermanga-0.90.ebuild b/games-action/powermanga/powermanga-0.90.ebuild
index 7a86ed2d6679..dafa1b8a6a68 100644
--- a/games-action/powermanga/powermanga-0.90.ebuild
+++ b/games-action/powermanga/powermanga-0.90.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.90.ebuild,v 1.4 2008/06/25 19:23:15 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.90.ebuild,v 1.5 2009/01/06 21:51:49 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="An arcade 2D shoot-em-up game"
@@ -14,19 +15,9 @@ KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND=">=media-libs/libsdl-0.11.0
- media-libs/sdl-mixer"
+ media-libs/sdl-mixer[mikmod]"
-pkg_setup() {
- if ! built_with_use media-libs/sdl-mixer mikmod ; then
- eerror "${PN} needs sdl-mixer compiled with mikmod use-flag enabled!"
- die "sdl-mixer without mikmod detected"
- fi
- games_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i -e "/null/d" graphics/Makefile.in || die "sed failed"
sed -i -e "/zozo/d" texts/text_en.txt || die "sed failed"
local f
@@ -39,9 +30,8 @@ src_unpack() {
done
}
-src_compile() {
+src_configure() {
egamesconf --prefix=/usr || die "egamesconf failed"
- emake || die "emake failed"
}
src_install() {