diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-06-28 03:25:07 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-06-28 03:25:07 +0000 |
commit | 164d44addd0d06a8dab4a86d6e69c525ca359f4f (patch) | |
tree | fb511cc5c2e01143b01591f412d51f04205fdb0c /games-board/jrisk | |
parent | stable on alpha amd64 ia64 x86 (diff) | |
download | gentoo-2-164d44addd0d06a8dab4a86d6e69c525ca359f4f.tar.gz gentoo-2-164d44addd0d06a8dab4a86d6e69c525ca359f4f.tar.bz2 gentoo-2-164d44addd0d06a8dab4a86d6e69c525ca359f4f.zip |
initial commit - ebuild submitted by Christian Weiske via bug #84555
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-board/jrisk')
-rw-r--r-- | games-board/jrisk/ChangeLog | 10 | ||||
-rw-r--r-- | games-board/jrisk/Manifest | 2 | ||||
-rw-r--r-- | games-board/jrisk/files/digest-jrisk-1.0.7.6 | 1 | ||||
-rw-r--r-- | games-board/jrisk/jrisk-1.0.7.6.ebuild | 51 | ||||
-rw-r--r-- | games-board/jrisk/metadata.xml | 5 |
5 files changed, 69 insertions, 0 deletions
diff --git a/games-board/jrisk/ChangeLog b/games-board/jrisk/ChangeLog new file mode 100644 index 000000000000..b6de416e4337 --- /dev/null +++ b/games-board/jrisk/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2005/06/28 03:25:07 mr_bones_ Exp $ + +*jrisk-1.0.7.6 (28 Jun 2005) + + 28 Jun 2005; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml, + +jrisk-1.0.7.6.ebuild: + initial commit - ebuild submitted by Christian Weiske via bug #84555 + diff --git a/games-board/jrisk/Manifest b/games-board/jrisk/Manifest new file mode 100644 index 000000000000..904d39d7096b --- /dev/null +++ b/games-board/jrisk/Manifest @@ -0,0 +1,2 @@ +MD5 7edeca81a5c7c3dfa8c2edf4f135d0da jrisk-1.0.7.6.ebuild 1203 +MD5 1c7181125aed14e8e720dca1b7a2fc46 files/digest-jrisk-1.0.7.6 66 diff --git a/games-board/jrisk/files/digest-jrisk-1.0.7.6 b/games-board/jrisk/files/digest-jrisk-1.0.7.6 new file mode 100644 index 000000000000..3f2810f275d5 --- /dev/null +++ b/games-board/jrisk/files/digest-jrisk-1.0.7.6 @@ -0,0 +1 @@ +MD5 5e70a278a35e48a72f986265bf43f31a Risk_src_1.0.7.6.zip 4183544 diff --git a/games-board/jrisk/jrisk-1.0.7.6.ebuild b/games-board/jrisk/jrisk-1.0.7.6.ebuild new file mode 100644 index 000000000000..07c14bf2d52a --- /dev/null +++ b/games-board/jrisk/jrisk-1.0.7.6.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.7.6.ebuild,v 1.1 2005/06/28 03:25:07 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/Risk_src_${PV}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="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}/Risk + +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 +} diff --git a/games-board/jrisk/metadata.xml b/games-board/jrisk/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-board/jrisk/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |