summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-06-11 13:38:16 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-06-11 13:38:16 +0000
commit8c474ec7b1e0d5f58a8569aa69d2e420c38703d8 (patch)
tree262c353dd8a936a2efb2e48cd20ef0274c06acfa /games-arcade
parentAdjust to make use of kde-ebuild-functionality. (diff)
downloadgentoo-2-8c474ec7b1e0d5f58a8569aa69d2e420c38703d8.tar.gz
gentoo-2-8c474ec7b1e0d5f58a8569aa69d2e420c38703d8.tar.bz2
gentoo-2-8c474ec7b1e0d5f58a8569aa69d2e420c38703d8.zip
tidy
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/sdb/sdb-1.0.2.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/games-arcade/sdb/sdb-1.0.2.ebuild b/games-arcade/sdb/sdb-1.0.2.ebuild
index 1246f7bd2afe..42f1b77f8cda 100644
--- a/games-arcade/sdb/sdb-1.0.2.ebuild
+++ b/games-arcade/sdb/sdb-1.0.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdb/sdb-1.0.2.ebuild,v 1.2 2005/06/11 12:56:35 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/sdb/sdb-1.0.2.ebuild,v 1.3 2005/06/11 13:38:16 mr_bones_ Exp $
-inherit games
+inherit eutils games
DESCRIPTION="a 2D top-down action game; escape a facility full of walking death machines"
HOMEPAGE="http://sdb.gamecreation.org/"
@@ -28,19 +28,20 @@ src_unpack() {
-e "s:levels/:${GAMES_DATADIR}/${PN}/levels/:" \
src/sdb.h src/game.cpp || die "setting game paths"
# This patch should be endian safe
- use ppc && epatch ${FILESDIR}/${P}-endian.patch
+ use ppc && epatch "${FILESDIR}"/${P}-endian.patch
}
src_compile() {
emake \
-C src \
CXXFLAGS="${CXXFLAGS} $(sdl-config --cflags)" \
- || die
+ || die "emake failed"
}
src_install() {
- dogamesbin src/sdb || die "dobin"
+ dogamesbin src/sdb || die "dogamesbin failed"
insinto "${GAMES_DATADIR}"/${PN}
- doins -r levels models snd sprites || die "doins"
+ doins -r levels models snd sprites || die "doins failed"
dodoc ChangeLog README
+ prepgamesdirs
}