/[gentoo-x86]/sci-geosciences/josm/josm-1.5_p1041.ebuild
Gentoo

Contents of /sci-geosciences/josm/josm-1.5_p1041.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Mar 18 12:09:38 2009 UTC (10 years, 11 months ago) by hanno
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
josm: remove obsolete versions
(Portage version: 2.2_rc26/cvs/Linux x86_64)

1 hanno 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 hanno 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-1.5_p1041.ebuild,v 1.1 2008/10/15 13:27:53 hanno Exp $
4 hanno 1.1
5     inherit eutils java-pkg-2
6    
7     MY_P=${PN}-snapshot-${PV/1.5_p/}
8     DESCRIPTION="Java-based editor for the OpenStreetMap project"
9     HOMEPAGE="http://josm.openstreetmap.de/"
10     SRC_URI="http://josm.openstreetmap.de/download/${MY_P}.jar
11     linguas_de? ( mirror://gentoo/lang-de-20080705.jar )
12     linguas_en_GB? ( mirror://gentoo/lang-en_GB-20080207.jar )
13     linguas_fr? ( mirror://gentoo/lang-fr-20080207.jar )
14     linguas_ro? ( mirror://gentoo/lang-ro-20080207.jar )"
15     LICENSE="GPL-2"
16     SLOT="0"
17     KEYWORDS="~amd64 ~x86"
18     DEPEND=">=virtual/jre-1.6"
19     S="${WORKDIR}"
20    
21     LINGUAS="en de"
22     IUSE="linguas_de linguas_en_GB linguas_fr linguas_ro"
23    
24     src_install() {
25     java-pkg_newjar "${DISTDIR}/${MY_P}.jar"
26    
27     # Using the eclass doesn't let us support the http_proxy var,
28     # so we're using our own startscript for now.
29     #java-pkg_dolauncher "${PN}" --jar "${PN}.jar"
30     newbin "${FILESDIR}/${PN}-r1" "${PN}" || die "dobin failed"
31    
32     insinto /usr/share/josm/plugins
33     use linguas_de && newins "${DISTDIR}/lang-de-20080705.jar" lang-de.jar
34     use linguas_en_GB && newins "${DISTDIR}/lang-en_GB-20080207.jar" lang-en_GB.jar
35     use linguas_fr && newins "${DISTDIR}/lang-fr-20080207.jar" lang-fr.jar
36     use linguas_ro && newins "${DISTDIR}/lang-ro-20080207.jar" lang-ro.jar
37    
38     doicon "${FILESDIR}/josm.png" || die "doicon failed"
39     make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Application"
40     }

  ViewVC Help
Powered by ViewVC 1.1.20