summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-05-11 23:00:58 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-05-11 23:00:58 +0000
commitd493ea8d0fb9abef5b8bbe12989dfaee14a129f1 (patch)
tree1cd4a032b92ce5744a5cb2c1806c6d2b68777456 /games-strategy/triplea
parentMarked stable on hppa. (diff)
downloadhistorical-d493ea8d0fb9abef5b8bbe12989dfaee14a129f1.tar.gz
historical-d493ea8d0fb9abef5b8bbe12989dfaee14a129f1.tar.bz2
historical-d493ea8d0fb9abef5b8bbe12989dfaee14a129f1.zip
clean 0.3.3
Diffstat (limited to 'games-strategy/triplea')
-rw-r--r--games-strategy/triplea/Manifest4
-rw-r--r--games-strategy/triplea/files/digest-triplea-0.3.31
-rw-r--r--games-strategy/triplea/files/digest-triplea-0.3.3-r11
-rw-r--r--games-strategy/triplea/triplea-0.3.3-r1.ebuild83
-rw-r--r--games-strategy/triplea/triplea-0.3.3.ebuild77
5 files changed, 0 insertions, 166 deletions
diff --git a/games-strategy/triplea/Manifest b/games-strategy/triplea/Manifest
index 598433bd577f..0fdb2ae80827 100644
--- a/games-strategy/triplea/Manifest
+++ b/games-strategy/triplea/Manifest
@@ -1,10 +1,6 @@
-MD5 6e2c64d182f269b0b1351287845cbf82 triplea-0.3.3.ebuild 2020
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 82861e6df615eee2af3cf6748e6f053d ChangeLog 1363
-MD5 4375a2fd5f4eed8835d895f3a2141cde triplea-0.3.3-r1.ebuild 2204
MD5 b1f17e3937442a7b1d71199604e65dc9 triplea-0.4.1.ebuild 2208
MD5 6b990e41841be8cc86306254f9f9cc5c triplea-0.4.3.ebuild 2212
-MD5 1d829a95d4fbf750dfea9a0743082592 files/digest-triplea-0.3.3 70
-MD5 1d829a95d4fbf750dfea9a0743082592 files/digest-triplea-0.3.3-r1 70
MD5 a198b5809f0349039916442e5d471116 files/digest-triplea-0.4.1 70
MD5 5a02a3f5a523eb690d9800418dc285ad files/digest-triplea-0.4.3 70
diff --git a/games-strategy/triplea/files/digest-triplea-0.3.3 b/games-strategy/triplea/files/digest-triplea-0.3.3
deleted file mode 100644
index e1025b3114a1..000000000000
--- a/games-strategy/triplea/files/digest-triplea-0.3.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f0a193f58c5f241720cc23706192d7dc triplea_source_0_3_3.zip 5905932
diff --git a/games-strategy/triplea/files/digest-triplea-0.3.3-r1 b/games-strategy/triplea/files/digest-triplea-0.3.3-r1
deleted file mode 100644
index e1025b3114a1..000000000000
--- a/games-strategy/triplea/files/digest-triplea-0.3.3-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f0a193f58c5f241720cc23706192d7dc triplea_source_0_3_3.zip 5905932
diff --git a/games-strategy/triplea/triplea-0.3.3-r1.ebuild b/games-strategy/triplea/triplea-0.3.3-r1.ebuild
deleted file mode 100644
index 41db2da2155e..000000000000
--- a/games-strategy/triplea/triplea-0.3.3-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-0.3.3-r1.ebuild,v 1.1 2004/04/10 23:24:18 mr_bones_ Exp $
-
-inherit games
-
-MY_PV=${PV//\./_}
-S="${WORKDIR}/${PN}_${MY_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"
-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 )"
-
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # Change saved games directory to ~/.triplea/savedGames
- sed -i \
- -e "/DEFAULT_DIRECTORY =/ s:GameRunner.getRootFolder():System.getProperties().get(\"user.home\") + \"/.triplea\":" \
- -e 's/DEFAULT_DIRECTORY.mkdir()/DEFAULT_DIRECTORY.mkdirs()/' \
- src/games/strategy/engine/framework/ui/SaveGameFileChooser.java \
- || die "sed SaveGameFileChooser.java failed"
-
- # Repair bad path in .ant.properties (bug #47437)
- sed -i \
- -e "s:home/sgb/dev/junit/junit3.8.1:usr/share/junit/lib:" \
- .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 () {
- # 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
- dogamesbin "${T}/${PN}" || die "dogamesbin failed"
- dodir "${GAMES_DATADIR}/${PN}"
- cp -R data/ games/ lib/ "${D}${GAMES_DATADIR}/${PN}" || die "cp failed"
- prepgamesdirs
-}
diff --git a/games-strategy/triplea/triplea-0.3.3.ebuild b/games-strategy/triplea/triplea-0.3.3.ebuild
deleted file mode 100644
index ea742914b9ca..000000000000
--- a/games-strategy/triplea/triplea-0.3.3.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-0.3.3.ebuild,v 1.5 2004/05/05 16:54:13 sejo Exp $
-
-inherit games
-
-MY_PV=${PV//\./_}
-S="${WORKDIR}/${PN}_${MY_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 ~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 )"
-
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # Change saved games directory to ~/.triplea/savedGames
- sed -i \
- -e "/DEFAULT_DIRECTORY =/ s:GameRunner.getRootFolder():System.getProperties().get(\"user.home\") + \"/.triplea\":" \
- -e 's/DEFAULT_DIRECTORY.mkdir()/DEFAULT_DIRECTORY.mkdirs()/' \
- src/games/strategy/engine/framework/ui/SaveGameFileChooser.java \
- || die "sed SaveGameFileChooser.java 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 () {
- # 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
- dogamesbin "${T}/${PN}" || die "dogamesbin failed"
- dodir "${GAMES_DATADIR}/${PN}"
- cp -R data/ games/ lib/ "${D}${GAMES_DATADIR}/${PN}" || die "cp failed"
- prepgamesdirs
-}