# Ports collection makefile for: jCIFS # Date created: Mar 8, 2005 # Whom: ijliao # # $FreeBSD$ # PORTNAME= jcifs PORTVERSION= 1.3.14 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 USE_JAVA= yes JAVA_VERSION= 1.3+ 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}/{} \; @${FIND} ${EXAMPLESDIR} ! -type d | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .endif .include