summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild')
-rw-r--r--games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild25
1 files changed, 12 insertions, 13 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 c2b46dd78afa..2e049c0c103f 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,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# 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.8 2004/06/24 21:57:36 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild,v 1.9 2004/11/09 08:57:23 mr_bones_ Exp $
inherit eutils games
@@ -14,37 +14,36 @@ SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""
-RDEPEND=">=media-libs/libsdl-1.2.5-r1
+DEPEND=">=media-libs/libsdl-1.2.5-r1
>=media-libs/sdl-mixer-1.2.5-r1
>=media-libs/sdl-image-1.2.2"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
-S=${WORKDIR}/${MY_PN}-${PV}
+S="${WORKDIR}/${MY_PN}-${PV}"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
sed -i \
-e 's:datadir="$with_games_dir"::' configure \
|| die "sed configure failed"
- cp -rf ${S}{,.orig}
- epatch ${FILESDIR}/${PV}-gentoo-paths.patch
+ 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"
+ epatch "${FILESDIR}/${PV}-ai.patch"
}
src_compile() {
- egamesconf --with-games-dir=${GAMES_PREFIX} || die
+ egamesconf --with-games-dir="${GAMES_PREFIX}" || die
emake || die "emake failed"
}
src_install() {
- make DESTDIR=${D} install || die "make install failed"
- rm -f ${D}/${GAMES_BINDIR}/*
- dodir ${GAMES_LIBDIR}/${PN}
- mv ${D}/${GAMES_DATADIR}/${MY_PN}/snipe2d.* ${D}/${GAMES_LIBDIR}/${PN}/ \
+ make DESTDIR="${D}" install || die "make install failed"
+ rm -f "${D}/${GAMES_BINDIR}/"*
+ dodir "${GAMES_LIBDIR}/${PN}"
+ mv "${D}/${GAMES_DATADIR}/${MY_PN}/"snipe2d.* "${D}/${GAMES_LIBDIR}/${PN}/" \
|| die "mv failed"
games_make_wrapper snipe2d ./snipe2d.x86.dynamic "${GAMES_LIBDIR}/${PN}"