summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-16 09:35:10 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-16 09:35:10 +0000
commit2330642298697ea1d8faacbcaf92e26178c0cd5c (patch)
treeeb597e9452aa567be0fb17e890659c6c5376735a
parentfix wrapper script (bug #41740); check sed return (Manifest recommit) (diff)
downloadgentoo-2-2330642298697ea1d8faacbcaf92e26178c0cd5c.tar.gz
gentoo-2-2330642298697ea1d8faacbcaf92e26178c0cd5c.tar.bz2
gentoo-2-2330642298697ea1d8faacbcaf92e26178c0cd5c.zip
touchups
-rw-r--r--games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild b/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild
index 28225134ed4d..62232c1831ae 100644
--- a/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild
+++ b/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild
@@ -1,19 +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-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild,v 1.5 2004/02/16 09:19:44 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild,v 1.6 2004/02/16 09:35:10 vapier Exp $
inherit eutils games
MY_PN=${PN//-/_}
-S="${WORKDIR}/${MY_PN}-${PV}"
DESCRIPTION="Snipe terrorists from your orbital base"
HOMEPAGE="http://icculus.org/oes/"
SRC_URI="http://filesingularity.timedoctor.org/${MY_PN}-${PV}.tar.gz"
-KEYWORDS="x86 ppc"
LICENSE="ZLIB"
SLOT="0"
-IUSE=""
+KEYWORDS="x86 ppc"
RDEPEND=">=media-libs/libsdl-1.2.5-r1
>=media-libs/sdl-mixer-1.2.5-r1
@@ -21,17 +19,19 @@ RDEPEND=">=media-libs/libsdl-1.2.5-r1
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
+S=${WORKDIR}/${MY_PN}-${PV}
+
src_unpack() {
unpack ${A}
cd ${S}
sed -i \
-e 's:datadir="$with_games_dir"::' configure \
- || die "sed configure failed"
+ || die "sed configure failed"
cp -rf ${S}{,.orig}
epatch ${FILESDIR}/${PV}-gentoo-paths.patch
sed -i \
-e "s:GENTOO_DIR:${GAMES_DATADIR}/${MY_PN}:" src/snipe2d.cpp \
- || die "sed src/snipe2d.cpp failed"
+ || die "sed src/snipe2d.cpp failed"
}
src_compile() {
@@ -48,6 +48,6 @@ src_install() {
games_make_wrapper snipe2d ./snipe2d.x86.dynamic "${GAMES_LIBDIR}/${PN}"
- dodoc AUTHORS ChangeLog README TODO readme.txt || die "dodoc failed"
+ dodoc AUTHORS ChangeLog README TODO readme.txt
prepgamesdirs
}