1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/net/jcifs/Makefile
Baptiste Daroussin 9c526f7217 Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (part3)
2012-12-10 13:43:43 +00:00

40 lines
1005 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= jcifs
PORTVERSION= 1.3.17
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.6+
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>