From a24e540e383cbc1725cbdad8ac44b3062209f4ef Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Mon, 5 Jan 2015 20:22:22 +0000 Subject: EAPI 5 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D) --- games-arcade/wop/ChangeLog | 7 +++++-- games-arcade/wop/wop-0.4.3-r1.ebuild | 18 ++++++++---------- 2 files changed, 13 insertions(+), 12 deletions(-) (limited to 'games-arcade') 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 wop-0.4.3-r1.ebuild: + EAPI 5 05 Jan 2010; Tupone Alfredo 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 -- cgit v1.2.3-65-gdbad