mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
06e6677793
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
16 lines
408 B
Bash
16 lines
408 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
IAM=`basename "$0"`
|
|
|
|
case "${IAM}" in
|
|
xincluder-sax) MAIN_CLASS=SAXXIncluder ;;
|
|
xincluder-dom) MAIN_CLASS=DOMXIncluder ;;
|
|
xincluder-jdom) MAIN_CLASS=JDOMXIncluder ;;
|
|
xincluder) MAIN_CLASS=SAXXIncluder ;;
|
|
*) echo "ERROR!" ; false ;;
|
|
esac
|
|
|
|
JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -cp "`"%%LOCALBASE%%/bin/classpath"`" "com.elharo.xml.xinclude.${MAIN_CLASS}" "$@"
|