Use java eclasses.
authorPetteri Räty <betelgeuse@gentoo.org>
Wed, 14 Feb 2007 19:06:54 +0000 (19:06 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Wed, 14 Feb 2007 19:06:54 +0000 (19:06 +0000)
Package-Manager: portage-2.1.2-r9

games-board/jrisk/ChangeLog
games-board/jrisk/Manifest
games-board/jrisk/files/digest-jrisk-1.0.8.9-r1 [new file with mode: 0644]
games-board/jrisk/jrisk-1.0.8.9-r1.ebuild [new file with mode: 0644]

index 8ab31f2febc8aeb294a7ad692a1d712d0f351e98..4fba7d257e024ac5c6952c67db52bf22e2c3a46c 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for games-board/jrisk
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.13 2007/02/03 16:08:01 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.14 2007/02/14 19:06:54 betelgeuse Exp $
+
+*jrisk-1.0.8.9-r1 (14 Feb 2007)
+
+  14 Feb 2007; Petteri Räty <betelgeuse@gentoo.org>
+  +jrisk-1.0.8.9-r1.ebuild:
+  Use java eclasses.
 
   03 Feb 2007; Simon Stelling <blubb@gentoo.org> jrisk-1.0.8.8.ebuild:
   stable on amd64
index 52d49babc5e8aeaaa6d539ef217e5edb4e78f9a3..d63abfabeda3f2b92187bc5edf8780f509fcf7ae 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST backup_of_Risk_1.0.8.7.zip 9474768 RMD160 111d7d279aea2d6bf46aad37d41c2de21516a127 SHA1 ab98b5e7dd601f4a8f7a9e9453e8aace819c89e9 SHA256 ffe317ce4d9da02d9cbe765a6b43c6fd9c552f773df102eb5ca80c1d8ca2073d
 DIST backup_of_Risk_1.0.8.8.zip 10110249 RMD160 133e9883607221e21f9c06381f291f1dc6141f35 SHA1 3bee844d14abe19f0741f6e347bbdfa1f7c7496a SHA256 b946917b26c9508c580fc6fb14b782de810b11d535abb8c805d9e4bfc907b147
 DIST backup_of_Risk_1.0.8.9.zip 10134145 RMD160 4d3d7ee8458fc5b18fd3f7c7cd1d4d4a7d32e881 SHA1 ae5e71bdd38abe8a8d7b1073e736498799f1b692 SHA256 bf12e6d40e30de2d85b64a0828fde7cd01a88e207ad14d097789fdeadb9c31e1
@@ -9,14 +12,18 @@ EBUILD jrisk-1.0.8.8.ebuild 1293 RMD160 d2010c515d42d8e7f15099008b65c884e25d8599
 MD5 041ac63669c8a41cb7a47ba881fdbe7e jrisk-1.0.8.8.ebuild 1293
 RMD160 d2010c515d42d8e7f15099008b65c884e25d8599 jrisk-1.0.8.8.ebuild 1293
 SHA256 6b7f090403ac711625a571a6697d491d691695315e19848a5cbca9e5f51b1bae jrisk-1.0.8.8.ebuild 1293
+EBUILD jrisk-1.0.8.9-r1.ebuild 1094 RMD160 9229d4c0e92ac5eaa40ea94d123bf8f051e8ab64 SHA1 eccdf27c962d146bbff1bcfb023cb99f1ff2f859 SHA256 b6593bdad7a3feb8a923294784adf7ad0006b3a422130208d2ae73e50e9d6c17
+MD5 3ec691f50211eeacb0ff7f122b459a21 jrisk-1.0.8.9-r1.ebuild 1094
+RMD160 9229d4c0e92ac5eaa40ea94d123bf8f051e8ab64 jrisk-1.0.8.9-r1.ebuild 1094
+SHA256 b6593bdad7a3feb8a923294784adf7ad0006b3a422130208d2ae73e50e9d6c17 jrisk-1.0.8.9-r1.ebuild 1094
 EBUILD jrisk-1.0.8.9.ebuild 1303 RMD160 9cbf234fac9bd21bd2d233fa26fb9898c655fc61 SHA1 49b2b5eb0643d6bed9acce209095008928efd380 SHA256 04d811346580dac467ab3a4fddbe6665ae903e0e14a16137473deff9697edee6
 MD5 7a6ec5f7b07fc45dc2401f016dc72de2 jrisk-1.0.8.9.ebuild 1303
 RMD160 9cbf234fac9bd21bd2d233fa26fb9898c655fc61 jrisk-1.0.8.9.ebuild 1303
 SHA256 04d811346580dac467ab3a4fddbe6665ae903e0e14a16137473deff9697edee6 jrisk-1.0.8.9.ebuild 1303
-MISC ChangeLog 1805 RMD160 23a1a83616ee52df68af9f06004de92a909b6b28 SHA1 c62b36aea4ff917f40b7f675830454930feab533 SHA256 93d8491d00e7c9f84ca42c9b89d6b5b288a5372311c9d35ee6ffff00f6730921
-MD5 15ad55d2f39ff5f49274248c0abdeef8 ChangeLog 1805
-RMD160 23a1a83616ee52df68af9f06004de92a909b6b28 ChangeLog 1805
-SHA256 93d8491d00e7c9f84ca42c9b89d6b5b288a5372311c9d35ee6ffff00f6730921 ChangeLog 1805
+MISC ChangeLog 1946 RMD160 5fee8a9aacf94b555263b68ed3c28089b6a52127 SHA1 a9afc07962d8a4acdead1d3e05563560832ecc5d SHA256 3f10281082c2e58d6a2b3152432d06eb56fed2ce7185c65efa5aa61134078f50
+MD5 28cde5cd48740c6934cd93bf6f060dc9 ChangeLog 1946
+RMD160 5fee8a9aacf94b555263b68ed3c28089b6a52127 ChangeLog 1946
+SHA256 3f10281082c2e58d6a2b3152432d06eb56fed2ce7185c65efa5aa61134078f50 ChangeLog 1946
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -30,3 +37,13 @@ SHA256 fac7b4346a2dbcedd0b7252389dba8b121e54779f9f42d2b285c20cac26e895e files/di
 MD5 302f79f4a7f751aedd65184100a0c275 files/digest-jrisk-1.0.8.9 265
 RMD160 8a7b45804cafbd117f728cac5fba2c6a5c0ad201 files/digest-jrisk-1.0.8.9 265
 SHA256 c125465909c1f6cc4af164c66d7c7551fb674ab96c93ee84f5bbe267290a8a91 files/digest-jrisk-1.0.8.9 265
+MD5 302f79f4a7f751aedd65184100a0c275 files/digest-jrisk-1.0.8.9-r1 265
+RMD160 8a7b45804cafbd117f728cac5fba2c6a5c0ad201 files/digest-jrisk-1.0.8.9-r1 265
+SHA256 c125465909c1f6cc4af164c66d7c7551fb674ab96c93ee84f5bbe267290a8a91 files/digest-jrisk-1.0.8.9-r1 265
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF013bcxLzpIGCsLQRAjo7AJ46KR8HAQW3ultBIQNYFIMJWOlwEACeI9GL
+/BNYvgwfysiR042ZZMgNc+c=
+=CjnG
+-----END PGP SIGNATURE-----
diff --git a/games-board/jrisk/files/digest-jrisk-1.0.8.9-r1 b/games-board/jrisk/files/digest-jrisk-1.0.8.9-r1
new file mode 100644 (file)
index 0000000..9a91b30
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 f10ff6328cb0de53414f76cba7cdd7bd backup_of_Risk_1.0.8.9.zip 10134145
+RMD160 4d3d7ee8458fc5b18fd3f7c7cd1d4d4a7d32e881 backup_of_Risk_1.0.8.9.zip 10134145
+SHA256 bf12e6d40e30de2d85b64a0828fde7cd01a88e207ad14d097789fdeadb9c31e1 backup_of_Risk_1.0.8.9.zip 10134145
diff --git a/games-board/jrisk/jrisk-1.0.8.9-r1.ebuild b/games-board/jrisk/jrisk-1.0.8.9-r1.ebuild
new file mode 100644 (file)
index 0000000..0a23093
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/jrisk-1.0.8.9-r1.ebuild,v 1.1 2007/02/14 19:06:54 betelgeuse Exp $
+
+inherit eutils games java-pkg-2 java-ant-2
+
+DESCRIPTION="The well-known board game, written in java"
+HOMEPAGE="http://jrisk.sourceforge.net"
+SRC_URI="mirror://sourceforge/jrisk/backup_of_Risk_${PV}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+       app-arch/unzip"
+
+S=${WORKDIR}/Risk
+
+pkg_setup() {
+       games_pkg_setup
+       java-pkg-2_pkg_setup
+}
+
+EANT_BUILD_TARGET="game"
+
+src_install() {
+       java-pkg_dolauncher ${PN} \
+               -into "${GAMES_PREFIX}" \
+               --main risk.ui.FlashGUI.MainMenu \
+               --pwd  "${GAMES_DATADIR}/${PN}"
+
+       insinto "${GAMES_DATADIR}/${PN}"
+       doins -r build/game/* || die "doins failed"
+       rm -f "${D}${GAMES_DATADIR}"/${PN}/*.cmd || die
+       java-pkg_regjar "${GAMES_DATADIR}/${PN}"/*.jar
+
+       newicon build/game/resources/risk.png ${PN}.png
+       make_desktop_entry ${PN} "Risk"
+
+       prepgamesdirs
+}