summaryrefslogtreecommitdiff
path: root/games-board/megamek
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-board/megamek
reinit the tree, so we can have metadata
Diffstat (limited to 'games-board/megamek')
-rw-r--r--games-board/megamek/Manifest6
-rw-r--r--games-board/megamek/megamek-0.34.10-r1.ebuild50
-rw-r--r--games-board/megamek/megamek-0.34.10.ebuild50
-rw-r--r--games-board/megamek/metadata.xml11
4 files changed, 117 insertions, 0 deletions
diff --git a/games-board/megamek/Manifest b/games-board/megamek/Manifest
new file mode 100644
index 000000000000..75c9d78301fe
--- /dev/null
+++ b/games-board/megamek/Manifest
@@ -0,0 +1,6 @@
+DIST MegaMek-v0.34.10.zip 16677286 SHA256 14aaf88908798c784f47f75465a52bff9ff8c9cf261476d1ef6ef8a50303865c SHA512 943f6ed4f4d57197092a7aa09637f60827f23181a7b8b0991907fcc62109b471ea2ce53816a79dfcad9d8da65c9514be3190e924d9bf2b17aacf84fc1fa6e037 WHIRLPOOL 10d5c2066784c7722c99db1a192358554bd68979272a58f12849028902aaad3f23ca0024559c73e7966b2e441a54a1df9f159ad14f94679c60c3379bcc3aec5e
+EBUILD megamek-0.34.10-r1.ebuild 1053 SHA256 b0040a7f23cef0b6a3bdc3738be9a50da7616f33d488e0fc3398975663f3fcdb SHA512 126ee03e5a9dd995101da2e6c1d63de25d238a6838e595638aac3793ce76270016d1e94bb7a7a417cb7535cbf0e59acd7c03276ad2b973f35703f032486c19ed WHIRLPOOL 721669d27dd9b3e428aa9428292abef42c2664009ecb2de4228373153cf1abe3b8a78aa5e46f781c986c55b900ec3c934e47cedb6dbd40d156fe1e6f2a363435
+EBUILD megamek-0.34.10.ebuild 1104 SHA256 10597392b2933f125e5e9d87b1c708a7dcbf4a4fa655f458f000acb7645c7623 SHA512 e7f109b4479bf44db7cd39751a5f176ed37b5b0bb3647de3e8ec57427126855fcf3ba36c57bbe500cf6099171ea656c3535622e5b80a1f042079427fd4d8ed85 WHIRLPOOL 7b3ae7119b2b4f641b945e79ebb3effd12fabd781fc8cfe812c2452180cb96520720d826876314906862af72ef80e24ebed88597a8a9d55fb08711ba5fef555b
+MISC ChangeLog 2832 SHA256 0cb8ef0a20bb3536d598708a5b151eb358f2580eae3a06d4005f07bd731800b5 SHA512 c9a357d13bbff72ec60e160602d36462f0f272f14092ec38d4af752d2c10b70d195a6a4075ed10d29c51b8fc9d7023b0ad911ed5093b4e390112380feec730ff WHIRLPOOL aaef38821a9c03f3c951d2c7aee5984a07dc9951fc7b2dcaedf370695237518ec79dfe19947df0ccc81d5bb6c92b6dd3d5c12d2314a59fd468994d56edf74f0d
+MISC ChangeLog-2015 3369 SHA256 a815d93fcf3543bb973cc61601537c2cbd47cf6eac73a64572d1698903ce12cb SHA512 ed20f8e80d9cdb355b0edd15b4f133245df5532a83f329ec5a844a291307c0cf77c8064a7f720938bcf59e7929d12116f8bbe7852df6fef496dadf0c72f0b863 WHIRLPOOL 6dcdbf33e7be77693cfa50d6d611bd7b565b7a4c61d86423ec390451b3c81a4fd7c41d51e2ca376ba7a7662e3fc8f144afaec30abadfd7a814871c6601b6f324
+MISC metadata.xml 330 SHA256 cff2223970778d61eca3870dcdb85850211b812290212b110c1e227a5ecb38b9 SHA512 e2b391074805c40a32f3a2d74db870e75c5a9cb0413b15b41b43cf7bf16a6bf90363c3d1eb1b6c1fccbc4f44defcadbf44bea218b1a5f3d4fb66a4428e5b5cde WHIRLPOOL 224948262c34cdb08c53925f2323a920141a8785592f4d0c1a92dc65cfa975e04f179d96d88243de3599c4cf9f963bf5d40bc120ad6335f4ee1b795ef387c646
diff --git a/games-board/megamek/megamek-0.34.10-r1.ebuild b/games-board/megamek/megamek-0.34.10-r1.ebuild
new file mode 100644
index 000000000000..6b3fe5a0bb91
--- /dev/null
+++ b/games-board/megamek/megamek-0.34.10-r1.ebuild
@@ -0,0 +1,50 @@
+# 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
+}
diff --git a/games-board/megamek/megamek-0.34.10.ebuild b/games-board/megamek/megamek-0.34.10.ebuild
new file mode 100644
index 000000000000..8c6f95dc5ae4
--- /dev/null
+++ b/games-board/megamek/megamek-0.34.10.ebuild
@@ -0,0 +1,50 @@
+# 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
+}
diff --git a/games-board/megamek/metadata.xml b/games-board/megamek/metadata.xml
new file mode 100644
index 000000000000..1c5cb53716e8
--- /dev/null
+++ b/games-board/megamek/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">megamek</remote-id>
+ </upstream>
+</pkgmetadata>