Version bump
authorTristan Heaven <tristan@gentoo.org>
Sun, 7 Jan 2007 20:18:33 +0000 (20:18 +0000)
committerTristan Heaven <tristan@gentoo.org>
Sun, 7 Jan 2007 20:18:33 +0000 (20:18 +0000)
Package-Manager: portage-2.1.2_rc4-r6

games-strategy/triplea/ChangeLog
games-strategy/triplea/Manifest
games-strategy/triplea/files/digest-triplea-0.9.0.1 [new file with mode: 0644]
games-strategy/triplea/triplea-0.9.0.1.ebuild [new file with mode: 0644]

index 1e6df3afb89e45b070b5dd2c6ae8d9895ee34a54..45a0069a8e914ef39b15c00d04870111ee977b49 100644 (file)
@@ -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.25 2006/12/24 18:36:43 nyhm Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.26 2007/01/07 20:18:33 nyhm Exp $
+
+*triplea-0.9.0.1 (07 Jan 2007)
+
+  07 Jan 2007; Tristan Heaven <nyhm@gentoo.org> +triplea-0.9.0.1.ebuild:
+  Version bump
 
   24 Dec 2006; Tristan Heaven <nyhm@gentoo.org> triplea-0.8.2.2.ebuild:
   Use java-pkg_dolauncher to ensure >=jre-1.5 is used, bug #158643
index c25d9df47638f7e76dfb4be7f7ce32c528e5a45b..7399ead905794ee146c0306925b6407be3c22cd4 100644 (file)
@@ -6,6 +6,7 @@ MD5 c8d37e2b98977adc8b30d8ff6249486f files/triplea-0.6.0.1-gentoo.patch 1956
 RMD160 2a251f4416ae27fbb1cbcd5e35a58a17a852c66b files/triplea-0.6.0.1-gentoo.patch 1956
 SHA256 8534e6db39c42f2658210e2cb826f4262b7596a830f52902e6ec8842e04c0f9e files/triplea-0.6.0.1-gentoo.patch 1956
 DIST triplea_0_8_2_2_source_code_only.zip 9721880 RMD160 8cd1c63e8a5b626ff72bbd3b84efc5b31adaf19d SHA1 cf6a6f109755a324d642f5d853dd653870b90635 SHA256 77412c569cad8625f0e4155d328da112aa2babc5aaa89f1f580f07eea9f0e8b3
+DIST triplea_0_9_0_1_source_code_only.zip 13620380 RMD160 a81b246318997a784ff25253a602a8d02e4d54bb SHA1 ecb2d26326ab0e133003511c572f811f33eb2456 SHA256 5956548edcfa0bc07d3a9ebdf21643c8eeb22b17481eb99165890c250fb1aa3d
 DIST triplea_source_0_6_0_1.zip 9365353
 EBUILD triplea-0.6.0.1.ebuild 1874 RMD160 51e9ebb3ece15aa37a6a144076cff16522ad8858 SHA1 65d273a439d067989d4d2b5ee9deef321327eaf2 SHA256 e8b184602e65a03bc1d4aba9edf9be8975b7f6a767a63f5c94bf84f086b816a3
 MD5 7baa9978ac2af3a5acef12dd5016753a triplea-0.6.0.1.ebuild 1874
@@ -15,10 +16,14 @@ EBUILD triplea-0.8.2.2.ebuild 1438 RMD160 acb310079b0ca57fac6ba11b036fd9bbdbac7b
 MD5 b740a6ffc98a3770847bd61584dabc53 triplea-0.8.2.2.ebuild 1438
 RMD160 acb310079b0ca57fac6ba11b036fd9bbdbac7b21 triplea-0.8.2.2.ebuild 1438
 SHA256 c3afefbcc36d135ec9a0c50ba77bf8f502e8926532060e8428d0ba9812fd44cb triplea-0.8.2.2.ebuild 1438
-MISC ChangeLog 3345 RMD160 734900307927fdc4d719467cfee4c8675ba67222 SHA1 3c8adeefe081b54df0b39aab298422efb6d1696a SHA256 6e9255f62f855194c170ee1b7c65ee8ee734c95d2aa8886916f5e45be8adde14
-MD5 008cec2d207b918de1dbc5004e24f6a6 ChangeLog 3345
-RMD160 734900307927fdc4d719467cfee4c8675ba67222 ChangeLog 3345
-SHA256 6e9255f62f855194c170ee1b7c65ee8ee734c95d2aa8886916f5e45be8adde14 ChangeLog 3345
+EBUILD triplea-0.9.0.1.ebuild 1968 RMD160 31d4ef899dd22afd69e0a29ae4317e7c152e0eb7 SHA1 c18bdaac1dbc2301d5ad4ec6030c529787f74f6c SHA256 b44ca0394d8b9b06d292dcb55e32414101b3f7eb6f4a670dee547a4dc5460775
+MD5 2c38cc6f9eef740f23d79174376c5a3c triplea-0.9.0.1.ebuild 1968
+RMD160 31d4ef899dd22afd69e0a29ae4317e7c152e0eb7 triplea-0.9.0.1.ebuild 1968
+SHA256 b44ca0394d8b9b06d292dcb55e32414101b3f7eb6f4a670dee547a4dc5460775 triplea-0.9.0.1.ebuild 1968
+MISC ChangeLog 3466 RMD160 f37ae9d5f472c7df91d2706f5d280f7af5f9e716 SHA1 53010159d3d0e13efc01c7a71057030d846e371b SHA256 423b4ab1b4e102a8a356515d19622725d0c02ffc2bcad1a656494072b0b6b2ec
+MD5 e07e47d4a006ff32e23e14440a0d7400 ChangeLog 3466
+RMD160 f37ae9d5f472c7df91d2706f5d280f7af5f9e716 ChangeLog 3466
+SHA256 423b4ab1b4e102a8a356515d19622725d0c02ffc2bcad1a656494072b0b6b2ec ChangeLog 3466
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -29,10 +34,13 @@ SHA256 9cb78f2eb6249cc8234b525974136f47ccc8b8b59bd82fe5f7ed2ffb578b734e files/di
 MD5 d5df04fd5c20cef8c6d0f5ae384da22a files/digest-triplea-0.8.2.2 292
 RMD160 3f71fea942f76727f530b1b3a7ae4d94b5aa5df5 files/digest-triplea-0.8.2.2 292
 SHA256 5f9faffb2d2ae9e7e145d58b309e9701a668e3d3c60b97e6f13bec1a1c18c880 files/digest-triplea-0.8.2.2 292
+MD5 a951323fc93295669943551b27f91c64 files/digest-triplea-0.9.0.1 295
+RMD160 b066fa64743bd74814a2593bfa740c90e09e9af4 files/digest-triplea-0.9.0.1 295
+SHA256 e96f7651651bc03089e7fd463f8fc52c703cfb4e109f6a8643469899f5230d41 files/digest-triplea-0.9.0.1 295
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v2.0.1 (GNU/Linux)
 
-iD8DBQFFjsjCdz7hIScOURERAiOgAJ9jkIUoBTRODUl+1aPQldP8f4FzQQCeNqhh
-4jZobFJjXXUuEoCu7EBbVdg=
-=/0/W
+iD8DBQFFoVXFdz7hIScOURERAqXQAJ40sWF1YcTJlkmyzACg34qUvfhHogCfYrs3
+dl0uwCTx3isoHSbLcj1ZZas=
+=zB04
 -----END PGP SIGNATURE-----
diff --git a/games-strategy/triplea/files/digest-triplea-0.9.0.1 b/games-strategy/triplea/files/digest-triplea-0.9.0.1
new file mode 100644 (file)
index 0000000..be924c0
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 f9ef540345005b0f3b740ac229a6876f triplea_0_9_0_1_source_code_only.zip 13620380
+RMD160 a81b246318997a784ff25253a602a8d02e4d54bb triplea_0_9_0_1_source_code_only.zip 13620380
+SHA256 5956548edcfa0bc07d3a9ebdf21643c8eeb22b17481eb99165890c250fb1aa3d triplea_0_9_0_1_source_code_only.zip 13620380
diff --git a/games-strategy/triplea/triplea-0.9.0.1.ebuild b/games-strategy/triplea/triplea-0.9.0.1.ebuild
new file mode 100644 (file)
index 0000000..3c96abb
--- /dev/null
@@ -0,0 +1,69 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-0.9.0.1.ebuild,v 1.1 2007/01/07 20:18:33 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="=dev-java/jgoodies-looks-2*
+       =dev-java/commons-httpclient-3*
+       dev-java/commons-logging
+       dev-java/commons-codec"
+DEPEND="${RDEPEND}
+       >=virtual/jdk-1.5
+       dev-java/ant
+       app-arch/unzip"
+RDEPEND="${RDEPEND}
+       >=virtual/jre-1.5"
+
+S=${WORKDIR}/${PN}_${MY_PV}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       sed -i \
+               -e 's:/triplea/:/.triplea/:' \
+               src/games/strategy/engine/framework/ui/SaveGameFileChooser.java \
+               || die "sed failed"
+
+       rm -f lib/{junit.jar,derby_10_1_2.jar}
+       java-pkg_jar-from jgoodies-looks-2.0 looks.jar lib/looks-2.0.4.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
+       java-pkg_ensure-no-bundled-jars
+}
+
+src_compile() {
+       eant || die
+       echo "triplea.saveGamesInHomeDir=true" > classes/triplea.properties
+}
+
+src_install() {
+       insinto "${GAMES_DATADIR}"/${PN}
+       doins -r classes data games images maps || die "doins failed"
+
+       java-pkg_addcp "${GAMES_DATADIR}"/${PN}/classes
+       java-pkg_dolauncher ${PN} -into "${GAMES_PREFIX}" --main \
+               games.strategy.engine.framework.GameRunner
+
+       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
+}