2012-12-10 13:43:43 +00:00
|
|
|
# Created by: ijliao
|
2005-03-08 04:05:22 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jcifs
|
2011-11-11 11:52:42 +00:00
|
|
|
PORTVERSION= 1.3.17
|
2008-04-09 02:20:35 +00:00
|
|
|
PORTEPOCH= 1
|
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
|
|
|
|
|
2010-02-23 19:10:24 +00:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2005-03-08 04:05:22 +00:00
|
|
|
COMMENT= The Java CIFS Client Library
|
|
|
|
|
2010-10-08 13:12:19 +00:00
|
|
|
LICENSE= LGPL21
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
|
2005-03-08 04:05:22 +00:00
|
|
|
USE_JAVA= yes
|
2012-12-10 13:43:43 +00:00
|
|
|
JAVA_VERSION= 1.6+
|
2005-03-08 04:05:22 +00:00
|
|
|
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
|
|
|
|
|
|
|
PORTDOCS= *
|
2010-02-24 13:19:26 +00:00
|
|
|
PORTEXAMPLES= *
|
2005-03-08 04:05:22 +00:00
|
|
|
|
2013-09-20 22:10:23 +00:00
|
|
|
NO_STAGE= yes
|
2005-03-08 04:05:22 +00:00
|
|
|
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}/{} \;
|
2008-02-17 16:13:41 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/
|
2010-02-24 13:19:26 +00:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
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
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|