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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Feb 20 00:25:16 2008 UTC (12 years ago) by hanno
Branch: MAIN
Changes since 1.1: +6 -6 lines
josm version bump
(Portage version: 2.1.4.4)

1 hanno 1.2 # Copyright 1999-2008 Gentoo Foundation
2 hanno 1.1 # 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_p493.ebuild,v 1.1 2007/12/17 15:20:25 hanno Exp $
4 hanno 1.1
5     inherit eutils
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-20071207.jar )
12     linguas_en_GB? ( mirror://gentoo/lang-en_GB-20061020.jar )
13     linguas_fr? ( mirror://gentoo/lang-fr-20061020.jar )
14     linguas_ro? ( mirror://gentoo/lang-ro-20061020.jar )"
15     LICENSE="GPL-2"
16     SLOT="0"
17     KEYWORDS="~amd64 ~x86"
18     DEPEND="virtual/jdk"
19     S="${WORKDIR}"
20    
21     LINGUAS="en de"
22     IUSE="linguas_de linguas_en_GB linguas_fr linguas_ro"
23    
24     src_unpack() {
25     einfo Nothing to unpack
26     }
27    
28     src_compile() {
29     einfo Nothing to compile
30     }
31    
32     src_install() {
33     dobin "${FILESDIR}/josm" || die
34    
35     insinto /usr/lib/josm/
36     newins "${DISTDIR}/${MY_P}.jar" josm.jar || die
37    
38     insinto /usr/lib/josm/plugins
39 hanno 1.2 use linguas_de && newins "${DISTDIR}/lang-de-20071207.jar" lang-de.jar
40     use linguas_en_GB && newins "${DISTDIR}/lang-en_GB-20061020.jar" lang-en_GB.jar
41     use linguas_fr && newins "${DISTDIR}/lang-fr-20061020.jar" lang-fr.jar
42     use linguas_ro && newins "${DISTDIR}/lang-ro-20061020.jar" lang-ro.jar
43 hanno 1.1
44     doicon "${FILESDIR}/josm.png" || die
45     make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm.png "Application"
46     }

  ViewVC Help
Powered by ViewVC 1.1.20