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 | 958b7d79aea065e78a1344b53f533d2ffad4fc0b (patch) | |
tree | 5b0762b42f8438dfa9e71d0ddcb7999e2ad951b6 /games-board | |
parent | stable on alpha amd64 ia64 x86 (diff) | |
download | historical-958b7d79aea065e78a1344b53f533d2ffad4fc0b.tar.gz historical-958b7d79aea065e78a1344b53f533d2ffad4fc0b.tar.bz2 historical-958b7d79aea065e78a1344b53f533d2ffad4fc0b.zip |
initial commit - ebuild submitted by Christian Weiske via bug #84555
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/jrisk/ChangeLog | 10 | ||||
-rw-r--r-- | games-board/jrisk/Manifest | 4 | ||||
-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, 71 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..61b538d6772b --- /dev/null +++ b/games-board/jrisk/Manifest @@ -0,0 +1,4 @@ +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 3ec97655f2478febf08e85400ad62f24 ChangeLog 407 +MD5 0730851b18ee29d45092a97876952ebf jrisk-1.0.7.6.ebuild 1281 +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> |