2005-03-08 04:05:22 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: jCIFS
|
|
|
|
# Date created: Mar 8, 2005
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jcifs
|
2008-01-01 17:08:31 +00:00
|
|
|
PORTVERSION= 1.2.17
|
2005-03-09 09:37:03 +00:00
|
|
|
CATEGORIES= net java
|
2005-03-08 04:05:22 +00:00
|
|
|
MASTER_SITES= http://jcifs.samba.org/src/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-06-29 16:29:19 +00:00
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
2005-03-08 04:05:22 +00:00
|
|
|
COMMENT= The Java CIFS Client Library
|
|
|
|
|
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.3+
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2005-03-09 09:37:03 +00:00
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
2005-03-08 04:05:22 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
|
|
|
|
.if !defined(NOPORTDOCS)
|
2005-10-09 22:00:48 +00:00
|
|
|
cd ${WRKSRC}/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
|
|
|
|
cd ${WRKSRC}/docs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
2005-03-08 04:05:22 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
|
2005-10-09 22:00:48 +00:00
|
|
|
cd ${WRKSRC}/examples && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \;
|
|
|
|
cd ${WRKSRC}/examples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
|
2005-03-08 04:05:22 +00:00
|
|
|
@${FIND} ${EXAMPLESDIR} ! -type d | \
|
|
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
|
|
@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
|
|
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|