aboutsummaryrefslogtreecommitdiff
path: root/net/jcifs
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2005-03-08 04:05:22 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2005-03-08 04:05:22 +0000
commit0be23322ca6edc7c598f766f53ccddb6fb14747a (patch)
treef191425fb868faa76f17d7119ecc687f990dff55 /net/jcifs
parent2633975f8635f6dea5cbc510348c3c945ad22402 (diff)
downloadports-0be23322ca6edc7c598f766f53ccddb6fb14747a.tar.gz
ports-0be23322ca6edc7c598f766f53ccddb6fb14747a.zip
Notes
Diffstat (limited to 'net/jcifs')
-rw-r--r--net/jcifs/Makefile43
-rw-r--r--net/jcifs/distinfo2
-rw-r--r--net/jcifs/pkg-descr6
3 files changed, 51 insertions, 0 deletions
diff --git a/net/jcifs/Makefile b/net/jcifs/Makefile
new file mode 100644
index 000000000000..bbcdc0bf0b0f
--- /dev/null
+++ b/net/jcifs/Makefile
@@ -0,0 +1,43 @@
+# ex:ts=8
+# Ports collection makefile for: jCIFS
+# Date created: Mar 8, 2005
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= jcifs
+PORTVERSION= 1.1.9
+CATEGORIES= net
+MASTER_SITES= http://jcifs.samba.org/src/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@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:S,^${PREFIX}/,,}/${PORTNAME}.jar
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
+ @${FIND} ${EXAMPLESDIR} ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/jcifs/distinfo b/net/jcifs/distinfo
new file mode 100644
index 000000000000..a23eadffe8d6
--- /dev/null
+++ b/net/jcifs/distinfo
@@ -0,0 +1,2 @@
+MD5 (jcifs-1.1.9.tgz) = 03635496161d2b151c7d573f0bd3a036
+SIZE (jcifs-1.1.9.tgz) = 1310488
diff --git a/net/jcifs/pkg-descr b/net/jcifs/pkg-descr
new file mode 100644
index 000000000000..dfbaf5de3c44
--- /dev/null
+++ b/net/jcifs/pkg-descr
@@ -0,0 +1,6 @@
+JCIFS is an Open Source client library that implements the CIFS/SMB networking
+protocol in 100% Java. CIFS is the standard file sharing protocol on the
+Microsoft Windows platform (e.g. Map Network Drive ...). This client is used
+extensively in production on large Intranets.
+
+WWW: http://jcifs.samba.org/