summaryrefslogtreecommitdiffstats
path: root/archivers/jzip.org
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2011-07-21 05:03:02 +0000
committerlinimon <linimon@FreeBSD.org>2011-07-21 05:03:02 +0000
commitb52944915a792d1df1b4539b6ffef32bb06c623c (patch)
tree2d2342fe8b657b24efa68b7b0eedf07f0880f0b9 /archivers/jzip.org
parentcf6c4b2a7fb04e6bebe556711940aa746e81c384 (diff)
downloadFreeBSD-ports-b52944915a792d1df1b4539b6ffef32bb06c623c.zip
FreeBSD-ports-b52944915a792d1df1b4539b6ffef32bb06c623c.tar.gz
Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
Diffstat (limited to 'archivers/jzip.org')
-rw-r--r--archivers/jzip.org/Makefile2
-rw-r--r--archivers/jzip.org/files/jzip.org.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/archivers/jzip.org/Makefile b/archivers/jzip.org/Makefile
index d68becd..b6d66a2 100644
--- a/archivers/jzip.org/Makefile
+++ b/archivers/jzip.org/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
PLIST_FILES= %%JAVAJARDIR%%/jzip.org.jar bin/${PORTNAME}
USE_ZIP= yes
USE_JAVA= yes
-JAVA_VERSION= 1.2+
+JAVA_VERSION= 1.5+
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}.src
SUB_FILES= ${PORTNAME}.sh
diff --git a/archivers/jzip.org/files/jzip.org.sh.in b/archivers/jzip.org/files/jzip.org.sh.in
index 1e1c536..a4fae5d 100644
--- a/archivers/jzip.org/files/jzip.org.sh.in
+++ b/archivers/jzip.org/files/jzip.org.sh.in
@@ -2,4 +2,4 @@
#
# $FreeBSD$
-JAVA_VERSION=1.2+ "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/jzip.org.jar" "$@"
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/jzip.org.jar" "$@"
OpenPOWER on IntegriCloud