aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/josm')
-rw-r--r--sci-geosciences/josm/Manifest7
-rwxr-xr-xsci-geosciences/josm/files/josm-r19
-rw-r--r--sci-geosciences/josm/files/josm.pngbin0 -> 1737 bytes
-rw-r--r--sci-geosciences/josm/josm-1.981.ebuild35
-rw-r--r--sci-geosciences/josm/josm-2.049.ebuild35
-rw-r--r--sci-geosciences/josm/metadata.xml9
6 files changed, 95 insertions, 0 deletions
diff --git a/sci-geosciences/josm/Manifest b/sci-geosciences/josm/Manifest
new file mode 100644
index 000000000..947c6b750
--- /dev/null
+++ b/sci-geosciences/josm/Manifest
@@ -0,0 +1,7 @@
+AUX josm-r1 304 RMD160 a54bbdbbc2cd1b8ca4deeb11604be22df4194444 SHA1 0bd5757ed573a2c274d76c0b4ba4b770134a0734 SHA256 c407df927e62c4e2afbff998e105dfe4084ab07484a4b28a00f196e7dafee3cf
+AUX josm.png 1737 RMD160 81fc37d55d4b6b14f9a35c3ed89da3ecd7d538f2 SHA1 cd51f118224555727279536bb42a634afcef6626 SHA256 fed9c1ef73900e6a3cac162a4006ab8cd972ba29938a857e8af604779109c39f
+DIST josm-1981.tar.lzma 5369495 RMD160 e9b4bb1fa7e7b7d184daf0ba7ab08e90cca9add1 SHA1 13e2aed56feb046153155ef363376e41ec4bc102 SHA256 caa72702d197ef59f3288cd324b06f92fdd1b9fe96895f6e85bc3d0c25af5c4e
+DIST josm-2049.tar.lzma 5398660 RMD160 4fd16f1b415af9e1806208b9a009595dbfdd197e SHA1 f97e2c6f6c4299cb3d0246fbf7f774190aedae86 SHA256 b301605c3f74dadbf467ab6a7deb82b43e60b5f2e300eeef0117775af4608f89
+EBUILD josm-1.981.ebuild 841 RMD160 f91808ebb9f1b464815b6dc829aba652b6dafc33 SHA1 e433788d666581ba4018851809023aa457d19505 SHA256 3b3c5335e110d69e4aae17c7286f36e753d5ac3a99b071f36bd723b7e013c6c3
+EBUILD josm-2.049.ebuild 841 RMD160 f91808ebb9f1b464815b6dc829aba652b6dafc33 SHA1 e433788d666581ba4018851809023aa457d19505 SHA256 3b3c5335e110d69e4aae17c7286f36e753d5ac3a99b071f36bd723b7e013c6c3
+MISC metadata.xml 266 RMD160 525061ae3da950d374ece407f01a7eb88eb5c22f SHA1 058f00937f413d4ed15a23bdfbe22cb44d1008a1 SHA256 a5f61adbf6238c8bf097c18a6e4107ac80cd40cd7d662370d2172396984c036e
diff --git a/sci-geosciences/josm/files/josm-r1 b/sci-geosciences/josm/files/josm-r1
new file mode 100755
index 000000000..48c34d8bb
--- /dev/null
+++ b/sci-geosciences/josm/files/josm-r1
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ -z "$http_proxy" ]; then
+ java -jar /usr/share/josm/lib/josm.jar
+else
+ proxy_port=`echo $http_proxy|sed -e 's/.*://g'`
+ proxy_host=`echo $http_proxy|sed -e 's!\(.*://\)\?\(.*\):.*!\2!g'`
+ java -Dhttp.proxyHost=$proxy_host -Dhttp.proxyPort=$proxy_port -jar /usr/share/josm/lib/josm.jar
+fi
diff --git a/sci-geosciences/josm/files/josm.png b/sci-geosciences/josm/files/josm.png
new file mode 100644
index 000000000..aebba7625
--- /dev/null
+++ b/sci-geosciences/josm/files/josm.png
Binary files differ
diff --git a/sci-geosciences/josm/josm-1.981.ebuild b/sci-geosciences/josm/josm-1.981.ebuild
new file mode 100644
index 000000000..3cbd93eac
--- /dev/null
+++ b/sci-geosciences/josm/josm-1.981.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_P=${PN}-${PV/./}
+
+DESCRIPTION="Java-based editor for the OpenStreetMap project"
+HOMEPAGE="http://josm.openstreetmap.de/"
+SRC_URI="http://josm.fabian-fingerle.de/${MY_P}.tar.lzma"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}/${PN}"
+
+IUSE=""
+
+src_compile() {
+ JAVA_ANT_ENCODING=UTF-8
+ eant dist
+}
+
+src_install() {
+ java-pkg_newjar "dist/${PN}-custom.jar" || die "java-pkg_newjar failed"
+ java-pkg_dolauncher "${PN}" --jar "${PN}.jar" || die "java-pkg_dolauncher failed"
+
+ newicon images/logo.png josm.png || die "newicon failed"
+ make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Application"
+}
diff --git a/sci-geosciences/josm/josm-2.049.ebuild b/sci-geosciences/josm/josm-2.049.ebuild
new file mode 100644
index 000000000..3cbd93eac
--- /dev/null
+++ b/sci-geosciences/josm/josm-2.049.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_P=${PN}-${PV/./}
+
+DESCRIPTION="Java-based editor for the OpenStreetMap project"
+HOMEPAGE="http://josm.openstreetmap.de/"
+SRC_URI="http://josm.fabian-fingerle.de/${MY_P}.tar.lzma"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}/${PN}"
+
+IUSE=""
+
+src_compile() {
+ JAVA_ANT_ENCODING=UTF-8
+ eant dist
+}
+
+src_install() {
+ java-pkg_newjar "dist/${PN}-custom.jar" || die "java-pkg_newjar failed"
+ java-pkg_dolauncher "${PN}" --jar "${PN}.jar" || die "java-pkg_dolauncher failed"
+
+ newicon images/logo.png josm.png || die "newicon failed"
+ make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Application"
+}
diff --git a/sci-geosciences/josm/metadata.xml b/sci-geosciences/josm/metadata.xml
new file mode 100644
index 000000000..d9649a487
--- /dev/null
+++ b/sci-geosciences/josm/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-geosciences</herd>
+ <maintainer>
+ <email>premek@vohnout.cz</email>
+ <name>Premysl Vohnout</name>
+</maintainer>
+</pkgmetadata>