summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-07-07 02:43:50 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-07-07 02:43:50 +0000
commitadb154a097a34e8fb5a51490b2920c18699ca659 (patch)
tree5f21a5fe64dd6825567bb8c9ebae7b6528c08296 /games-board
parentl7 & imq patch update as per bug ##184164 thanks to cilly (diff)
downloadgentoo-2-adb154a097a34e8fb5a51490b2920c18699ca659.tar.gz
gentoo-2-adb154a097a34e8fb5a51490b2920c18699ca659.tar.bz2
gentoo-2-adb154a097a34e8fb5a51490b2920c18699ca659.zip
version bump
(Portage version: 2.1.2.9)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/jrisk/ChangeLog8
-rw-r--r--games-board/jrisk/files/digest-jrisk-1.0.9.03
-rw-r--r--games-board/jrisk/jrisk-1.0.9.0.ebuild48
3 files changed, 58 insertions, 1 deletions
diff --git a/games-board/jrisk/ChangeLog b/games-board/jrisk/ChangeLog
index 5a6bb3f6829d..bfb74bcce580 100644
--- a/games-board/jrisk/ChangeLog
+++ b/games-board/jrisk/ChangeLog
@@ -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.16 2007/06/03 16:54:39 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.17 2007/07/07 02:43:50 mr_bones_ Exp $
+
+*jrisk-1.0.9.0 (07 Jul 2007)
+
+ 07 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +jrisk-1.0.9.0.ebuild:
+ version bump
03 Jun 2007; Michael Sterrett <mr_bones_@gentoo.org>
jrisk-1.0.8.9-r1.ebuild:
diff --git a/games-board/jrisk/files/digest-jrisk-1.0.9.0 b/games-board/jrisk/files/digest-jrisk-1.0.9.0
new file mode 100644
index 000000000000..1d0d5386b6d5
--- /dev/null
+++ b/games-board/jrisk/files/digest-jrisk-1.0.9.0
@@ -0,0 +1,3 @@
+MD5 d7713d5b510a26897a6567e0b1f8c07e backup_of_Risk_1.0.9.0.zip 10498932
+RMD160 67cc8e692c077625b077c9e0c89d69fffee317b1 backup_of_Risk_1.0.9.0.zip 10498932
+SHA256 6499e9e8e3b8dad8c3e8588f5a492587fc9095249f2a10045f6a3773dbbe6d3a backup_of_Risk_1.0.9.0.zip 10498932
diff --git a/games-board/jrisk/jrisk-1.0.9.0.ebuild b/games-board/jrisk/jrisk-1.0.9.0.ebuild
new file mode 100644
index 000000000000..cb9ba274372d
--- /dev/null
+++ b/games-board/jrisk/jrisk-1.0.9.0.ebuild
@@ -0,0 +1,48 @@
+# 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.9.0.ebuild,v 1.1 2007/07/07 02:43:50 mr_bones_ Exp $
+
+inherit eutils java-pkg-2 java-ant-2 games
+
+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_compile() {
+ java-pkg-2_src_compile
+}
+
+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 "${D}/${GAMES_DATADIR}/${PN}"/*.jar
+
+ newicon build/game/resources/risk.png ${PN}.png
+ make_desktop_entry ${PN} "Risk"
+
+ prepgamesdirs
+}