summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-01-31 04:32:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-01-31 04:32:41 +0000
commit444c593159bb82a618c7b3664188af04293b6b61 (patch)
tree83cb5ee26c5a6d2f425a9c503f0a08088500277d /games-board/jrisk
parentversion bump (diff)
downloadgentoo-2-444c593159bb82a618c7b3664188af04293b6b61.tar.gz
gentoo-2-444c593159bb82a618c7b3664188af04293b6b61.tar.bz2
gentoo-2-444c593159bb82a618c7b3664188af04293b6b61.zip
version bump
(Portage version: 2.0.54)
Diffstat (limited to 'games-board/jrisk')
-rw-r--r--games-board/jrisk/ChangeLog10
-rw-r--r--games-board/jrisk/Manifest2
-rw-r--r--games-board/jrisk/files/digest-jrisk-1.0.8.61
-rw-r--r--games-board/jrisk/jrisk-1.0.8.6.ebuild51
4 files changed, 62 insertions, 2 deletions
diff --git a/games-board/jrisk/ChangeLog b/games-board/jrisk/ChangeLog
index dd7f3ab1805d..e8b37f0c9aec 100644
--- a/games-board/jrisk/ChangeLog
+++ b/games-board/jrisk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/jrisk
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.6 2005/12/24 07:09:09 mr_bones_ Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.7 2006/01/31 04:32:41 mr_bones_ Exp $
+
+*jrisk-1.0.8.6 (31 Jan 2006)
+
+ 31 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +jrisk-1.0.8.6.ebuild:
+ version bump
*jrisk-1.0.8.5 (24 Dec 2005)
diff --git a/games-board/jrisk/Manifest b/games-board/jrisk/Manifest
index 8f108ef40eb7..8bd82cc3565c 100644
--- a/games-board/jrisk/Manifest
+++ b/games-board/jrisk/Manifest
@@ -3,8 +3,10 @@ MD5 1c7181125aed14e8e720dca1b7a2fc46 files/digest-jrisk-1.0.7.6 66
MD5 20bc6dc8768de2c7a65d02f715ab0f43 files/digest-jrisk-1.0.8.3 72
MD5 2705a79754e76bf7a931c742d4a12757 files/digest-jrisk-1.0.8.4 72
MD5 e5d1097c8396b14262b784a0bd2a6e7e files/digest-jrisk-1.0.8.5 72
+MD5 5f306a266295fd97739695bd4069d083 files/digest-jrisk-1.0.8.6 72
MD5 0915c1b474d2731ec5eeb504175966a7 jrisk-1.0.7.6.ebuild 1288
MD5 74121b09b46836291612de8b3352c702 jrisk-1.0.8.3.ebuild 1290
MD5 e144dd81e25e1149f92ae1f954752c79 jrisk-1.0.8.4.ebuild 1290
MD5 bb739922fe662f09ead8119ac112d3cc jrisk-1.0.8.5.ebuild 1290
+MD5 bb739922fe662f09ead8119ac112d3cc jrisk-1.0.8.6.ebuild 1290
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
diff --git a/games-board/jrisk/files/digest-jrisk-1.0.8.6 b/games-board/jrisk/files/digest-jrisk-1.0.8.6
new file mode 100644
index 000000000000..f733a41b3297
--- /dev/null
+++ b/games-board/jrisk/files/digest-jrisk-1.0.8.6
@@ -0,0 +1 @@
+MD5 518d3a57f4db5c9b7c984a50003cb96f backup_of_Risk_1.0.8.6.zip 9470314
diff --git a/games-board/jrisk/jrisk-1.0.8.6.ebuild b/games-board/jrisk/jrisk-1.0.8.6.ebuild
new file mode 100644
index 000000000000..6f2e37a4d1bb
--- /dev/null
+++ b/games-board/jrisk/jrisk-1.0.8.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 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.6.ebuild,v 1.1 2006/01/31 04:32:41 mr_bones_ Exp $
+
+inherit eutils 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"
+IUSE="jikes"
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ >=dev-java/ant-core-1.4.1
+ jikes? ( >=dev-java/jikes-1.17 )"
+
+S=${WORKDIR}
+
+src_compile() {
+ local antflags="game"
+
+ if use jikes; then
+ antflags="${antflags} -Dbuild.compiler=jikes"
+ fi
+ ant ${antflags} || die "failed to build"
+ # change the cd directory of the executable
+ # has to be done after the ant compilation
+ sed \
+ -e "/dirname/ s:.*:cd \"${GAMES_DATADIR}/${PN}\":" \
+ "${S}"/build/game/FlashGUI.sh \
+ > "${T}"/jrisk \
+ || die "sed failed"
+}
+
+src_install() {
+ dogamesbin "${T}"/jrisk || die "dogamesbin failed"
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r build/game/* || die "doins failed"
+ rm -f "${D}${GAMES_DATADIR}"/${PN}/*.cmd
+
+ newicon build/game/resources/risk.png ${PN}.png
+ make_desktop_entry ${PN} "Risk"
+
+ prepgamesdirs
+}