summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-11-10 18:04:28 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-11-10 18:04:28 +0000
commite5b46cc50384aec1ef2d62f0bbcff4b02df2908e (patch)
tree2ac12ef774bc8b55af48f9bd2701131e7512dc9d /games-strategy/triplea
parentapp-misc/tablix - pvm (diff)
downloadgentoo-2-e5b46cc50384aec1ef2d62f0bbcff4b02df2908e.tar.gz
gentoo-2-e5b46cc50384aec1ef2d62f0bbcff4b02df2908e.tar.bz2
gentoo-2-e5b46cc50384aec1ef2d62f0bbcff4b02df2908e.zip
Version bump
(Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'games-strategy/triplea')
-rw-r--r--games-strategy/triplea/ChangeLog7
-rw-r--r--games-strategy/triplea/files/digest-triplea-0.8.2.23
-rw-r--r--games-strategy/triplea/triplea-0.8.2.2.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/games-strategy/triplea/ChangeLog b/games-strategy/triplea/ChangeLog
index 42a197030b65..98e3538419d6 100644
--- a/games-strategy/triplea/ChangeLog
+++ b/games-strategy/triplea/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/triplea
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.23 2006/10/18 02:21:59 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.24 2006/11/10 18:04:28 nyhm Exp $
+
+*triplea-0.8.2.2 (10 Nov 2006)
+
+ 10 Nov 2006; Tristan Heaven <nyhm@gentoo.org> +triplea-0.8.2.2.ebuild:
+ Version bump
18 Oct 2006; Tristan Heaven <nyhm@gentoo.org> triplea-0.8.2.1.ebuild:
Save games to ~/.triplea
diff --git a/games-strategy/triplea/files/digest-triplea-0.8.2.2 b/games-strategy/triplea/files/digest-triplea-0.8.2.2
new file mode 100644
index 000000000000..c81b9a3dfdef
--- /dev/null
+++ b/games-strategy/triplea/files/digest-triplea-0.8.2.2
@@ -0,0 +1,3 @@
+MD5 0d3703221348de06fa7ae4257df6b947 triplea_0_8_2_2_source_code_only.zip 9721880
+RMD160 8cd1c63e8a5b626ff72bbd3b84efc5b31adaf19d triplea_0_8_2_2_source_code_only.zip 9721880
+SHA256 77412c569cad8625f0e4155d328da112aa2babc5aaa89f1f580f07eea9f0e8b3 triplea_0_8_2_2_source_code_only.zip 9721880
diff --git a/games-strategy/triplea/triplea-0.8.2.2.ebuild b/games-strategy/triplea/triplea-0.8.2.2.ebuild
new file mode 100644
index 000000000000..2f776d99af32
--- /dev/null
+++ b/games-strategy/triplea/triplea-0.8.2.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-0.8.2.2.ebuild,v 1.1 2006/11/10 18:04:28 nyhm Exp $
+
+inherit eutils java-ant-2 java-pkg-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=">=virtual/jre-1.5
+ =dev-java/jgoodies-looks-1.3*"
+DEPEND="${RDEPEND}
+ >=virtual/jdk-1.5
+ dev-java/ant
+ app-arch/unzip"
+
+S=${WORKDIR}/${PN}_${MY_PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"/lib
+
+ rm *.jar
+ java-pkg_jar-from jgoodies-looks-1.3 looks.jar looks-1.3.1.jar
+}
+
+src_compile() {
+ eant || die
+ echo "triplea.saveGamesInHomeDir=true" > classes/triplea.properties
+}
+
+src_install() {
+ games_make_wrapper ${PN} \
+ 'java -cp classes:$(java-config -p jgoodies-looks-1.3) \
+ games.strategy.engine.framework.GameRunner' \
+ "${GAMES_DATADIR}"/${PN}
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r classes data games images maps || die "doins failed"
+
+ newicon icons/triplea_icon.bmp ${PN}.bmp
+ make_desktop_entry ${PN} TripleA /usr/share/pixmaps/${PN}.bmp
+
+ dodoc changelog.txt
+ dohtml -r doc/* readme.html
+ prepgamesdirs
+}