summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-15 01:30:53 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-15 01:30:53 +0000
commit4bd90c7155a3cd5ae61af30730b0b407b8ed1b10 (patch)
tree79890dbe077c236e8bdfebe64bdb717874128b2c /games-arcade
parentclean out old ebuilds and use a normal separator char in sed expression #1123... (diff)
downloadhistorical-4bd90c7155a3cd5ae61af30730b0b407b8ed1b10.tar.gz
historical-4bd90c7155a3cd5ae61af30730b0b407b8ed1b10.tar.bz2
historical-4bd90c7155a3cd5ae61af30730b0b407b8ed1b10.zip
touchup ebuild and use a normal separator char in sed expression #112379 by Ulrich Mueller
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/gav/gav-0.8.0.ebuild15
-rw-r--r--games-arcade/project-starfighter/project-starfighter-1.1.ebuild8
2 files changed, 11 insertions, 12 deletions
diff --git a/games-arcade/gav/gav-0.8.0.ebuild b/games-arcade/gav/gav-0.8.0.ebuild
index 0e564e870744..87d0d9eddac4 100644
--- a/games-arcade/gav/gav-0.8.0.ebuild
+++ b/games-arcade/gav/gav-0.8.0.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/gav/gav-0.8.0.ebuild,v 1.9 2005/09/19 17:42:43 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/gav/gav-0.8.0.ebuild,v 1.10 2005/11/15 01:30:19 vapier Exp $
inherit games
DESCRIPTION="GPL Arcade Volleyball"
-HOMEPAGE="http://gav.sourceforge.net"
+HOMEPAGE="http://gav.sourceforge.net/"
# the themes are behind a lame php-counter script.
SRC_URI="mirror://sourceforge/gav/${P}.tar.gz
mirror://gentoo/fabeach.tgz
@@ -30,16 +30,15 @@ src_unpack() {
unpack ${P}.tar.gz
cd "${S}"
- cp Makefile.Linux Makefile || die "cp 1 failed"
- cp automa/Makefile.Linux automa/Makefile || die "cp 2 failed"
- cp menu/Makefile.Linux menu/Makefile || die "cp 3 failed"
- cp net/Makefile.Linux net/Makefile || die "cp 4 failed"
+ for d in . automa menu net ; do
+ cp ${d}/Makefile.Linux ${d}/Makefile || die "cp ${d}/Makefile"
+ done
sed -i \
-e "s:/usr/bin:${GAMES_BINDIR}:" Makefile \
|| die "sed failed"
sed -i \
- -e "/-Wall/ s$ ${CXXFLAGS}" CommonHeader \
+ -e "/^CXXFLAGS=/s: -g : ${CXXFLAGS} :" CommonHeader \
|| die "sed failed"
# Now, unpack the additional themes
@@ -59,7 +58,7 @@ src_compile() {
}
src_install() {
- dodir "${GAMES_BINDIR}" || die "dodir failed"
+ dodir "${GAMES_BINDIR}"
make ROOT="${D}" install || die "make install failed"
cp -r sounds/ "${D}${GAMES_DATADIR}/${PN}" || die "cp failed"
dodoc CHANGELOG README
diff --git a/games-arcade/project-starfighter/project-starfighter-1.1.ebuild b/games-arcade/project-starfighter/project-starfighter-1.1.ebuild
index 099a53df089c..06f0fd754ef8 100644
--- a/games-arcade/project-starfighter/project-starfighter-1.1.ebuild
+++ b/games-arcade/project-starfighter/project-starfighter-1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/project-starfighter/project-starfighter-1.1.ebuild,v 1.11 2005/07/22 04:12:40 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/project-starfighter/project-starfighter-1.1.ebuild,v 1.12 2005/11/15 01:30:53 vapier Exp $
inherit eutils games
@@ -11,7 +11,7 @@ HOMEPAGE="http://www.parallelrealities.co.uk/starfighter.php"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
-SLOT=0
+SLOT="0"
KEYWORDS="~amd64 ppc sparc x86"
IUSE=""
@@ -25,7 +25,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
- -e "s-O3${CXXFLAGS}" makefile \
+ -e "s:-O3:${CXXFLAGS}:" makefile \
|| die "sed makefile failed"
epatch "${FILESDIR}"/${PV}-ammo.patch
}
@@ -34,7 +34,7 @@ src_compile() {
emake DATA="${GAMES_DATADIR}/parallelrealities/" || die "emake failed"
}
-src_install () {
+src_install() {
dogamesbin starfighter || die "dogamesbin failed"
insinto "${GAMES_DATADIR}/parallelrealities/"
doins starfighter.pak || die "doins failed"