1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/astro/josm/Makefile

55 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: Gleb Smirnoff <glebius@FreeBSD.org>
# $FreeBSD$
PORTNAME= josm
2019-04-22 21:41:50 +00:00
PORTVERSION= 14945
CATEGORIES= astro java
MASTER_SITES= http://josm.openstreetmap.de/download/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION}.jar
EXTRACT_SUFX= # empty
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Comprehensive editor for OpenStreetMap.org database
LICENSE= GPLv2+
2015-04-28 20:00:22 +00:00
2016-09-06 20:13:40 +00:00
PORTSCOUT= ignore:1
NO_WRKSUBDIR= yes
USES= zip:infozip
USE_JAVA= yes
JAVA_VERSION= 1.8+
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
SUB_FILES= josm.sh
SUB_LIST= JARNAME=${DISTNAME} JOSM_MEMORY_LIMIT=${JOSM_MEMORY_LIMIT}
PLIST_FILES= bin/josm \
${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME} \
share/pixmaps/josm.png
DESKTOP_ENTRIES="JOSM" \
"" \
"${PORTNAME}" \
"${PORTNAME}" \
"Education;Geoscience;Maps;" \
true
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)."
do-install:
@${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
.include <bsd.port.mk>