summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-08-26 22:59:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-08-26 22:59:25 +0000
commitd08e97c85ceae8c5b389a337b1030c563a616b56 (patch)
tree2fce321e27a650ccfb44c81a4d3369209bcac618 /games-strategy
parentUpdated CVS snapshot. (Manifest recommit) (diff)
downloadgentoo-2-d08e97c85ceae8c5b389a337b1030c563a616b56.tar.gz
gentoo-2-d08e97c85ceae8c5b389a337b1030c563a616b56.tar.bz2
gentoo-2-d08e97c85ceae8c5b389a337b1030c563a616b56.zip
clean older ebuilds
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/triplea/files/digest-triplea-0.4.11
-rw-r--r--games-strategy/triplea/files/digest-triplea-0.4.31
-rw-r--r--games-strategy/triplea/triplea-0.4.1.ebuild83
-rw-r--r--games-strategy/triplea/triplea-0.4.3.ebuild83
4 files changed, 0 insertions, 168 deletions
diff --git a/games-strategy/triplea/files/digest-triplea-0.4.1 b/games-strategy/triplea/files/digest-triplea-0.4.1
deleted file mode 100644
index 93c97271a321..000000000000
--- a/games-strategy/triplea/files/digest-triplea-0.4.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 67c3493171a7c0758eaecb70c3a42a4e triplea_source_0_4_1.zip 6305303
diff --git a/games-strategy/triplea/files/digest-triplea-0.4.3 b/games-strategy/triplea/files/digest-triplea-0.4.3
deleted file mode 100644
index 98a904ee78f7..000000000000
--- a/games-strategy/triplea/files/digest-triplea-0.4.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1d7030f20fd2520b4745847f4746e182 triplea_source_0_4_3.zip 6366730
diff --git a/games-strategy/triplea/triplea-0.4.1.ebuild b/games-strategy/triplea/triplea-0.4.1.ebuild
deleted file mode 100644
index 3bc9ab565ee5..000000000000
--- a/games-strategy/triplea/triplea-0.4.1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# 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.1.ebuild,v 1.3 2004/06/24 23:29:29 agriffis 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 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 )"
-
-
-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.4.3.ebuild b/games-strategy/triplea/triplea-0.4.3.ebuild
deleted file mode 100644
index 9e5047cdb284..000000000000
--- a/games-strategy/triplea/triplea-0.4.3.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# 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.3.ebuild,v 1.2 2004/06/24 23:29:29 agriffis 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 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 )"
-
-
-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
-}