summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2009-05-23 09:14:29 +0000
committerHanno Böck <hanno@gentoo.org>2009-05-23 09:14:29 +0000
commitde9b73619a4299ade3b2581e0a1223f07774b765 (patch)
tree5d731308a4bd7a11f7f6636d06925fff313889d0 /sci-geosciences/josm/josm-1.607.ebuild
parentAdd ~amd64 (diff)
downloadgentoo-2-de9b73619a4299ade3b2581e0a1223f07774b765.tar.gz
gentoo-2-de9b73619a4299ade3b2581e0a1223f07774b765.tar.bz2
gentoo-2-de9b73619a4299ade3b2581e0a1223f07774b765.zip
josm bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences/josm/josm-1.607.ebuild')
-rw-r--r--sci-geosciences/josm/josm-1.607.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/sci-geosciences/josm/josm-1.607.ebuild b/sci-geosciences/josm/josm-1.607.ebuild
new file mode 100644
index 000000000000..63c13932ca00
--- /dev/null
+++ b/sci-geosciences/josm/josm-1.607.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-1.607.ebuild,v 1.1 2009/05/23 09:14:29 hanno Exp $
+
+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"
+}