diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2009-02-24 20:56:43 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2009-02-24 20:56:43 +0000 |
commit | a074a1ab448db0d515f87826da1a4dab2c05907a (patch) | |
tree | d8fd5ba557478f823d8ebf2f15fa5905aaedff3d /astro/josm | |
parent | 45a0273ad464ca14a50871103a50ea14de5ab52a (diff) | |
download | ports-a074a1ab448db0d515f87826da1a4dab2c05907a.tar.gz ports-a074a1ab448db0d515f87826da1a4dab2c05907a.zip |
Notes
Diffstat (limited to 'astro/josm')
-rw-r--r-- | astro/josm/Makefile | 35 | ||||
-rw-r--r-- | astro/josm/distinfo | 3 | ||||
-rw-r--r-- | astro/josm/files/josm.sh.in | 9 | ||||
-rw-r--r-- | astro/josm/pkg-descr | 6 |
4 files changed, 53 insertions, 0 deletions
diff --git a/astro/josm/Makefile b/astro/josm/Makefile new file mode 100644 index 000000000000..f4e6fd174ea8 --- /dev/null +++ b/astro/josm/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: josm +# Date created: 2009/02/24 +# Whom: Gleb Smirnoff <glebius@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= josm +PORTVERSION= 1437 +CATEGORIES= astro java +MASTER_SITES= http://josm.openstreetmap.de/download/ +DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION} +EXTRACT_SUFX= .jar +EXTRACT_ONLY= + +MAINTAINER= glebius@FreeBSD.org +COMMENT= A comprehensive editor for OpenStreetMap.org database + +NO_WRKSUBDIR= yes +NO_BUILD= yes + +USE_JAVA= YES +JAVA_VERSION= 1.5+ + +SUB_FILES= josm.sh +SUB_LIST= JARNAME=${DISTFILES} + +PLIST_FILES= bin/josm ${DISTFILES:S,^,${JAVAJARDIR}/,:C,${PREFIX}/?,,} + +do-install: + @${MKDIR} ${JAVAJARDIR}/ + ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${JAVAJARDIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/josm.sh ${PREFIX}/bin/josm + +.include <bsd.port.mk> diff --git a/astro/josm/distinfo b/astro/josm/distinfo new file mode 100644 index 000000000000..7cb99a453e0d --- /dev/null +++ b/astro/josm/distinfo @@ -0,0 +1,3 @@ +MD5 (josm-snapshot-1437.jar) = 4a9af47a1b09b9ce8b88efc4a7a702b1 +SHA256 (josm-snapshot-1437.jar) = 248c187ca68ab36ff0e3a04b5a37fe70200fb7359965c3681f909acd5a81401a +SIZE (josm-snapshot-1437.jar) = 4205579 diff --git a/astro/josm/files/josm.sh.in b/astro/josm/files/josm.sh.in new file mode 100644 index 000000000000..5a91e4813542 --- /dev/null +++ b/astro/josm/files/josm.sh.in @@ -0,0 +1,9 @@ +#!/bin/sh +# +# $FreeBSD$ + +JAVA="%%LOCALBASE%%/bin/java" +JARPATH="%%JAVALIBDIR%%" +export JAVA_VERSION="%%JAVA_VERSION%%" + +exec "${JAVA}" -jar "${JARPATH}/%%JARNAME%%" "$@" diff --git a/astro/josm/pkg-descr b/astro/josm/pkg-descr new file mode 100644 index 000000000000..710512255178 --- /dev/null +++ b/astro/josm/pkg-descr @@ -0,0 +1,6 @@ +JOSM is the "Java OpenStreetMap Editor". It is a feature-rich editor for the +experienced OSM mapper. It requires some configuration efforts. But if you +intend to become a great OSM mapper, it's worth the time you need to get +used to it. + +WWW: http://wiki.openstreetmap.org/wiki/JOSM |