summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-10-18 23:46:30 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-10-18 23:46:30 +0000
commit8a7633f40281fa1bad559748eafe70d0ba37de33 (patch)
tree5119e5c04742b303688cbecb514a75df3ecb151f /games-board/jrisk
parentMarked Stable on amd64. Bug #109705. (diff)
downloadgentoo-2-8a7633f40281fa1bad559748eafe70d0ba37de33.tar.gz
gentoo-2-8a7633f40281fa1bad559748eafe70d0ba37de33.tar.bz2
gentoo-2-8a7633f40281fa1bad559748eafe70d0ba37de33.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/Manifest14
-rw-r--r--games-board/jrisk/files/digest-jrisk-1.0.8.21
-rw-r--r--games-board/jrisk/jrisk-1.0.8.2.ebuild51
4 files changed, 62 insertions, 12 deletions
diff --git a/games-board/jrisk/ChangeLog b/games-board/jrisk/ChangeLog
index 097be16744c9..f44fe11dc03c 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.2 2005/08/07 13:11:53 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.3 2005/10/18 23:46:30 mr_bones_ Exp $
+
+*jrisk-1.0.8.2 (18 Oct 2005)
+
+ 18 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +jrisk-1.0.8.2.ebuild:
+ version bump
07 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> jrisk-1.0.7.6.ebuild:
Marked ~amd64.
diff --git a/games-board/jrisk/Manifest b/games-board/jrisk/Manifest
index 49d2a30698e9..5102733637ec 100644
--- a/games-board/jrisk/Manifest
+++ b/games-board/jrisk/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 3d2412606d19331a85b819d0695c5646 ChangeLog 500
+MD5 f913c04f0f5c69d53cbb1d6f819bba8b jrisk-1.0.8.2.ebuild 1294
MD5 0915c1b474d2731ec5eeb504175966a7 jrisk-1.0.7.6.ebuild 1288
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 734a8168a5fd7e066dbf92a62cf2e060 files/digest-jrisk-1.0.8.2 72
MD5 1c7181125aed14e8e720dca1b7a2fc46 files/digest-jrisk-1.0.7.6 66
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFC9ggCj5H05b2HAEkRAr6XAJ9AuEk8CE8SY7DjaibwB73fY3n99gCghTNx
-Mnt3a9SPnbuSm1SUC3vKLmk=
-=AAQP
------END PGP SIGNATURE-----
diff --git a/games-board/jrisk/files/digest-jrisk-1.0.8.2 b/games-board/jrisk/files/digest-jrisk-1.0.8.2
new file mode 100644
index 000000000000..f50dbc79c62c
--- /dev/null
+++ b/games-board/jrisk/files/digest-jrisk-1.0.8.2
@@ -0,0 +1 @@
+MD5 182d6e6a3b426a30552aed51a5ba2fd7 backup_of_Risk_1.0.8.2.zip 9387425
diff --git a/games-board/jrisk/jrisk-1.0.8.2.ebuild b/games-board/jrisk/jrisk-1.0.8.2.ebuild
new file mode 100644
index 000000000000..6cc064582770
--- /dev/null
+++ b/games-board/jrisk/jrisk-1.0.8.2.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.2.ebuild,v 1.1 2005/10/18 23:46:30 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
+}