summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-10-08 18:05:46 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-10-08 18:05:46 +0000
commit96a9109f4855243890701fdcd2aff4ceb5aff868 (patch)
treeb03f52baeb6e9920a6318c00d15b04f549d2f91f
parentia64/s390/sh/sparc stable wrt #286002 (diff)
downloadgentoo-2-96a9109f4855243890701fdcd2aff4ceb5aff868.tar.gz
gentoo-2-96a9109f4855243890701fdcd2aff4ceb5aff868.tar.bz2
gentoo-2-96a9109f4855243890701fdcd2aff4ceb5aff868.zip
EAPI=2
(Portage version: 2.2_rc44/cvs/Linux x86_64)
-rw-r--r--games-fps/ut2004-da2/ChangeLog7
-rw-r--r--games-fps/ut2004-da2/ut2004-da2-1.6_beta.ebuild21
2 files changed, 16 insertions, 12 deletions
diff --git a/games-fps/ut2004-da2/ChangeLog b/games-fps/ut2004-da2/ChangeLog
index 35b78c54086d..335383d71b22 100644
--- a/games-fps/ut2004-da2/ChangeLog
+++ b/games-fps/ut2004-da2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/ut2004-da2
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-da2/ChangeLog,v 1.3 2008/07/28 16:50:50 wolf31o2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-da2/ChangeLog,v 1.4 2009/10/08 18:05:46 nyhm Exp $
+
+ 08 Oct 2009; Tristan Heaven <nyhm@gentoo.org> ut2004-da2-1.6_beta.ebuild:
+ EAPI=2
28 Jul 2008; Chris Gianelloni <wolf31o2@gentoo.org> metadata.xml:
Removing myself from metadata.xml since I am retiring from the project.
diff --git a/games-fps/ut2004-da2/ut2004-da2-1.6_beta.ebuild b/games-fps/ut2004-da2/ut2004-da2-1.6_beta.ebuild
index 0b759cff37ea..80dffb4fc86d 100644
--- a/games-fps/ut2004-da2/ut2004-da2-1.6_beta.ebuild
+++ b/games-fps/ut2004-da2/ut2004-da2-1.6_beta.ebuild
@@ -1,21 +1,18 @@
-# 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/ut2004-da2/ut2004-da2-1.6_beta.ebuild,v 1.4 2009/10/01 22:08:19 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-da2/ut2004-da2-1.6_beta.ebuild,v 1.5 2009/10/08 18:05:46 nyhm Exp $
+EAPI=2
+
+MOD_DESC="assault mod with improved bot AI"
MOD_NAME="Defence Alliance 2"
MOD_DIR="DA2"
-MOD_DESC="assault mod with improved bot AI"
-MOD_BINS="da2"
MOD_ICON="defencealliance2.xpm"
inherit eutils games games-mods
-MY_PV=${PV/_beta/beta}
-
HOMEPAGE="http://www.planetunreal.com/da/2/"
-# The 1.6 zipfile is unreable.
-# http://forums.beyondunreal.com/showthread.php?t=178603&page=2
-SRC_URI="mirror://liflg/defence.alliance2_${MY_PV}-english.run"
+SRC_URI="mirror://liflg/defence.alliance2_${PV/_}-english.run"
# See Help/readme.txt
LICENSE="free-noncomm"
@@ -25,6 +22,10 @@ IUSE="dedicated opengl"
src_unpack() {
unpack_makeself
unpack ./da2.tar.gz
+}
- mv *.xpm "${MOD_DIR}" || die
+src_prepare() {
+ mv -f *.xpm ${MOD_DIR} || die
+ rm -rf bin setup.data
+ rm -f *.gz README* *.sh
}