version bump
authorMichael Sterrett <mr_bones_@gentoo.org>
Tue, 18 Oct 2005 23:46:30 +0000 (23:46 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Tue, 18 Oct 2005 23:46:30 +0000 (23:46 +0000)
Package-Manager: portage-2.0.51.22-r3

games-board/jrisk/ChangeLog
games-board/jrisk/Manifest
games-board/jrisk/files/digest-jrisk-1.0.8.2 [new file with mode: 0644]
games-board/jrisk/jrisk-1.0.8.2.ebuild [new file with mode: 0644]

index 097be16744c916656da94919526cf2add486ef94..f44fe11dc03cd9d5b51f416e37a99ec71365acdc 100644 (file)
@@ -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.
index 49d2a30698e9658f87a48ff845638415f0bc9cb2..394140a99cb5db7afe703cfe81bfdbf14c48fe9e 100644 (file)
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 3d2412606d19331a85b819d0695c5646 ChangeLog 500
-MD5 0915c1b474d2731ec5eeb504175966a7 jrisk-1.0.7.6.ebuild 1288
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 fde94a684becd849836388104353d6f2 ChangeLog 626
+MD5 995b9ba10a703764254e4efbdce45a9d jrisk-1.0.8.2.ebuild 1290
+MD5 0915c1b474d2731ec5eeb504175966a7 jrisk-1.0.7.6.ebuild 1288
+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 (file)
index 0000000..f50dbc7
--- /dev/null
@@ -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 (file)
index 0000000..6cc0645
--- /dev/null
@@ -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
+}