summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2008-10-15 13:27:53 +0000
committerHanno Böck <hanno@gentoo.org>2008-10-15 13:27:53 +0000
commit708d6b875417dc2d18a825e48df7518848f44b57 (patch)
tree005cac087c2b770f226dad5abca9c6d996736e74 /sci-geosciences/josm
parentSparc stable, part of Bug #242088. (diff)
downloadgentoo-2-708d6b875417dc2d18a825e48df7518848f44b57.tar.gz
gentoo-2-708d6b875417dc2d18a825e48df7518848f44b57.tar.bz2
gentoo-2-708d6b875417dc2d18a825e48df7518848f44b57.zip
josm bump
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc9-00169-gb34c873 x86_64)
Diffstat (limited to 'sci-geosciences/josm')
-rw-r--r--sci-geosciences/josm/ChangeLog7
-rw-r--r--sci-geosciences/josm/josm-1.5_p1041.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/sci-geosciences/josm/ChangeLog b/sci-geosciences/josm/ChangeLog
index 88c4d5d7d3f2..8cdd6cb4d48a 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.17 2008/10/07 23:16:39 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/ChangeLog,v 1.18 2008/10/15 13:27:53 hanno Exp $
+
+*josm-1.5_p1041 (15 Oct 2008)
+
+ 15 Oct 2008; Hanno Boeck <hanno@gentoo.org> +josm-1.5_p1041.ebuild:
+ Version bump.
07 Oct 2008; Hanno Boeck <hanno@gentoo.org> files/josm-r1:
Fix for setting http_proxy without protocol.
diff --git a/sci-geosciences/josm/josm-1.5_p1041.ebuild b/sci-geosciences/josm/josm-1.5_p1041.ebuild
new file mode 100644
index 000000000000..5d133734309d
--- /dev/null
+++ b/sci-geosciences/josm/josm-1.5_p1041.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_p1041.ebuild,v 1.1 2008/10/15 13:27:53 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"
+}