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
35 lines
972 B
Makefile
35 lines
972 B
Makefile
# New ports collection makefile for: java freebsd-commapi
|
|
# Date created: 2001/07/01
|
|
# Whom: Ari Suutari <ari.suutari@syncrontech.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= java-commapi-freebsd
|
|
PORTVERSION= 0.9
|
|
CATEGORIES= comms java
|
|
MASTER_SITES= http://www.syncrontech.org/freebsd/
|
|
DISTNAME= freebsd-commapi-${PORTVERSION}
|
|
|
|
MAINTAINER= ari.suutari@syncrontech.com
|
|
COMMENT= Java Communication API for FreeBSD
|
|
|
|
BUILD_DEPENDS= ${JDKDIR}/jre/lib/ext/comm.jar:${PORTSDIR}/comms/java-commapi
|
|
RUN_DEPENDS= ${JDKDIR}/jre/lib/ext/comm.jar:${PORTSDIR}/comms/java-commapi
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
JAVA_OS= native
|
|
JAVA_BUILD= yes
|
|
|
|
JDKDIR= ${JAVA_HOME}
|
|
|
|
MAKE_ENV= JAVA_HOME=${JDKDIR}
|
|
|
|
PLIST_SUB+= JAVA_HOME=${JAVA_HOME:S/${PREFIX}\///}
|
|
PLIST_FILES= %%JAVA_HOME%%/jre/lib/ext/CommDriver.jar \
|
|
%%JAVA_HOME%%/jre/lib/${MACHINE_ARCH}/libSerial.so \
|
|
%%JAVA_HOME%%/jre/lib/${MACHINE_ARCH}/libParallel.so \
|
|
%%JAVA_HOME%%/jre/lib/javax.comm.properties
|
|
|
|
.include <bsd.port.mk>
|