2005-03-08 04:05:22 +00:00
|
|
|
# Ports collection makefile for: jCIFS
|
|
|
|
# Date created: Mar 8, 2005
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jcifs
|
2011-06-28 20:44:44 +00:00
|
|
|
PORTVERSION= 1.3.16
|
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
|
2011-07-21 05:03:02 +00:00
|
|
|
JAVA_VERSION= 1.5+
|
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
|
|
|
|
|
|
|
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>
|