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
43 lines
1 KiB
Makefile
43 lines
1 KiB
Makefile
# Ports collection makefile for: jCIFS
|
|
# Date created: Mar 8, 2005
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jcifs
|
|
PORTVERSION= 1.3.16
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net java
|
|
MASTER_SITES= http://jcifs.samba.org/src/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
COMMENT= The Java CIFS Client Library
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
|
.if !defined(NOPORTDOCS)
|
|
cd ${WRKSRC}/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
|
|
cd ${WRKSRC}/docs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
cd ${WRKSRC}/examples && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \;
|
|
cd ${WRKSRC}/examples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|