summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-10-26 18:24:15 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-10-26 18:24:15 +0000
commit01f0526b58ab015863b8f3db5306a284759a86ba (patch)
tree10809238fdf28e03b88ca10eb2caccd5cc7caf94 /games-strategy
parentia64/sparc stable wrt #285599 (diff)
downloadgentoo-2-01f0526b58ab015863b8f3db5306a284759a86ba.tar.gz
gentoo-2-01f0526b58ab015863b8f3db5306a284759a86ba.tar.bz2
gentoo-2-01f0526b58ab015863b8f3db5306a284759a86ba.zip
EAPI=2; tidy
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/dominions2-demo/ChangeLog8
-rw-r--r--games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild23
2 files changed, 16 insertions, 15 deletions
diff --git a/games-strategy/dominions2-demo/ChangeLog b/games-strategy/dominions2-demo/ChangeLog
index 0ff3149e6663..08dcb6459ed9 100644
--- a/games-strategy/dominions2-demo/ChangeLog
+++ b/games-strategy/dominions2-demo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/dominions2-demo
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2-demo/ChangeLog,v 1.4 2007/02/22 00:01:10 peper Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2-demo/ChangeLog,v 1.5 2009/10/26 18:24:15 mr_bones_ Exp $
+
+ 26 Oct 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ dominions2-demo-2.08.ebuild:
+ EAPI=2; tidy
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild b/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild
index f00304f64497..44329d6d497b 100644
--- a/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild
+++ b/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild,v 1.2 2006/12/06 20:33:26 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild,v 1.3 2009/10/26 18:24:15 mr_bones_ Exp $
+EAPI=2
inherit games
DESCRIPTION="Dominions 2: The Ascension Wars is an epic turn-based fantasy strategy game"
@@ -11,28 +12,24 @@ SRC_URI="http://www.shrapnelgames.com/downloads/dom2demo_linux_x86.tgz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"
-IUSE="arts esd"
+IUSE=""
RESTRICT="strip"
DEPEND="x11-libs/libXext
virtual/opengl
- virtual/glu
- esd? ( media-sound/esound )
- arts? ( kde-base/arts )"
+ virtual/glu"
-S="${WORKDIR}/dominions2demo"
-dir="${GAMES_PREFIX_OPT}/${PN}"
-Ddir="${D}/${dir}"
+S=${WORKDIR}/dominions2demo
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
chmod a+x ./dom2demo
}
src_install() {
+ local dir="${GAMES_PREFIX_OPT}/${PN}"
+
dodir "${dir}"
- cp -r "${S}/"* "${Ddir}" || die "cp failed"
+ cp -r "${S}/"* "${D}${dir}" || die "cp failed"
games_make_wrapper dominions2-demo ./dom2demo "${dir}" "${dir}"
prepgamesdirs
}