aboutsummaryrefslogtreecommitdiff
path: root/astro/gpsprune
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-04-06 18:49:36 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-04-06 18:49:36 +0000
commitd43059787d7d4a5fd5e88375d18567276a976dbe (patch)
tree337da10bf22cd4146614e36b8290fdfe22bd6e57 /astro/gpsprune
parentcaa1589515612ab06ce5e8ff9a0277504f47f9dc (diff)
downloadports-d43059787d7d4a5fd5e88375d18567276a976dbe.tar.gz
ports-d43059787d7d4a5fd5e88375d18567276a976dbe.zip
Notes
Diffstat (limited to 'astro/gpsprune')
-rw-r--r--astro/gpsprune/Makefile7
-rw-r--r--astro/gpsprune/distinfo6
-rw-r--r--astro/gpsprune/files/gpsprune.sh.in5
3 files changed, 8 insertions, 10 deletions
diff --git a/astro/gpsprune/Makefile b/astro/gpsprune/Makefile
index 1f0926087dbc..3feb99c668b5 100644
--- a/astro/gpsprune/Makefile
+++ b/astro/gpsprune/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= gpsprune
-PORTVERSION= 19.2
-PORTREVISION= 1
+PORTVERSION= 20
CATEGORIES= astro java
MASTER_SITES= http://activityworkshop.net/software/${PORTNAME}/ \
http://mirror.amdmi3.ru/distfiles/
@@ -21,9 +20,10 @@ NO_BUILD= yes
NO_ARCH= yes
USE_JAVA= yes
+JAVA_VERSION= 11+
SUB_FILES= gpsprune.sh
-SUB_LIST= JARNAME=${DISTNAME}
+SUB_LIST= JAVA="${JAVA}" JARNAME="${DISTNAME}"
PLIST_FILES= bin/gpsprune ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME}
@@ -31,6 +31,7 @@ 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}/
diff --git a/astro/gpsprune/distinfo b/astro/gpsprune/distinfo
index 878419c8d9cd..0592fea7ed47 100644
--- a/astro/gpsprune/distinfo
+++ b/astro/gpsprune/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1545068779
-SHA256 (gpsprune_19.2.jar) = e9714513b9f90318917bbabc6c1bfb8fa0893442bb4e777aa0699503e7bc53e0
-SIZE (gpsprune_19.2.jar) = 1212873
+TIMESTAMP = 1586104003
+SHA256 (gpsprune_20.jar) = 4be0e2f3f821d628d49dde2d72fbfc8691cf3f0a9db3997353f97d85123437c5
+SIZE (gpsprune_20.jar) = 1243687
diff --git a/astro/gpsprune/files/gpsprune.sh.in b/astro/gpsprune/files/gpsprune.sh.in
index 6de0b4957942..efaf54d66451 100644
--- a/astro/gpsprune/files/gpsprune.sh.in
+++ b/astro/gpsprune/files/gpsprune.sh.in
@@ -2,7 +2,4 @@
#
# $FreeBSD$
-JAVA="%%LOCALBASE%%/bin/java"
-JARPATH="%%JAVALIBDIR%%"
-
-exec "${JAVA}" -jar "${JARPATH}/%%JARNAME%%" "$@"
+exec "%%JAVA%%" -jar "%%JAVALIBDIR%%/%%JARNAME%%" "$@"