summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-01-21 22:09:24 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-01-21 22:09:24 +0000
commitfe59264df7815b087ea82d06d4e69760be1e6db6 (patch)
tree01757ab7831920a3bb0971921b988c808b470e15 /games-strategy
parentFix build with make=bsd make and keyword ~x86-fbsd, bug #236775 (diff)
downloadgentoo-2-fe59264df7815b087ea82d06d4e69760be1e6db6.tar.gz
gentoo-2-fe59264df7815b087ea82d06d4e69760be1e6db6.tar.bz2
gentoo-2-fe59264df7815b087ea82d06d4e69760be1e6db6.zip
Version bump
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/warzone2100/ChangeLog9
-rw-r--r--games-strategy/warzone2100/warzone2100-2.1.1.ebuild56
2 files changed, 63 insertions, 2 deletions
diff --git a/games-strategy/warzone2100/ChangeLog b/games-strategy/warzone2100/ChangeLog
index 8e87ddafef16..ab07333b0e47 100644
--- a/games-strategy/warzone2100/ChangeLog
+++ b/games-strategy/warzone2100/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/warzone2100
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.25 2008/12/22 02:41:36 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.26 2009/01/21 22:09:24 nyhm Exp $
+
+*warzone2100-2.1.1 (21 Jan 2009)
+
+ 21 Jan 2009; Tristan Heaven <nyhm@gentoo.org> +warzone2100-2.1.1.ebuild:
+ Version bump
*warzone2100-2.1.0 (22 Dec 2008)
diff --git a/games-strategy/warzone2100/warzone2100-2.1.1.ebuild b/games-strategy/warzone2100/warzone2100-2.1.1.ebuild
new file mode 100644
index 000000000000..599029b9cc1b
--- /dev/null
+++ b/games-strategy/warzone2100/warzone2100-2.1.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.1.1.ebuild,v 1.1 2009/01/21 22:09:24 nyhm Exp $
+
+inherit versionator games
+
+MY_PV=$(get_version_component_range -2)
+DESCRIPTION="3D real-time strategy game"
+HOMEPAGE="http://wz2100.net/"
+SRC_URI="http://download.gna.org/warzone/releases/${MY_PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+# upstream requested debug support
+IUSE="debug nls"
+
+RDEPEND="dev-games/physfs
+ dev-libs/popt
+ media-libs/jpeg
+ media-libs/libogg
+ media-libs/libpng
+ media-libs/libsdl
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/sdl-net
+ media-libs/quesoglc
+ virtual/glu
+ virtual/opengl
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ app-arch/zip
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+RDEPEND="${RDEPEND}
+ media-fonts/dejavu"
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --docdir=/usr/share/doc/${PF} \
+ --localedir=/usr/share/locale \
+ --with-distributor="Gentoo ${PF}" \
+ --with-icondir=/usr/share/pixmaps \
+ --with-applicationdir=/usr/share/applications \
+ $(use_enable debug) \
+ $(use_enable nls) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ rm -f "${D}"/usr/share/doc/${PF}/COPYING*
+ prepgamesdirs
+}