1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/astro/josm/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

# Created by: Gleb Smirnoff <glebius@FreeBSD.org>
# $FreeBSD$
PORTNAME= josm
2016-08-16 13:58:50 +00:00
PORTVERSION= 10786
CATEGORIES= astro java
MASTER_SITES= http://josm.openstreetmap.de/download/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION}.jar
EXTRACT_SUFX= # empty
EXTRACT_ONLY= # empty
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Comprehensive editor for OpenStreetMap.org database
LICENSE= GPLv2+
2015-04-28 20:00:22 +00:00
NO_WRKSUBDIR= yes
USE_JAVA= yes
2014-06-18 19:16:19 +00:00
JAVA_VERSION= 1.7+
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}
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:
2013-09-25 03:51:17 +00:00
${MKDIR} ${STAGEDIR}${JAVAJARDIR}/
${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${JAVAJARDIR}/
${INSTALL_SCRIPT} ${WRKDIR}/josm.sh ${STAGEDIR}${PREFIX}/bin/josm
.include <bsd.port.mk>