diff options
author | stas <stas@FreeBSD.org> | 2009-02-25 04:56:43 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2009-02-25 04:56:43 +0800 |
commit | 729b866e72e94c61b2851208cddc3d7e67ab2989 (patch) | |
tree | 45a79e19c52a024be6933dcf5d36b2740698f8bd /astro | |
parent | 480f3ee93eedd8c11ada9184e794408d648523a0 (diff) | |
download | freebsd-ports-graphics-729b866e72e94c61b2851208cddc3d7e67ab2989.tar.gz freebsd-ports-graphics-729b866e72e94c61b2851208cddc3d7e67ab2989.tar.zst freebsd-ports-graphics-729b866e72e94c61b2851208cddc3d7e67ab2989.zip |
- Add astro/josm, a comprehencive OpenStreetMap.org maps editor.
WWW: http://wiki.openstreetmap.org/wiki/JOSM
Submitted by: glebius@
Diffstat (limited to 'astro')
-rw-r--r-- | astro/Makefile | 1 | ||||
-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 |
5 files changed, 54 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile index 446873229a0..6c6024f8818 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -27,6 +27,7 @@ SUBDIR += gpsman SUBDIR += gpstk SUBDIR += jday + SUBDIR += josm SUBDIR += libgal SUBDIR += libnova SUBDIR += libroadnav diff --git a/astro/josm/Makefile b/astro/josm/Makefile new file mode 100644 index 00000000000..f4e6fd174ea --- /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 00000000000..7cb99a453e0 --- /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 00000000000..5a91e481354 --- /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 00000000000..71051225517 --- /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 |