diff options
Diffstat (limited to 'games-board/megamek')
-rw-r--r-- | games-board/megamek/megamek-0.34.10-r1.ebuild | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/games-board/megamek/megamek-0.34.10-r1.ebuild b/games-board/megamek/megamek-0.34.10-r1.ebuild deleted file mode 100644 index 6b3fe5a0bb91..000000000000 --- a/games-board/megamek/megamek-0.34.10-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="an unofficial, online version of the Classic BattleTech board game" -HOMEPAGE="http://megamek.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/MegaMek-v${PV}.zip" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=">=virtual/jdk-1.5 - app-arch/unzip" -RDEPEND=">=virtual/jre-1.5" - -S=${WORKDIR} - -pkg_setup() { - java-pkg-2_pkg_setup -} - -src_prepare() { - default - - rm -v *.jar || die - edos2unix startup.sh - sed -i \ - -e "s:XmX:Xmx:" \ - -e "s:/usr/share/java:/usr/share/${PN}:" \ - -e "s:/usr/share/MegaMek:/usr/share/${PN}:" \ - startup.sh || die "sed failed" - java-pkg-2_src_prepare -} - -src_compile() { - eant -} - -src_install() { - newbin startup.sh ${PN} - insinto /usr/share/${PN} - doins -r data docs l10n lib mmconf *.jar readme* - dodoc HACKING readme.txt - make_desktop_entry ${PN} MegaMek /usr/share/pixmaps/${PN}.gif - newicon data/images/misc/megamek-icon.gif ${PN}.gif -} |