summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-07-08 19:26:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-07-08 19:26:10 +0000
commitf3fe3eeb5d7fcecd1b78af12bff379231edcee21 (patch)
tree6200a8f31e26b9f9faa45bd64e9b3f2a5da3cfa7 /games-strategy
parentRemove old version. Version bump. Fix init script (#231005). (diff)
downloadhistorical-f3fe3eeb5d7fcecd1b78af12bff379231edcee21.tar.gz
historical-f3fe3eeb5d7fcecd1b78af12bff379231edcee21.tar.bz2
historical-f3fe3eeb5d7fcecd1b78af12bff379231edcee21.zip
version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/triplea/ChangeLog8
-rw-r--r--games-strategy/triplea/Manifest4
-rw-r--r--games-strategy/triplea/triplea-1.0.0.3.ebuild96
3 files changed, 106 insertions, 2 deletions
diff --git a/games-strategy/triplea/ChangeLog b/games-strategy/triplea/ChangeLog
index 09394de81030..746f4edc5643 100644
--- a/games-strategy/triplea/ChangeLog
+++ b/games-strategy/triplea/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/triplea
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.39 2008/06/16 04:55:00 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.40 2008/07/08 19:26:10 mr_bones_ Exp $
+
+*triplea-1.0.0.3 (08 Jul 2008)
+
+ 08 Jul 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +triplea-1.0.0.3.ebuild:
+ version bump
*triplea-1.0.0.2 (16 Jun 2008)
diff --git a/games-strategy/triplea/Manifest b/games-strategy/triplea/Manifest
index 0e22e974c460..ba774d07a6cf 100644
--- a/games-strategy/triplea/Manifest
+++ b/games-strategy/triplea/Manifest
@@ -1,6 +1,8 @@
DIST triplea_0_9_0_2_source_code_only.zip 13624383 RMD160 f1ba831a92a593e0d0f8b34ac324e1f7ffeeea37 SHA1 972a7055756325e785ca0c59bf536f7a37f54c29 SHA256 1ce749cf7c107ebe7aaac13b91a31c30b453e8414a7935755be2857561e1bce7
DIST triplea_1_0_0_2_source_code_only.zip 15443694 RMD160 08ccd377db6d931f6d50560028288876c153d397 SHA1 266df40edbfa1b892177014f250897f7326901a6 SHA256 a64cde6844538d020f5b2eee909bbb268ca5ff930f0660d61ee84e2992a3b72b
+DIST triplea_1_0_0_3_source_code_only.zip 15443750 RMD160 e85dd72f40212c4dea8095e44916f48a4196a72d SHA1 a9224bdb4c9b0f9c9b581ed976051afdfcca3363 SHA256 513bcee5b6e6b0b9fd74788bdcb5cefc56401b8c62f964c901755cf2663a118f
EBUILD triplea-0.9.0.2-r1.ebuild 2553 RMD160 9fa50d60a0fa88bd329c235ec07e5a5c8c53b468 SHA1 2b1f763de882719041ccc814088a4f815cf6e9e2 SHA256 931506500924243954504834ec05a6cea2716a271a3afedeaa66fb345d03939b
EBUILD triplea-1.0.0.2.ebuild 2730 RMD160 fe0fd8b71b95d718e8638d3ded9e36c3b4bddb63 SHA1 3ced3ce8f9ea592e3abdb5e0e559f3cc3ef4bb99 SHA256 e44d172e6877e17e744b4e011f7f03aa9b2d2c1f8e0b5dd60c31d182ca0933e6
-MISC ChangeLog 5251 RMD160 26d9522e6bab774de9bebb107305d821a60e91f6 SHA1 5dcf13acbefe4e6a6d1e9783d9b90e15b68a9da3 SHA256 0189ad8cc95ceea85372217e8a1fc378df92649ed2c44c354fd6e9c046b499ec
+EBUILD triplea-1.0.0.3.ebuild 2730 RMD160 dc6224d6090fcb10687dee89f8f0e55323ecae1f SHA1 785f8ff5b66dbe6650d2fbca4dcb09673c08e689 SHA256 12dbefbcebb7ced4676e9e2251438b1c90b36dd2eebe3d7a4f272140e3c2e62f
+MISC ChangeLog 5381 RMD160 00ab49fbaaf466ab37e9f7b1c06b34e49b481ec2 SHA1 2abe612824a7e2aa9d6f92ec166fe96d2cfd6e01 SHA256 117c5a053b81db9fec74ac2f561849a6854beb70f4d14551c8002fa2d63de23b
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-strategy/triplea/triplea-1.0.0.3.ebuild b/games-strategy/triplea/triplea-1.0.0.3.ebuild
new file mode 100644
index 000000000000..2c05ba4117ff
--- /dev/null
+++ b/games-strategy/triplea/triplea-1.0.0.3.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-1.0.0.3.ebuild,v 1.1 2008/07/08 19:26:10 mr_bones_ Exp $
+
+inherit eutils java-pkg-2 java-ant-2 versionator games
+
+MY_PV=$(replace_all_version_separators _)
+DESCRIPTION="An open source clone of the popular Axis and Allies boardgame"
+HOMEPAGE="http://triplea.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${MY_PV}_source_code_only.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="=dev-java/jgoodies-looks-2*
+ =dev-java/commons-httpclient-3*
+ dev-java/apple-java-extensions-bin
+ dev-java/commons-logging
+ dev-java/commons-codec
+ =dev-java/junit-3.8*"
+DEPEND="${RDEPEND}
+ >=virtual/jdk-1.5
+ app-arch/unzip"
+RDEPEND="${RDEPEND}
+ >=virtual/jre-1.5"
+
+S=${WORKDIR}/${PN}_${MY_PV}
+
+pkg_setup() {
+ games_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e 's/getWindows/getMyWindows/' \
+ src/games/strategy/debug/Console.java \
+ || die "sed Console.java failed"
+
+ sed -i \
+ -e 's:/triplea/:/.triplea/:' \
+ src/games/strategy/engine/framework/ui/SaveGameFileChooser.java \
+ || die "sed SaveGameFileChooser.java failed"
+
+ rm -f lib/{junit.jar,derby_10_1_2.jar,looks-2.1.4.jar,AppleJavaExtensions.jar}
+ java-pkg_jar-from jgoodies-looks-2.0 looks.jar lib/looks-2.1.4.jar
+ java-pkg_jar-from apple-java-extensions-bin AppleJavaExtensions.jar \
+ lib/AppleJavaExtensions.jar
+ java-pkg_jar-from commons-httpclient-3 commons-httpclient.jar \
+ lib/commons-httpclient-3.0.1.jar
+ java-pkg_jar-from commons-logging commons-logging.jar \
+ lib/commons-logging-1.1.jar
+ java-pkg_jar-from commons-codec commons-codec.jar \
+ lib/commons-codec-1.3.jar
+ # installs the test files
+ java-pkg_jar-from --into lib junit
+ java-pkg_ensure-no-bundled-jars
+}
+
+src_compile() {
+ eant || die
+ echo "triplea.saveGamesInHomeDir=true" > classes/triplea.properties
+ # The only target creating this is zip which does unjar etc
+ mkdir bin
+ cd classes
+ jar cf ../bin/triplea.jar * || die
+ rm -fr * || die
+}
+
+# Needs X11 maybe use virtualx.eclass
+RESTRICT="test"
+src_test() {
+ ANT_TASKS="ant-junit" eant test
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r bin data games images maps || die "doins failed"
+
+ java-pkg_regjar "${D}/${GAMES_DATADIR}"/${PN}/bin/*.jar
+ # TODO: add server launcher (see run-server.sh)
+ java-pkg_dolauncher ${PN} -into "${GAMES_PREFIX}" --main \
+ games.strategy.engine.framework.GameRunner
+
+ newicon data/games/strategy/engine/framework/ta_icon.png ${PN}.png
+ make_desktop_entry ${PN} TripleA
+
+ dodoc changelog.txt || die
+ dohtml -r doc/* readme.html || die
+ prepgamesdirs
+}