summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-04-25 05:40:33 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-04-25 05:40:33 +0000
commit7b84fc2983adb457ccf191d0bfab483ab12c403d (patch)
treefc1e0f8da286012a8568001e4668ca07db7d2e56 /games-board
parentVersion bump to 3.4.10_pre10 for testing. (diff)
downloadgentoo-2-7b84fc2983adb457ccf191d0bfab483ab12c403d.tar.gz
gentoo-2-7b84fc2983adb457ccf191d0bfab483ab12c403d.tar.bz2
gentoo-2-7b84fc2983adb457ccf191d0bfab483ab12c403d.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/jrisk/ChangeLog8
-rw-r--r--games-board/jrisk/jrisk-1.0.9.6.ebuild48
2 files changed, 55 insertions, 1 deletions
diff --git a/games-board/jrisk/ChangeLog b/games-board/jrisk/ChangeLog
index bad58f6c9a1a..0768616714a1 100644
--- a/games-board/jrisk/ChangeLog
+++ b/games-board/jrisk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/jrisk
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.26 2008/03/08 01:35:07 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.27 2008/04/25 05:40:33 mr_bones_ Exp $
+
+*jrisk-1.0.9.6 (25 Apr 2008)
+
+ 25 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +jrisk-1.0.9.6.ebuild:
+ version bump
*jrisk-1.0.9.5 (08 Mar 2008)
diff --git a/games-board/jrisk/jrisk-1.0.9.6.ebuild b/games-board/jrisk/jrisk-1.0.9.6.ebuild
new file mode 100644
index 000000000000..cb82f523893e
--- /dev/null
+++ b/games-board/jrisk/jrisk-1.0.9.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 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.6.ebuild,v 1.1 2008/04/25 05:40:33 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-3"
+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
+}