summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-05-02 02:48:21 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-05-02 02:48:21 +0000
commite84e4b0b8257313ab8c6037df6cc0540818be2e8 (patch)
tree08e4add554170d80d2d9f448d7659fa5d6ee0b79 /games-board
parentsome cleanups for tomboy 0.3.5 (diff)
downloadgentoo-2-e84e4b0b8257313ab8c6037df6cc0540818be2e8.tar.gz
gentoo-2-e84e4b0b8257313ab8c6037df6cc0540818be2e8.tar.bz2
gentoo-2-e84e4b0b8257313ab8c6037df6cc0540818be2e8.zip
version bump
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/jrisk/ChangeLog8
-rw-r--r--games-board/jrisk/files/digest-jrisk-1.0.8.73
-rw-r--r--games-board/jrisk/jrisk-1.0.8.7.ebuild51
3 files changed, 61 insertions, 1 deletions
diff --git a/games-board/jrisk/ChangeLog b/games-board/jrisk/ChangeLog
index e8b37f0c9aec..b6588bd5d53a 100644
--- a/games-board/jrisk/ChangeLog
+++ b/games-board/jrisk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/jrisk
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.8 2006/05/02 02:48:21 mr_bones_ Exp $
+
+*jrisk-1.0.8.7 (02 May 2006)
+
+ 02 May 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +jrisk-1.0.8.7.ebuild:
+ version bump
*jrisk-1.0.8.6 (31 Jan 2006)
diff --git a/games-board/jrisk/files/digest-jrisk-1.0.8.7 b/games-board/jrisk/files/digest-jrisk-1.0.8.7
new file mode 100644
index 000000000000..1223b6c11547
--- /dev/null
+++ b/games-board/jrisk/files/digest-jrisk-1.0.8.7
@@ -0,0 +1,3 @@
+MD5 5fb27137c68ad9b60279dfe62863c733 backup_of_Risk_1.0.8.7.zip 9474768
+RMD160 111d7d279aea2d6bf46aad37d41c2de21516a127 backup_of_Risk_1.0.8.7.zip 9474768
+SHA256 ffe317ce4d9da02d9cbe765a6b43c6fd9c552f773df102eb5ca80c1d8ca2073d backup_of_Risk_1.0.8.7.zip 9474768
diff --git a/games-board/jrisk/jrisk-1.0.8.7.ebuild b/games-board/jrisk/jrisk-1.0.8.7.ebuild
new file mode 100644
index 000000000000..d30e12c0013e
--- /dev/null
+++ b/games-board/jrisk/jrisk-1.0.8.7.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.7.ebuild,v 1.1 2006/05/02 02:48:21 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
+}