summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-08-26 13:02:13 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-08-26 13:02:13 +0000
commite44b2e7f4927694ad0226153bfc3d49b71407c36 (patch)
tree517c6d6a6baa0718d5b164d62168da1d9dc38b97 /games-board
parentproperly added portaudio (diff)
downloadgentoo-2-e44b2e7f4927694ad0226153bfc3d49b71407c36.tar.gz
gentoo-2-e44b2e7f4927694ad0226153bfc3d49b71407c36.tar.bz2
gentoo-2-e44b2e7f4927694ad0226153bfc3d49b71407c36.zip
Version bump to 0.32.2
(Portage version: 2.1.2.12)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/megamek/ChangeLog8
-rw-r--r--games-board/megamek/files/digest-megamek-0.32.23
-rw-r--r--games-board/megamek/megamek-0.32.2.ebuild47
3 files changed, 57 insertions, 1 deletions
diff --git a/games-board/megamek/ChangeLog b/games-board/megamek/ChangeLog
index 74e159395567..236090bd0db1 100644
--- a/games-board/megamek/ChangeLog
+++ b/games-board/megamek/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/megamek
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/megamek/ChangeLog,v 1.10 2007/05/25 20:22:17 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/megamek/ChangeLog,v 1.11 2007/08/26 13:02:13 tupone Exp $
+
+*megamek-0.32.2 (26 Aug 2007)
+
+ 26 Aug 2007; Tupone Alfredo <tupone@gentoo.org> +megamek-0.32.2.ebuild:
+ Version bump to 0.32.2
+ Fixed online retrieving of various readme
25 May 2007; Petteri Räty <betelgeuse@gentoo.org> megamek-0.32.0.ebuild:
Add pkg_setup that calls both linux-info_pkg_setup and java-pkg-2_pkg_setup
diff --git a/games-board/megamek/files/digest-megamek-0.32.2 b/games-board/megamek/files/digest-megamek-0.32.2
new file mode 100644
index 000000000000..687624536cbe
--- /dev/null
+++ b/games-board/megamek/files/digest-megamek-0.32.2
@@ -0,0 +1,3 @@
+MD5 065cd071b2b10c94815b50fc852814fd MegaMek-v0.32.2.zip 11134134
+RMD160 2e282c950faf5ce863308ba3e7a2e83822666bdc MegaMek-v0.32.2.zip 11134134
+SHA256 4367ca4c5e98bf9060d7cf2c0cfbf9d27b1e911d0ee5cc0f7b91c5acd675aeb3 MegaMek-v0.32.2.zip 11134134
diff --git a/games-board/megamek/megamek-0.32.2.ebuild b/games-board/megamek/megamek-0.32.2.ebuild
new file mode 100644
index 000000000000..d5c9b1622e03
--- /dev/null
+++ b/games-board/megamek/megamek-0.32.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/megamek/megamek-0.32.2.ebuild,v 1.1 2007/08/26 13:02:13 tupone Exp $
+
+inherit 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 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.5"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ games_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -v *.jar || die
+ sed -i \
+ -e "s:/usr/share/java:${GAMES_DATADIR}/${PN}:" \
+ -e "s:/usr/share/MegaMek:${GAMES_DATADIR}/${PN}:" \
+ startup.sh || die "sed failed"
+}
+
+src_compile() {
+ eant || die
+}
+
+src_install() {
+ newgamesbin startup.sh ${PN} || die "newgamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data docs l10n lib mmconf *.jar readme* || die "doins failed"
+ dodoc HACKING readme.txt || die
+ prepgamesdirs
+}