diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2012-07-30 21:50:21 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2012-07-30 21:50:21 +0000 |
commit | 924023419868a2dc23489206e2674433d9c1db23 (patch) | |
tree | 05dad1d4ece7da0c7808dfd912962a18e8f60398 /games-board | |
parent | version bump (bug #410219) (diff) | |
download | gentoo-2-924023419868a2dc23489206e2674433d9c1db23.tar.gz gentoo-2-924023419868a2dc23489206e2674433d9c1db23.tar.bz2 gentoo-2-924023419868a2dc23489206e2674433d9c1db23.zip |
Version bump.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/megamek/ChangeLog | 9 | ||||
-rw-r--r-- | games-board/megamek/megamek-0.34.10.ebuild | 51 |
2 files changed, 58 insertions, 2 deletions
diff --git a/games-board/megamek/ChangeLog b/games-board/megamek/ChangeLog index 0124da454234..ad95beb41648 100644 --- a/games-board/megamek/ChangeLog +++ b/games-board/megamek/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-board/megamek -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/megamek/ChangeLog,v 1.19 2010/02/27 16:17:20 phajdan.jr Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/megamek/ChangeLog,v 1.20 2012/07/30 21:50:21 calchan Exp $ + +*megamek-0.34.10 (29 Jul 2012) + + 29 Jul 2012; Denis Dupeyron <calchan@gentoo.org> +megamek-0.34.10.ebuild: + Version bump. 27 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> megamek-0.34.9.ebuild: 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..ab49f0a240f8 --- /dev/null +++ b/games-board/megamek/megamek-0.34.10.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/megamek/megamek-0.34.10.ebuild,v 1.1 2012/07/30 21:50:21 calchan Exp $ + +EAPI=2 +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 ~ppc ~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 || 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 + make_desktop_entry ${PN} MegaMek /usr/share/pixmaps/${PN}.gif + newicon data/images/misc/megamek-icon.gif ${PN}.gif + prepgamesdirs +} |