blob: f31b3c0e83fceded9443b4b73744936c5f430386 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# 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.30.10.ebuild,v 1.1 2006/07/31 16:10:41 mr_bones_ Exp $
inherit eutils 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"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=">=virtual/jdk-1.4
app-arch/unzip"
RDEPEND=">=virtual/jre-1.4"
S=${WORKDIR}
src_install() {
insinto "${GAMES_DATADIR}/${PN}"
doins -r * || die "Could not copy files"
games_make_wrapper megamek "java -jar MegaMek.jar" "${GAMES_DATADIR}/${PN}"
dodoc HACKING license.txt readme.txt docs/*txt
prepgamesdirs
}
|