summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-12-01 19:52:04 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-12-01 19:52:04 +0000
commit1273d2d6b18a22ddae847fa0c5d5fe49245a99f2 (patch)
treeb8d0e70424b52907b5e3810c1bf7244bda3eea3f /games-board/jrisk
parentNew upstream version (diff)
downloadgentoo-2-1273d2d6b18a22ddae847fa0c5d5fe49245a99f2.tar.gz
gentoo-2-1273d2d6b18a22ddae847fa0c5d5fe49245a99f2.tar.bz2
gentoo-2-1273d2d6b18a22ddae847fa0c5d5fe49245a99f2.zip
version bump
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'games-board/jrisk')
-rw-r--r--games-board/jrisk/ChangeLog8
-rw-r--r--games-board/jrisk/Manifest2
-rw-r--r--games-board/jrisk/files/digest-jrisk-1.0.8.41
-rw-r--r--games-board/jrisk/jrisk-1.0.8.4.ebuild51
4 files changed, 61 insertions, 1 deletions
diff --git a/games-board/jrisk/ChangeLog b/games-board/jrisk/ChangeLog
index 62c226b95d63..cbdc4cc52936 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.4 2005/10/31 01:39:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.5 2005/12/01 19:52:04 mr_bones_ Exp $
+
+*jrisk-1.0.8.4 (01 Dec 2005)
+
+ 01 Dec 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +jrisk-1.0.8.4.ebuild:
+ version bump
*jrisk-1.0.8.3 (31 Oct 2005)
diff --git a/games-board/jrisk/Manifest b/games-board/jrisk/Manifest
index c2fac114c171..37a38e7347b5 100644
--- a/games-board/jrisk/Manifest
+++ b/games-board/jrisk/Manifest
@@ -1,6 +1,8 @@
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 74121b09b46836291612de8b3352c702 jrisk-1.0.8.3.ebuild 1290
+MD5 74121b09b46836291612de8b3352c702 jrisk-1.0.8.4.ebuild 1290
MD5 6c384143ddbbeba8341fb8952dc0df0b ChangeLog 752
MD5 0915c1b474d2731ec5eeb504175966a7 jrisk-1.0.7.6.ebuild 1288
+MD5 2705a79754e76bf7a931c742d4a12757 files/digest-jrisk-1.0.8.4 72
MD5 20bc6dc8768de2c7a65d02f715ab0f43 files/digest-jrisk-1.0.8.3 72
MD5 1c7181125aed14e8e720dca1b7a2fc46 files/digest-jrisk-1.0.7.6 66
diff --git a/games-board/jrisk/files/digest-jrisk-1.0.8.4 b/games-board/jrisk/files/digest-jrisk-1.0.8.4
new file mode 100644
index 000000000000..501b553c166f
--- /dev/null
+++ b/games-board/jrisk/files/digest-jrisk-1.0.8.4
@@ -0,0 +1 @@
+MD5 26dfda0822782f73d8f410318078896e backup_of_Risk_1.0.8.4.zip 9421409
diff --git a/games-board/jrisk/jrisk-1.0.8.4.ebuild b/games-board/jrisk/jrisk-1.0.8.4.ebuild
new file mode 100644
index 000000000000..71c4704b3fbd
--- /dev/null
+++ b/games-board/jrisk/jrisk-1.0.8.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2005 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.4.ebuild,v 1.1 2005/12/01 19:52:04 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
+}