diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2006-10-17 21:57:48 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2006-10-17 21:57:48 +0000 |
commit | 97e5fdf5b3c3ecf7e3c7395ac6c8bef1662237db (patch) | |
tree | 5885149c464ce17e0e3505b3c25000175de4499f /games-board/megamek | |
parent | Version bump for bug #146572 reported by Ole Langbehn <neurolabs@web.de>. Mig... (diff) | |
download | gentoo-2-97e5fdf5b3c3ecf7e3c7395ac6c8bef1662237db.tar.gz gentoo-2-97e5fdf5b3c3ecf7e3c7395ac6c8bef1662237db.tar.bz2 gentoo-2-97e5fdf5b3c3ecf7e3c7395ac6c8bef1662237db.zip |
Version bump
(Portage version: 2.1.2_pre3-r3)
Diffstat (limited to 'games-board/megamek')
-rw-r--r-- | games-board/megamek/ChangeLog | 7 | ||||
-rw-r--r-- | games-board/megamek/files/digest-megamek-0.32.0 | 3 | ||||
-rw-r--r-- | games-board/megamek/megamek-0.32.0.ebuild | 43 |
3 files changed, 52 insertions, 1 deletions
diff --git a/games-board/megamek/ChangeLog b/games-board/megamek/ChangeLog index 88c940cbdcc7..98b06073754e 100644 --- a/games-board/megamek/ChangeLog +++ b/games-board/megamek/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-board/megamek # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/megamek/ChangeLog,v 1.7 2006/09/27 21:48:58 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/megamek/ChangeLog,v 1.8 2006/10/17 21:57:48 nyhm Exp $ + +*megamek-0.32.0 (17 Oct 2006) + + 17 Oct 2006; Tristan Heaven <nyhm@gentoo.org> +megamek-0.32.0.ebuild: + Version bump *megamek-0.30.11 (27 Sep 2006) diff --git a/games-board/megamek/files/digest-megamek-0.32.0 b/games-board/megamek/files/digest-megamek-0.32.0 new file mode 100644 index 000000000000..7f142218e6a1 --- /dev/null +++ b/games-board/megamek/files/digest-megamek-0.32.0 @@ -0,0 +1,3 @@ +MD5 a7efd1897a3dd4ab628ddd85a2f09b61 MegaMek-v0.32.0.zip 11178027 +RMD160 26897e74cb66f97bb0cb7322ac5c8dbaaee4559d MegaMek-v0.32.0.zip 11178027 +SHA256 4c05decde784fd63a5d27b50568ad0e17c2d275033fb6938defc1cdfd9b42106 MegaMek-v0.32.0.zip 11178027 diff --git a/games-board/megamek/megamek-0.32.0.ebuild b/games-board/megamek/megamek-0.32.0.ebuild new file mode 100644 index 000000000000..d29bca8d7543 --- /dev/null +++ b/games-board/megamek/megamek-0.32.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/megamek/megamek-0.32.0.ebuild,v 1.1 2006/10/17 21:57:48 nyhm Exp $ + +inherit java-ant-2 java-pkg-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 + dev-java/ant + app-arch/unzip" +RDEPEND=">=virtual/jre-1.5" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + cd "${S}" + rm -f *.jar + 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 l10n lib mmconf *.jar || die "doins failed" + dodoc HACKING readme.txt docs/*txt + prepgamesdirs +} |