1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Do not hardcode JAVA_VERSION in argouml.sh.in

This commit is contained in:
Rene Ladan 2011-07-06 06:23:00 +00:00
parent 0bbb049bd1
commit 977ac3a562
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277165
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ USE_JAVA= yes
JAVA_VERSION= 1.5+
SUB_FILES= argouml.sh
SUB_LIST= JAVA_VERSION=${JAVA_VERSION}
PORTDOCS= manual-${PORTVERSION}.pdf quickguide-${PORTVERSION}.pdf
DESKTOP_ENTRIES= "ArgoUML" \

View File

@ -2,4 +2,4 @@
#
# $FreeBSD$
JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/argouml.jar" "$@"
JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/argouml.jar" "$@"