diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/argouml/Makefile | 1 | ||||
-rw-r--r-- | devel/argouml/files/argouml.sh.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/devel/argouml/Makefile b/devel/argouml/Makefile index 6a9670c0fe25..0325320e63b7 100644 --- a/devel/argouml/Makefile +++ b/devel/argouml/Makefile @@ -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" \ diff --git a/devel/argouml/files/argouml.sh.in b/devel/argouml/files/argouml.sh.in index 811f8e168348..cb517b269680 100644 --- a/devel/argouml/files/argouml.sh.in +++ b/devel/argouml/files/argouml.sh.in @@ -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" "$@" |