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
commitb809438ccedc6189aa456b13e33d55e6f0eb6550 (patch)
treeb4804a714426d1d4a5826c797f86cfc8425f77d6 /games-board/jrisk
parentNew upstream version (diff)
downloadhistorical-b809438ccedc6189aa456b13e33d55e6f0eb6550.tar.gz
historical-b809438ccedc6189aa456b13e33d55e6f0eb6550.tar.bz2
historical-b809438ccedc6189aa456b13e33d55e6f0eb6550.zip
version bump
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'games-board/jrisk')
-rw-r--r--games-board/jrisk/ChangeLog8
-rw-r--r--games-board/jrisk/Manifest4
-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, 62 insertions, 2 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..d10efba01f16 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 6c384143ddbbeba8341fb8952dc0df0b ChangeLog 752
+MD5 e144dd81e25e1149f92ae1f954752c79 jrisk-1.0.8.4.ebuild 1290
+MD5 ce6eec89d4ca01f42204e97428b85968 ChangeLog 878
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
+}