summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-02 14:29:31 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-02 14:29:31 +0000
commit82d6792ca5aef13573d8ef2819b4b738d626d710 (patch)
tree4cd968deef39156f2484c8ff2035e3a3179b715c /games-arcade/criticalmass
parentuse sed -i (diff)
downloadhistorical-82d6792ca5aef13573d8ef2819b4b738d626d710.tar.gz
historical-82d6792ca5aef13573d8ef2819b4b738d626d710.tar.bz2
historical-82d6792ca5aef13573d8ef2819b4b738d626d710.zip
use sed -i
Diffstat (limited to 'games-arcade/criticalmass')
-rw-r--r--games-arcade/criticalmass/criticalmass-0.98.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/games-arcade/criticalmass/criticalmass-0.98.ebuild b/games-arcade/criticalmass/criticalmass-0.98.ebuild
index 66899d76af0a..7bb0935c76e5 100644
--- a/games-arcade/criticalmass/criticalmass-0.98.ebuild
+++ b/games-arcade/criticalmass/criticalmass-0.98.ebuild
@@ -1,17 +1,17 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/criticalmass/criticalmass-0.98.ebuild,v 1.3 2004/02/20 06:20:00 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/criticalmass/criticalmass-0.98.ebuild,v 1.4 2004/03/02 14:27:38 vapier Exp $
inherit games
DESCRIPTION="SDL/OpenGL space shoot'em up game"
HOMEPAGE="http://criticalmass.sourceforge.net/"
SRC_URI="mirror://sourceforge/criticalmass/CriticalMass-${PV}.tar.bz2"
-RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
+IUSE=""
DEPEND="media-libs/sdl-mixer
media-libs/sdl-image
@@ -21,11 +21,10 @@ S=${WORKDIR}/CriticalMass-${PV}
src_compile() {
egamesconf || die
- for d in game puckman tinyxml tools utilities ; do
- cp ${d}/Makefile{,.orig}
- sed -e "/^CXXFLAGS =.*$/s:$: ${CXXFLAGS}:" \
- ${d}/Makefile.orig > ${d}/Makefile
- done
+ sed -i \
+ -e "/^CXXFLAGS =.*$/s:$: ${CXXFLAGS}:" \
+ {game,puckman,tinyxml,tools,utilities}/Makefile \
+ || die
emake || die
}