2012-11-28 23:52:18 +00:00
|
|
|
# Created by: Gleb Smirnoff <glebius@FreeBSD.org>
|
2009-02-24 20:56:43 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= josm
|
2019-04-22 21:41:50 +00:00
|
|
|
PORTVERSION= 14945
|
2009-02-24 20:56:43 +00:00
|
|
|
CATEGORIES= astro java
|
2012-11-28 23:52:18 +00:00
|
|
|
MASTER_SITES= http://josm.openstreetmap.de/download/ \
|
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2009-03-19 14:46:42 +00:00
|
|
|
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION}.jar
|
2012-11-28 23:52:18 +00:00
|
|
|
EXTRACT_SUFX= # empty
|
2009-02-24 20:56:43 +00:00
|
|
|
|
2010-12-05 21:25:05 +00:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2014-06-09 11:21:52 +00:00
|
|
|
COMMENT= Comprehensive editor for OpenStreetMap.org database
|
2009-02-24 20:56:43 +00:00
|
|
|
|
2016-01-12 16:20:31 +00:00
|
|
|
LICENSE= GPLv2+
|
2015-04-28 20:00:22 +00:00
|
|
|
|
2016-09-06 20:13:40 +00:00
|
|
|
PORTSCOUT= ignore:1
|
2016-09-05 14:11:59 +00:00
|
|
|
|
2009-02-24 20:56:43 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
2009-03-19 14:46:42 +00:00
|
|
|
|
2016-11-24 14:50:36 +00:00
|
|
|
USES= zip:infozip
|
2012-11-28 23:52:18 +00:00
|
|
|
USE_JAVA= yes
|
2016-11-24 14:50:36 +00:00
|
|
|
JAVA_VERSION= 1.8+
|
2009-02-24 20:56:43 +00:00
|
|
|
|
2011-11-27 23:03:11 +00:00
|
|
|
JOSM_MEMORY_LIMIT?=1024
|
|
|
|
|
2012-10-09 15:26:58 +00:00
|
|
|
NO_BUILD= yes
|
2015-06-12 20:03:00 +00:00
|
|
|
NO_ARCH= yes
|
2012-10-09 15:26:58 +00:00
|
|
|
|
2009-02-24 20:56:43 +00:00
|
|
|
SUB_FILES= josm.sh
|
2011-11-27 23:03:11 +00:00
|
|
|
SUB_LIST= JARNAME=${DISTNAME} JOSM_MEMORY_LIMIT=${JOSM_MEMORY_LIMIT}
|
2009-03-19 14:46:42 +00:00
|
|
|
|
2016-11-24 14:50:36 +00: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 01:53:42 +00:00
|
|
|
|
2011-11-27 23:03:11 +00: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 20:56:43 +00:00
|
|
|
do-install:
|
2016-11-24 14:50:36 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}/
|
2013-09-25 03:51:17 +00:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${JAVAJARDIR}/
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/josm.sh ${STAGEDIR}${PREFIX}/bin/josm
|
2018-04-23 20:52:14 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/logo_32x32x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/josm.png
|
2009-02-24 20:56:43 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|