Date: Thu, 24 Nov 2016 14:50:36 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427020 - head/astro/josm Message-ID: <201611241450.uAOEoabk079355@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Nov 24 14:50:36 2016 New Revision: 427020 URL: https://svnweb.freebsd.org/changeset/ports/427020 Log: - Update java version requirement - Install icon and .desktop file PR: 209895 Modified: head/astro/josm/Makefile Modified: head/astro/josm/Makefile ============================================================================== --- head/astro/josm/Makefile Thu Nov 24 14:49:33 2016 (r427019) +++ head/astro/josm/Makefile Thu Nov 24 14:50:36 2016 (r427020) @@ -8,7 +8,6 @@ MASTER_SITES= http://josm.openstreetmap. 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 @@ -19,8 +18,9 @@ PORTSCOUT= ignore:1 NO_WRKSUBDIR= yes +USES= zip:infozip USE_JAVA= yes -JAVA_VERSION= 1.7+ +JAVA_VERSION= 1.8+ JOSM_MEMORY_LIMIT?=1024 @@ -30,15 +30,25 @@ NO_ARCH= yes SUB_FILES= josm.sh SUB_LIST= JARNAME=${DISTNAME} JOSM_MEMORY_LIMIT=${JOSM_MEMORY_LIMIT} -PLIST_FILES= bin/josm ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME} +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}/ + @${MKDIR} ${STAGEDIR}${JAVAJARDIR}/ ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${JAVAJARDIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/josm.sh ${STAGEDIR}${PREFIX}/bin/josm + ${INSTALL_DATA} ${WRKSRC}/images/logo.png ${STAGEDIR}${PREFIX}/share/pixmaps/josm.png .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611241450.uAOEoabk079355>