summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-25 01:37:16 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-25 01:37:16 +0000
commit2667af20f9953dc8db961af0cc95c68dbb8b419d (patch)
tree038d3fd25d8b26589f8cd57e59cf4c01be3a12f0 /games-action/bzflag
parentVersion bump #79093 by Alexandru Toma. (diff)
downloadgentoo-2-2667af20f9953dc8db961af0cc95c68dbb8b419d.tar.gz
gentoo-2-2667af20f9953dc8db961af0cc95c68dbb8b419d.tar.bz2
gentoo-2-2667af20f9953dc8db961af0cc95c68dbb8b419d.zip
Version bump #78438.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'games-action/bzflag')
-rw-r--r--games-action/bzflag/ChangeLog10
-rw-r--r--games-action/bzflag/bzflag-2.0.0.20050117.ebuild58
-rw-r--r--games-action/bzflag/files/digest-bzflag-2.0.0.200501171
3 files changed, 67 insertions, 2 deletions
diff --git a/games-action/bzflag/ChangeLog b/games-action/bzflag/ChangeLog
index 861e8ed64d73..812c2bde094c 100644
--- a/games-action/bzflag/ChangeLog
+++ b/games-action/bzflag/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/bzflag
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/ChangeLog,v 1.14 2004/11/08 11:38:08 mr_bones_ Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/ChangeLog,v 1.15 2005/01/25 01:37:15 vapier Exp $
+
+*bzflag-2.0.0.20050117 (24 Jan 2005)
+
+ 24 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+ +bzflag-2.0.0.20050117.ebuild:
+ Version bump #78438.
*bzflag-1.10.8.20041007 (08 Nov 2004)
diff --git a/games-action/bzflag/bzflag-2.0.0.20050117.ebuild b/games-action/bzflag/bzflag-2.0.0.20050117.ebuild
new file mode 100644
index 000000000000..2f05d5b9b9ef
--- /dev/null
+++ b/games-action/bzflag/bzflag-2.0.0.20050117.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/bzflag-2.0.0.20050117.ebuild,v 1.1 2005/01/25 01:37:15 vapier Exp $
+
+inherit flag-o-matic games
+
+DESCRIPTION="OpenGL accelerated 3d tank combat simulator game"
+HOMEPAGE="http://www.BZFlag.org/"
+SRC_URI="mirror://sourceforge/bzflag/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="dedicated adns"
+
+RDEPEND="virtual/libc
+ !dedicated? ( virtual/opengl media-libs/libsdl )
+ adns? ( net-libs/adns )
+ curl? ( net-misc/curl )
+ kerberos? ( virtual/krb5 )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:^CFLAGS=.*::' \
+ -e 's:^CXXFLAGS=.*::' \
+ -e 's:-mcpu=$host_cpu::' \
+ configure \
+ || die "sed failed"
+ filter-flags -fno-default-inline
+}
+
+src_compile() {
+ local myconf=""
+ if use dedicated ; then
+ ewarn
+ ewarn "You are building a server-only copy of BZFlag"
+ ewarn
+ myconf="--disable-client --without-SDL"
+ fi
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with kerberos) \
+ $(use_enable curl) \
+ $(use_enable adns) \
+ ${myconf} \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS README.UNIX TODO README ChangeLog BUGS PORTING
+ prepgamesdirs
+}
diff --git a/games-action/bzflag/files/digest-bzflag-2.0.0.20050117 b/games-action/bzflag/files/digest-bzflag-2.0.0.20050117
new file mode 100644
index 000000000000..a6270d3272e7
--- /dev/null
+++ b/games-action/bzflag/files/digest-bzflag-2.0.0.20050117
@@ -0,0 +1 @@
+MD5 16da32cfaac130bf68ca156d0dec2b2e bzflag-2.0.0.20050117.tar.bz2 8297220