diff options
Diffstat (limited to 'games-board/jrisk')
-rw-r--r-- | games-board/jrisk/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/jrisk/Manifest | 4 | ||||
-rw-r--r-- | games-board/jrisk/files/digest-jrisk-1.0.8.3 | 1 | ||||
-rw-r--r-- | games-board/jrisk/jrisk-1.0.8.3.ebuild | 51 |
4 files changed, 62 insertions, 2 deletions
diff --git a/games-board/jrisk/ChangeLog b/games-board/jrisk/ChangeLog index f44fe11dc03c..62c226b95d63 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.3 2005/10/18 23:46:30 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.4 2005/10/31 01:39:11 mr_bones_ Exp $ + +*jrisk-1.0.8.3 (31 Oct 2005) + + 31 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org> + +jrisk-1.0.8.3.ebuild: + version bump *jrisk-1.0.8.2 (18 Oct 2005) diff --git a/games-board/jrisk/Manifest b/games-board/jrisk/Manifest index 394140a99cb5..d4001a662667 100644 --- a/games-board/jrisk/Manifest +++ b/games-board/jrisk/Manifest @@ -1,6 +1,8 @@ MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 fde94a684becd849836388104353d6f2 ChangeLog 626 +MD5 74121b09b46836291612de8b3352c702 jrisk-1.0.8.3.ebuild 1290 +MD5 6c384143ddbbeba8341fb8952dc0df0b ChangeLog 752 MD5 995b9ba10a703764254e4efbdce45a9d jrisk-1.0.8.2.ebuild 1290 MD5 0915c1b474d2731ec5eeb504175966a7 jrisk-1.0.7.6.ebuild 1288 +MD5 20bc6dc8768de2c7a65d02f715ab0f43 files/digest-jrisk-1.0.8.3 72 MD5 734a8168a5fd7e066dbf92a62cf2e060 files/digest-jrisk-1.0.8.2 72 MD5 1c7181125aed14e8e720dca1b7a2fc46 files/digest-jrisk-1.0.7.6 66 diff --git a/games-board/jrisk/files/digest-jrisk-1.0.8.3 b/games-board/jrisk/files/digest-jrisk-1.0.8.3 new file mode 100644 index 000000000000..dc7feee4b63f --- /dev/null +++ b/games-board/jrisk/files/digest-jrisk-1.0.8.3 @@ -0,0 +1 @@ +MD5 36bdd9926ee48beb144abc4d87e82067 backup_of_Risk_1.0.8.3.zip 9409712 diff --git a/games-board/jrisk/jrisk-1.0.8.3.ebuild b/games-board/jrisk/jrisk-1.0.8.3.ebuild new file mode 100644 index 000000000000..a7eebafcf7dc --- /dev/null +++ b/games-board/jrisk/jrisk-1.0.8.3.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.3.ebuild,v 1.1 2005/10/31 01:39:11 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 +} |