1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/astro/gpsprune/Makefile
2021-05-14 22:51:48 +03:00

39 lines
969 B
Makefile

PORTNAME= gpsprune
PORTVERSION= 20.4
CATEGORIES= astro java
MASTER_SITES= http://activityworkshop.net/software/${PORTNAME}/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}_${PORTVERSION}.jar
EXTRACT_SUFX= # empty
EXTRACT_ONLY= # empty
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Application for viewing, editing, and converting GPS coordinate data
LICENSE= GPLv2
NO_WRKSUBDIR= yes
NO_BUILD= yes
NO_ARCH= yes
USE_JAVA= yes
JAVA_VERSION= 11+
SUB_FILES= gpsprune.sh
SUB_LIST= JAVA="${JAVA}" JARNAME="${DISTNAME}"
PLIST_FILES= bin/gpsprune ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME}
OPTIONS_DEFINE= JAVA3D
JAVA3D_DESC= Support for 3D view of track
JAVA3D_RUN_DEPENDS= java3d>=1.5.2:java/java3d
JAVA3D_BROKEN= java3d does not support java 11+
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}/
${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${JAVAJARDIR}/
${INSTALL_SCRIPT} ${WRKDIR}/gpsprune.sh ${STAGEDIR}${PREFIX}/bin/gpsprune
.include <bsd.port.mk>