- Update to 20

This commit is contained in:
Dmitry Marakasov 2020-04-06 18:49:36 +00:00
parent caa1589515
commit d43059787d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=530919
3 changed files with 8 additions and 10 deletions

View File

@ -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}/

View File

@ -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

View File

@ -2,7 +2,4 @@
#
# $FreeBSD$
JAVA="%%LOCALBASE%%/bin/java"
JARPATH="%%JAVALIBDIR%%"
exec "${JAVA}" -jar "${JARPATH}/%%JARNAME%%" "$@"
exec "%%JAVA%%" -jar "%%JAVALIBDIR%%/%%JARNAME%%" "$@"