summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/wop/ChangeLog7
-rw-r--r--games-arcade/wop/wop-0.4.3-r1.ebuild18
2 files changed, 13 insertions, 12 deletions
diff --git a/games-arcade/wop/ChangeLog b/games-arcade/wop/ChangeLog
index dc49b5f32ef9..fdc20ecd3185 100644
--- a/games-arcade/wop/ChangeLog
+++ b/games-arcade/wop/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/wop
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/wop/ChangeLog,v 1.10 2010/01/05 15:18:24 tupone Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/wop/ChangeLog,v 1.11 2015/01/05 20:22:22 tupone Exp $
+
+ 05 Jan 2015; Tupone Alfredo <tupone@gentoo.org> wop-0.4.3-r1.ebuild:
+ EAPI 5
05 Jan 2010; Tupone Alfredo <tupone@gentoo.org>
files/wop-0.4.3-gcc43.patch:
diff --git a/games-arcade/wop/wop-0.4.3-r1.ebuild b/games-arcade/wop/wop-0.4.3-r1.ebuild
index fe3a6a4301d3..2ab97a33e888 100644
--- a/games-arcade/wop/wop-0.4.3-r1.ebuild
+++ b/games-arcade/wop/wop-0.4.3-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/wop/wop-0.4.3-r1.ebuild,v 1.6 2009/01/27 14:42:16 tupone Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/wop/wop-0.4.3-r1.ebuild,v 1.7 2015/01/05 20:22:22 tupone Exp $
+EAPI=5
inherit eutils toolchain-funcs games
MY_DATA_V="2005-12-21"
@@ -26,9 +26,7 @@ DEPEND="${RDEPEND}
MY_DATA_S=${WORKDIR}/${MY_DATA_P}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
# correct path to global woprc
sed -i \
-e "s:/etc/woprc:${GAMES_SYSCONFDIR}/woprc:g" \
@@ -44,15 +42,15 @@ src_unpack() {
}
src_compile() {
- emake CXX=$(tc-getCXX) || die "emake failed"
+ emake CXX=$(tc-getCXX)
}
src_install() {
- dogamesbin bin/${PN} || die "dogamesbin failed"
+ dogamesbin bin/${PN}
insinto "${GAMES_DATADIR}"/${PN}
- doins -r "${MY_DATA_S}"/* || die "doins data failed"
+ doins -r "${MY_DATA_S}"/*
insinto "${GAMES_SYSCONFDIR}"
- doins woprc || die "doins woprc failed"
+ doins woprc
newicon "${MY_DATA_S}"/images/misc/icons/wop16.png ${PN}.png
make_desktop_entry wop "Worms of Prey"
dodoc AUTHORS ChangeLog README{,-Libraries.txt} REVIEWS