summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2008-07-27 22:50:57 +0000
committerHanno Böck <hanno@gentoo.org>2008-07-27 22:50:57 +0000
commit54a9cab6e588af4c3a76779fa7b642a8932afbca (patch)
tree1dcebc547421472b4141482e0893138be5c6cb7b /sci-geosciences/josm
parentStable on amd64, bug #230181 (diff)
downloadgentoo-2-54a9cab6e588af4c3a76779fa7b642a8932afbca.tar.gz
gentoo-2-54a9cab6e588af4c3a76779fa7b642a8932afbca.tar.bz2
gentoo-2-54a9cab6e588af4c3a76779fa7b642a8932afbca.zip
josm bump
(Portage version: 2.2_rc3/cvs/Linux 2.6.26 i686)
Diffstat (limited to 'sci-geosciences/josm')
-rw-r--r--sci-geosciences/josm/ChangeLog7
-rw-r--r--sci-geosciences/josm/josm-1.5_p736.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/sci-geosciences/josm/ChangeLog b/sci-geosciences/josm/ChangeLog
index 43c32c27bece..35a10172ba19 100644
--- a/sci-geosciences/josm/ChangeLog
+++ b/sci-geosciences/josm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-geosciences/josm
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/ChangeLog,v 1.15 2008/07/21 00:16:20 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/ChangeLog,v 1.16 2008/07/27 22:50:57 hanno Exp $
+
+*josm-1.5_p736 (27 Jul 2008)
+
+ 27 Jul 2008; Hanno Boeck <hanno@gentoo.org> +josm-1.5_p736.ebuild:
+ Version bump.
*josm-1.5_p732 (21 Jul 2008)
diff --git a/sci-geosciences/josm/josm-1.5_p736.ebuild b/sci-geosciences/josm/josm-1.5_p736.ebuild
new file mode 100644
index 000000000000..76a9f5186a9c
--- /dev/null
+++ b/sci-geosciences/josm/josm-1.5_p736.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-1.5_p736.ebuild,v 1.1 2008/07/27 22:50:57 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
+ linguas_de? ( mirror://gentoo/lang-de-20080705.jar )
+ linguas_en_GB? ( mirror://gentoo/lang-en_GB-20080207.jar )
+ linguas_fr? ( mirror://gentoo/lang-fr-20080207.jar )
+ linguas_ro? ( mirror://gentoo/lang-ro-20080207.jar )"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+DEPEND=">=virtual/jre-1.6"
+S="${WORKDIR}"
+
+LINGUAS="en de"
+IUSE="linguas_de linguas_en_GB linguas_fr linguas_ro"
+
+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"
+
+ insinto /usr/share/josm/plugins
+ use linguas_de && newins "${DISTDIR}/lang-de-20080705.jar" lang-de.jar
+ use linguas_en_GB && newins "${DISTDIR}/lang-en_GB-20080207.jar" lang-en_GB.jar
+ use linguas_fr && newins "${DISTDIR}/lang-fr-20080207.jar" lang-fr.jar
+ use linguas_ro && newins "${DISTDIR}/lang-ro-20080207.jar" lang-ro.jar
+
+ doicon "${FILESDIR}/josm.png" || die "doicon failed"
+ make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Application"
+}