diff options
Diffstat (limited to 'games-board/jrisk/jrisk-1.0.8.7.ebuild')
-rw-r--r-- | games-board/jrisk/jrisk-1.0.8.7.ebuild | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/games-board/jrisk/jrisk-1.0.8.7.ebuild b/games-board/jrisk/jrisk-1.0.8.7.ebuild deleted file mode 100644 index 929a115d1685..000000000000 --- a/games-board/jrisk/jrisk-1.0.8.7.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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.7.ebuild,v 1.4 2007/01/26 22:22:57 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 -} |