summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/blackshades/blackshades-20070723.ebuild')
-rw-r--r--games-fps/blackshades/blackshades-20070723.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/games-fps/blackshades/blackshades-20070723.ebuild b/games-fps/blackshades/blackshades-20070723.ebuild
index 3546f62a3914..d3ecbd31dac6 100644
--- a/games-fps/blackshades/blackshades-20070723.ebuild
+++ b/games-fps/blackshades/blackshades-20070723.ebuild
@@ -1,6 +1,7 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades/blackshades-20070723.ebuild,v 1.1 2007/07/23 16:07:26 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades/blackshades-20070723.ebuild,v 1.2 2009/06/08 07:17:35 tupone Exp $
+EAPI=2
inherit eutils games
@@ -21,12 +22,11 @@ DEPEND="virtual/opengl
media-libs/openal
media-libs/freealut
media-libs/libsdl"
+RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
rm -rf Data/Textures
rm -f ../Textures/{,Blood/}._*
mv -f ../Textures Data || die "mv failed"
@@ -41,6 +41,11 @@ src_unpack() {
|| die "sed Main.cpp failed"
}
+src_compile() {
+ emake bindir || die "emake bindir failed"
+ emake || die "emake failed"
+}
+
src_install() {
newgamesbin objs/blackshades ${PN} || die "newgamesbin failed"
insinto "${GAMES_DATADIR}"/${PN}