summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-08-27 11:24:29 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-09-06 11:24:28 +0200
commiteb8b7712606ad6360245cc236457dae54c6c59e4 (patch)
tree1eaae247edf4578c599efd6bbf6a35c222102b4d /games-board
parentmedia-tv/mythtv: drop 33.1-r1 (diff)
downloadgentoo-eb8b7712606ad6360245cc236457dae54c6c59e4.tar.gz
gentoo-eb8b7712606ad6360245cc236457dae54c6c59e4.tar.bz2
gentoo-eb8b7712606ad6360245cc236457dae54c6c59e4.zip
games-board/megamek: drop 0.34.10-r2
Closes: https://bugs.gentoo.org/933677 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/37468 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/megamek/megamek-0.34.10-r2.ebuild50
1 files changed, 0 insertions, 50 deletions
diff --git a/games-board/megamek/megamek-0.34.10-r2.ebuild b/games-board/megamek/megamek-0.34.10-r2.ebuild
deleted file mode 100644
index 213e94a3ce70..000000000000
--- a/games-board/megamek/megamek-0.34.10-r2.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop edos2unix java-pkg-2 java-ant-2
-
-DESCRIPTION="Unofficial online version of the Classic BattleTech board game"
-HOMEPAGE="https://megamek.org/"
-SRC_URI="
- https://downloads.sourceforge.net/${PN}/MegaMek-v${PV}.zip
- https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
-S="${WORKDIR}"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND=">=virtual/jre-1.8:*"
-DEPEND=">=virtual/jdk-1.8:*"
-BDEPEND="app-arch/unzip"
-
-src_prepare() {
- default
-
- rm MegaMek.jar || die
-
- sed -e "s|XmX|Xmx|" \
- -e "s|/usr/share/java|${EPREFIX}/usr/share/${PN}|" \
- -e "s|/usr/share/MegaMek|${EPREFIX}/usr/share/${PN}|" \
- startup.sh > ${PN} || die
- edos2unix ${PN}
-
- # workaround encoding issues posing problems with >=jdk-1.8
- find . -name '*.java' -exec sed -i 's/\xf6/\xc3\xb6/' {} + || die
-
- java-pkg-2_src_prepare
-}
-
-src_install() {
- dobin ${PN}
-
- insinto /usr/share/${PN}
- doins -r MegaMek.jar data docs l10n lib mmconf readme* # readme used at runtime
-
- dodoc HACKING readme.txt
-
- doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} MegaMek
-}