summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-18 04:20:13 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-18 04:20:13 -0500
commit320027996521e8160e4f0254b846450e3f757d37 (patch)
tree493e433088ed41d9d9afa4882238cb3af4118acc /games-action
parentEAPI=5; minor tidying (diff)
downloadgentoo-320027996521e8160e4f0254b846450e3f757d37.tar.gz
gentoo-320027996521e8160e4f0254b846450e3f757d37.tar.bz2
gentoo-320027996521e8160e4f0254b846450e3f757d37.zip
EAPI=5; minor tidying
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-action')
-rw-r--r--games-action/rrootage/rrootage-0.23a.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games-action/rrootage/rrootage-0.23a.ebuild b/games-action/rrootage/rrootage-0.23a.ebuild
index 3a1657d58e4..33ae6290949 100644
--- a/games-action/rrootage/rrootage-0.23a.ebuild
+++ b/games-action/rrootage/rrootage-0.23a.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=5
inherit eutils games
MY_PN="rRootage"
@@ -22,7 +22,7 @@ DEPEND="virtual/opengl
media-libs/libsdl[video]
media-libs/sdl-mixer[vorbis]
>=dev-libs/libbulletml-0.0.3"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
S=${WORKDIR}/${MY_PN}/src
@@ -37,12 +37,11 @@ src_prepare() {
-e "/^CPPFLAGS/s/MORE_CFLAGS/MORE_CXXFLAGS/" \
-e "s/ -mwindows//" \
-e "s:-I./bulletml/:-I/usr/include/bulletml:" \
- makefile.lin > Makefile || die "sed failed"
+ makefile.lin > Makefile || die
sed -i \
-e "s:/usr/share/games:${GAMES_DATADIR}:" \
- barragemanager.cc screen.c soundmanager.c \
- || die "sed failed"
+ barragemanager.cc screen.c soundmanager.c || die
}
src_compile() {
@@ -54,7 +53,7 @@ src_compile() {
src_install() {
newgamesbin rr ${PN}
dodir "${GAMES_DATADIR}/${MY_PN}"
- cp -r ../rr_share/* "${D}/${GAMES_DATADIR}/${MY_PN}" || die "cp failed"
+ cp -r ../rr_share/* "${D}/${GAMES_DATADIR}/${MY_PN}" || die
dodoc ../readme*
prepgamesdirs
}