summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-07-01 05:27:43 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-07-01 05:27:43 +0000
commit56d25859135151e0ff8f1107339be599aab53408 (patch)
tree3ec6290b578b18abdf3f258b9fe0a2608973c015 /games-strategy
parentvirtual/glibc -> virtual/libc (Manifest recommit) (diff)
downloadgentoo-2-56d25859135151e0ff8f1107339be599aab53408.tar.gz
gentoo-2-56d25859135151e0ff8f1107339be599aab53408.tar.bz2
gentoo-2-56d25859135151e0ff8f1107339be599aab53408.zip
version bump (bug #55702)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/triplea/ChangeLog7
-rw-r--r--games-strategy/triplea/Manifest6
-rw-r--r--games-strategy/triplea/files/digest-triplea-0.4.81
-rw-r--r--games-strategy/triplea/triplea-0.4.8.ebuild77
4 files changed, 88 insertions, 3 deletions
diff --git a/games-strategy/triplea/ChangeLog b/games-strategy/triplea/ChangeLog
index efb3c8fd3011..72b55a761c4b 100644
--- a/games-strategy/triplea/ChangeLog
+++ b/games-strategy/triplea/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/triplea
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.10 2004/06/24 23:29:29 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.11 2004/07/01 05:27:43 mr_bones_ Exp $
+
+*triplea-0.4.8 (30 Jun 2004)
+
+ 30 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> +triplea-0.4.8.ebuild:
+ version bump (bug #55702)
*triplea-0.4.3 (10 May 2004)
diff --git a/games-strategy/triplea/Manifest b/games-strategy/triplea/Manifest
index 37f2eba2d59c..bdac45ee6858 100644
--- a/games-strategy/triplea/Manifest
+++ b/games-strategy/triplea/Manifest
@@ -1,6 +1,8 @@
-MD5 f178482c6622b6026a2e84a0c8d55061 triplea-0.4.1.ebuild 2202
-MD5 bf89c6ec6697af7612acfed8fccafd34 triplea-0.4.3.ebuild 2202
MD5 4793b2ab214b094ec68f40a6791d039e ChangeLog 1354
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 f178482c6622b6026a2e84a0c8d55061 triplea-0.4.1.ebuild 2202
+MD5 bf89c6ec6697af7612acfed8fccafd34 triplea-0.4.3.ebuild 2202
+MD5 a458197f453d50e097f2273174559c6a triplea-0.4.8.ebuild 2210
MD5 a198b5809f0349039916442e5d471116 files/digest-triplea-0.4.1 70
MD5 5a02a3f5a523eb690d9800418dc285ad files/digest-triplea-0.4.3 70
+MD5 b609ff3eb027151169803aa25b5edd75 files/digest-triplea-0.4.8 70
diff --git a/games-strategy/triplea/files/digest-triplea-0.4.8 b/games-strategy/triplea/files/digest-triplea-0.4.8
new file mode 100644
index 000000000000..983cd2e73c19
--- /dev/null
+++ b/games-strategy/triplea/files/digest-triplea-0.4.8
@@ -0,0 +1 @@
+MD5 541c61fc882f8c87b3db80cfbe8e1392 triplea_source_0_4_8.zip 6384831
diff --git a/games-strategy/triplea/triplea-0.4.8.ebuild b/games-strategy/triplea/triplea-0.4.8.ebuild
new file mode 100644
index 000000000000..7bc90b27f0a3
--- /dev/null
+++ b/games-strategy/triplea/triplea-0.4.8.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-0.4.8.ebuild,v 1.1 2004/07/01 05:27:43 mr_bones_ Exp $
+
+inherit games
+
+MY_PV=${PV//\./_}
+
+DESCRIPTION="An open source clone of the popular Axis and Allies boardgame"
+HOMEPAGE="http://triplea.sf.net"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_source_${MY_PV}.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64 ~ppc"
+SLOT="0"
+IUSE="jikes"
+
+RDEPEND="|| (
+ >=virtual/jdk-1.4
+ >=virtual/jre-1.4 )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ app-arch/unzip
+ >=dev-java/ant-1.4.1
+ dev-java/junit
+ jikes? ( >=dev-java/jikes-1.17 )"
+
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # The sourcecode currently assumes the game is being run from a directory
+ # one level below the installation root.
+ cat >"${T}/${PN}" <<-EOF
+ #!/bin/sh
+
+ cd "${GAMES_DATADIR}/${PN}/lib"
+ java -mx96M -cp \\
+ ../data:../lib/plastic-1.2.0.jar:../lib/${P}.jar \\
+ games.strategy.engine.framework.GameRunner
+ EOF
+
+ # Repair bad path in .ant.properties (bug #47437)
+ sed -i \
+ -e "/^junit.jar/s:=.*:=/usr/share/junit/lib/junit.jar:" \
+ .ant.properties \
+ || die "sed .ant.properties failed"
+
+}
+
+src_compile() {
+ local antflags=
+
+ if [ -z "$JAVA_HOME" ]; then
+ einfo
+ einfo "\$JAVA_HOME not set!"
+ einfo "Please use java-config to configure your JVM and try again."
+ einfo
+ die "\$JAVA_HOME not set."
+ fi
+
+ if use jikes ; then
+ antflags="-Dbuild.compiler=jikes"
+ fi
+
+ ant ${antflags} || die "compile problem"
+ jar cf "lib/${P}.jar" -C classes . || die "jar problem"
+}
+
+src_install () {
+ dogamesbin "${T}/${PN}" || die "dogamesbin failed"
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -R data/ games/ lib/ "${D}${GAMES_DATADIR}/${PN}" || die "cp failed"
+ prepgamesdirs
+}