From 27fff04aa8ec07a900567b517e074bc2828463f1 Mon Sep 17 00:00:00 2001
From: Tristan Heaven <nyhm@gentoo.org>
Date: Wed, 7 Oct 2009 14:48:09 +0000
Subject: EAPI=2 (Portage version: 2.2_rc44/cvs/Linux x86_64)

---
 games-fps/doom3-phantasm/ChangeLog                 |  7 +++++--
 games-fps/doom3-phantasm/doom3-phantasm-1.2.ebuild | 18 +++++++-----------
 2 files changed, 12 insertions(+), 13 deletions(-)

(limited to 'games-fps')

diff --git a/games-fps/doom3-phantasm/ChangeLog b/games-fps/doom3-phantasm/ChangeLog
index 08ca6f52a5f3..974d733bcdd7 100644
--- a/games-fps/doom3-phantasm/ChangeLog
+++ b/games-fps/doom3-phantasm/ChangeLog
@@ -1,6 +1,9 @@
 # ChangeLog for games-fps/doom3-phantasm
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-phantasm/ChangeLog,v 1.2 2008/02/15 00:41:21 wolf31o2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-phantasm/ChangeLog,v 1.3 2009/10/07 14:48:09 nyhm Exp $
+
+  07 Oct 2009; Tristan Heaven <nyhm@gentoo.org> doom3-phantasm-1.2.ebuild:
+  EAPI=2
 
   15 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
   doom3-phantasm-1.2.ebuild:
diff --git a/games-fps/doom3-phantasm/doom3-phantasm-1.2.ebuild b/games-fps/doom3-phantasm/doom3-phantasm-1.2.ebuild
index a39752f4a981..738fb520df95 100644
--- a/games-fps/doom3-phantasm/doom3-phantasm-1.2.ebuild
+++ b/games-fps/doom3-phantasm/doom3-phantasm-1.2.ebuild
@@ -1,11 +1,12 @@
-# Copyright 1999-2008 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/doom3-phantasm/doom3-phantasm-1.2.ebuild,v 1.3 2009/10/01 20:58:05 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-phantasm/doom3-phantasm-1.2.ebuild,v 1.4 2009/10/07 14:48:09 nyhm Exp $
+
+EAPI=2
 
 MOD_DESC="single-player short mod based on the Phantasm horror movies"
 MOD_NAME="Phantasm"
 MOD_DIR="phantasm"
-MOD_BINS="phantasm"
 
 inherit games games-mods
 
@@ -18,18 +19,13 @@ LICENSE="as-is"
 KEYWORDS="amd64 x86"
 IUSE="dedicated opengl"
 
-S=${WORKDIR}
-
-src_unpack() {
-	games-mods_src_unpack
-	cd "${S}"
-
+src_prepare() {
 	# Remove useless "_d3" from directory name
-	mv "${MOD_DIR}"* "${MOD_DIR}" || die
+	mv -f ${MOD_DIR}_d3 ${MOD_DIR} || die
 
 	# Oh no, a filename containing a space! Gives Portage the heebee-jeebies:
 	# * checking 8 files for package collisions
 	# existing file /usr/share/games/doom3/phantasm/
 	# phantasm_d3_1.2  readme.txt is not owned by this package
-	mv "${MOD_DIR}"/phantasm*.txt "${MOD_DIR}"/README.phantasm.txt || die
+	mv -f ${MOD_DIR}/phantasm*.txt ${MOD_DIR}/README.phantasm.txt || die
 }
-- 
cgit v1.2.3-65-gdbad