1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Add astro/josm, a comprehencive OpenStreetMap.org maps editor.

WWW: http://wiki.openstreetmap.org/wiki/JOSM

Submitted by:	glebius@
This commit is contained in:
Stanislav Sedov 2009-02-24 20:56:43 +00:00
parent 45a0273ad4
commit a074a1ab44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229016
5 changed files with 54 additions and 0 deletions

View File

@ -27,6 +27,7 @@
SUBDIR += gpsman
SUBDIR += gpstk
SUBDIR += jday
SUBDIR += josm
SUBDIR += libgal
SUBDIR += libnova
SUBDIR += libroadnav

35
astro/josm/Makefile Normal file
View File

@ -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>

3
astro/josm/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (josm-snapshot-1437.jar) = 4a9af47a1b09b9ce8b88efc4a7a702b1
SHA256 (josm-snapshot-1437.jar) = 248c187ca68ab36ff0e3a04b5a37fe70200fb7359965c3681f909acd5a81401a
SIZE (josm-snapshot-1437.jar) = 4205579

View File

@ -0,0 +1,9 @@
#!/bin/sh
#
# $FreeBSD$
JAVA="%%LOCALBASE%%/bin/java"
JARPATH="%%JAVALIBDIR%%"
export JAVA_VERSION="%%JAVA_VERSION%%"
exec "${JAVA}" -jar "${JARPATH}/%%JARNAME%%" "$@"

6
astro/josm/pkg-descr Normal file
View File

@ -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