diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-10-02 20:55:19 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-10-02 20:55:19 +0000 |
commit | 6e906e9f28bf677e36d0c3c80cf0f7294199fbae (patch) | |
tree | 2c169af1b50f5a726e0a369b04911a03ede31c66 /games-board | |
parent | New package, simplified version of an ebuild from James Kirkham. Closes bug #... (diff) | |
download | gentoo-2-6e906e9f28bf677e36d0c3c80cf0f7294199fbae.tar.gz gentoo-2-6e906e9f28bf677e36d0c3c80cf0f7294199fbae.tar.bz2 gentoo-2-6e906e9f28bf677e36d0c3c80cf0f7294199fbae.zip |
version bump (bug #149845)
(Portage version: 2.1.2_pre2-r1)
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/jrisk/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/jrisk/files/digest-jrisk-1.0.8.8 | 3 | ||||
-rw-r--r-- | games-board/jrisk/jrisk-1.0.8.8.ebuild | 51 |
3 files changed, 61 insertions, 1 deletions
diff --git a/games-board/jrisk/ChangeLog b/games-board/jrisk/ChangeLog index 3a14c90a41f7..e107c2327ad3 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.10 2006/08/23 07:12:44 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/jrisk/ChangeLog,v 1.11 2006/10/02 20:55:19 mr_bones_ Exp $ + +*jrisk-1.0.8.8 (02 Oct 2006) + + 02 Oct 2006; Michael Sterrett <mr_bones_@gentoo.org> + +jrisk-1.0.8.8.ebuild: + version bump (bug #149845) 23 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org> jrisk-1.0.8.7.ebuild: stable for x86 diff --git a/games-board/jrisk/files/digest-jrisk-1.0.8.8 b/games-board/jrisk/files/digest-jrisk-1.0.8.8 new file mode 100644 index 000000000000..d300124fd7bf --- /dev/null +++ b/games-board/jrisk/files/digest-jrisk-1.0.8.8 @@ -0,0 +1,3 @@ +MD5 484475e8d7acf0198c725020110b0701 backup_of_Risk_1.0.8.8.zip 10110249 +RMD160 133e9883607221e21f9c06381f291f1dc6141f35 backup_of_Risk_1.0.8.8.zip 10110249 +SHA256 b946917b26c9508c580fc6fb14b782de810b11d535abb8c805d9e4bfc907b147 backup_of_Risk_1.0.8.8.zip 10110249 diff --git a/games-board/jrisk/jrisk-1.0.8.8.ebuild b/games-board/jrisk/jrisk-1.0.8.8.ebuild new file mode 100644 index 000000000000..f91de372d58e --- /dev/null +++ b/games-board/jrisk/jrisk-1.0.8.8.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.8.ebuild,v 1.1 2006/10/02 20:55:19 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 ~x86-fbsd" +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 +} |