aboutsummaryrefslogtreecommitdiffstats
path: root/net/jcifs
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2005-03-08 12:05:22 +0800
committerijliao <ijliao@FreeBSD.org>2005-03-08 12:05:22 +0800
commit406a62067decd96288514a0667f28226a0776d22 (patch)
tree6e09e1bd863307824fd4c3a926b29312c7d5cf0b /net/jcifs
parentf778baf997d83c3dbbb3631e514af1e6d0ac2931 (diff)
downloadfreebsd-ports-gnome-406a62067decd96288514a0667f28226a0776d22.tar.gz
freebsd-ports-gnome-406a62067decd96288514a0667f28226a0776d22.tar.zst
freebsd-ports-gnome-406a62067decd96288514a0667f28226a0776d22.zip
add jcifs 1.1.9
The Java CIFS Client Library
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/