2012-11-29 00:52:18 +01:00
|
|
|
# Created by: Gleb Smirnoff <glebius@FreeBSD.org>
|
2009-02-24 21:56:43 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= josm
|
2017-07-31 15:27:12 +02:00
|
|
|
PORTVERSION= 12545
|
2009-02-24 21:56:43 +01:00
|
|
|
CATEGORIES= astro java
|
2012-11-29 00:52:18 +01:00
|
|
|
MASTER_SITES= http://josm.openstreetmap.de/download/ \
|
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2009-03-19 15:46:42 +01:00
|
|
|
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION}.jar
|
2012-11-29 00:52:18 +01:00
|
|
|
EXTRACT_SUFX= # empty
|
2009-02-24 21:56:43 +01:00
|
|
|
|
2010-12-05 22:25:05 +01:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2014-06-09 13:21:52 +02:00
|
|
|
COMMENT= Comprehensive editor for OpenStreetMap.org database
|
2009-02-24 21:56:43 +01:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2015-04-28 22:00:22 +02:00
|
|
|
|
2016-09-06 22:13:40 +02:00
|
|
|
PORTSCOUT= ignore:1
|
2016-09-05 16:11:59 +02:00
|
|
|
|
2009-02-24 21:56:43 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
2009-03-19 15:46:42 +01:00
|
|
|
|
2016-11-24 15:50:36 +01:00
|
|
|
USES= zip:infozip
|
2012-11-29 00:52:18 +01:00
|
|
|
USE_JAVA= yes
|
2016-11-24 15:50:36 +01:00
|
|
|
JAVA_VERSION= 1.8+
|
2009-02-24 21:56:43 +01:00
|
|
|
|
2011-11-28 00:03:11 +01:00
|
|
|
JOSM_MEMORY_LIMIT?=1024
|
|
|
|
|
2012-10-09 17:26:58 +02:00
|
|
|
NO_BUILD= yes
|
2015-06-12 22:03:00 +02:00
|
|
|
NO_ARCH= yes
|
2012-10-09 17:26:58 +02:00
|
|
|
|
2009-02-24 21:56:43 +01:00
|
|
|
SUB_FILES= josm.sh
|
2011-11-28 00:03:11 +01:00
|
|
|
SUB_LIST= JARNAME=${DISTNAME} JOSM_MEMORY_LIMIT=${JOSM_MEMORY_LIMIT}
|
2009-03-19 15:46:42 +01:00
|
|
|
|
2016-11-24 15:50:36 +01:00
|
|
|
PLIST_FILES= bin/josm \
|
|
|
|
${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME} \
|
|
|
|
share/pixmaps/josm.png
|
|
|
|
|
|
|
|
DESKTOP_ENTRIES="JOSM" \
|
|
|
|
"" \
|
|
|
|
"${PORTNAME}" \
|
|
|
|
"${PORTNAME}" \
|
|
|
|
"Education;Geoscience;Maps;" \
|
|
|
|
true
|
2011-07-27 03:53:42 +02:00
|
|
|
|
2011-11-28 00:03:11 +01:00
|
|
|
pre-everything::
|
|
|
|
@${ECHO_CMD} "You can change limit of memory available to josm by defining"
|
|
|
|
@${ECHO_CMD} "JOSM_MEMORY_LIMIT variable in /etc/make.conf. Default is 1024 (MB)."
|
|
|
|
|
2009-02-24 21:56:43 +01:00
|
|
|
do-install:
|
2016-11-24 15:50:36 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}/
|
2013-09-25 05:51:17 +02:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${JAVAJARDIR}/
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/josm.sh ${STAGEDIR}${PREFIX}/bin/josm
|
2016-11-24 15:50:36 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/logo.png ${STAGEDIR}${PREFIX}/share/pixmaps/josm.png
|
2009-02-24 21:56:43 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|