summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-20 22:30:15 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-21 02:37:25 +0100
commitf779aa0f8fe174933a4e3f7bd35cf6d8c35b4138 (patch)
tree3371d63eb3a0aef5b66eca5582817a647e8596d0 /games-board
parentgames-board/maitretarot: Remove old (diff)
downloadgentoo-f779aa0f8fe174933a4e3f7bd35cf6d8c35b4138.tar.gz
gentoo-f779aa0f8fe174933a4e3f7bd35cf6d8c35b4138.tar.bz2
gentoo-f779aa0f8fe174933a4e3f7bd35cf6d8c35b4138.zip
games-board/megamek: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'games-board')
-rw-r--r--games-board/megamek/megamek-0.34.10.ebuild50
1 files changed, 0 insertions, 50 deletions
diff --git a/games-board/megamek/megamek-0.34.10.ebuild b/games-board/megamek/megamek-0.34.10.ebuild
deleted file mode 100644
index aaa9996f3475..000000000000
--- a/games-board/megamek/megamek-0.34.10.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils java-pkg-2 java-ant-2 games
-
-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() {
- games_pkg_setup
- java-pkg-2_pkg_setup
-}
-
-src_prepare() {
- rm -v *.jar || die
- edos2unix startup.sh
- sed -i \
- -e "s:XmX:Xmx:" \
- -e "s:/usr/share/java:${GAMES_DATADIR}/${PN}:" \
- -e "s:/usr/share/MegaMek:${GAMES_DATADIR}/${PN}:" \
- startup.sh || die "sed failed"
- java-pkg-2_src_prepare
-}
-
-src_compile() {
- eant
-}
-
-src_install() {
- newgamesbin startup.sh ${PN}
- insinto "${GAMES_DATADIR}/${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
- prepgamesdirs
-}