blob: 5798e64f3f42c8c669f587f016ba6834da67e383 (
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
29
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-1.5_p1212.ebuild,v 1.1 2009/01/12 16:12:30 hanno Exp $
inherit eutils java-pkg-2
MY_P=${PN}-snapshot-${PV/1.5_p/}
DESCRIPTION="Java-based editor for the OpenStreetMap project"
HOMEPAGE="http://josm.openstreetmap.de/"
SRC_URI="http://josm.openstreetmap.de/download/${MY_P}.jar"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=">=virtual/jre-1.6"
S="${WORKDIR}"
IUSE=""
src_install() {
java-pkg_newjar "${DISTDIR}/${MY_P}.jar"
# Using the eclass doesn't let us support the http_proxy var,
# so we're using our own startscript for now.
#java-pkg_dolauncher "${PN}" --jar "${PN}.jar"
newbin "${FILESDIR}/${PN}-r1" "${PN}" || die "dobin failed"
doicon "${FILESDIR}/josm.png" || die "doicon failed"
make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Application"
}
|