summaryrefslogtreecommitdiff
path: root/net/apache-commons-net
diff options
context:
space:
mode:
Diffstat (limited to 'net/apache-commons-net')
-rw-r--r--net/apache-commons-net/Makefile41
-rw-r--r--net/apache-commons-net/distinfo3
-rw-r--r--net/apache-commons-net/pkg-descr21
3 files changed, 65 insertions, 0 deletions
diff --git a/net/apache-commons-net/Makefile b/net/apache-commons-net/Makefile
new file mode 100644
index 000000000000..587cf57c0dac
--- /dev/null
+++ b/net/apache-commons-net/Makefile
@@ -0,0 +1,41 @@
+# Created by: Sergey Matveychuk <sem@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= commons-net
+PORTVERSION= 3.6
+CATEGORIES= net java
+MASTER_SITES= APACHE_COMMONS_BINARIES
+PKGNAMEPREFIX= apache-
+DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Collection of network protocol implementations for Java
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USE_JAVA= yes
+JAVA_VERSION= 1.6+
+NO_BUILD= yes
+NO_ARCH= yes
+
+OPTIONS_DEFINE= DOCS
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+JARFILE= ${PORTNAME}-${PORTVERSION}.jar
+DESTJARFILE= ${PORTNAME}.jar
+PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE}
+PORTDOCS= *
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/${JARFILE} \
+ ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} apidocs ${STAGEDIR}${DOCSDIR})
+ (cd ${WRKSRC} && ${INSTALL_DATA} LICENSE.txt NOTICE.txt \
+ RELEASE-NOTES.txt ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>
diff --git a/net/apache-commons-net/distinfo b/net/apache-commons-net/distinfo
new file mode 100644
index 000000000000..9cd01c06b19d
--- /dev/null
+++ b/net/apache-commons-net/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1487567426
+SHA256 (commons-net-3.6-bin.tar.gz) = 81b7375e30caa7daa309e44894f9401d895d9d69383f5f2bf31a9100039aad18
+SIZE (commons-net-3.6-bin.tar.gz) = 1432913
diff --git a/net/apache-commons-net/pkg-descr b/net/apache-commons-net/pkg-descr
new file mode 100644
index 000000000000..f983a181288b
--- /dev/null
+++ b/net/apache-commons-net/pkg-descr
@@ -0,0 +1,21 @@
+Apache Commons Net implements the client side of many basic Internet
+protocols. The purpose of the library is to provide fundamental protocol
+access.
+
+Supported protocols are:
+
+ * FTP
+ * NNTP
+ * SMTP
+ * POP3
+ * Telnet
+ * TFTP
+ * Finger
+ * Whois
+ * rexec/rcmd/rlogin
+ * Time (rdate) and Daytime
+ * Echo
+ * Discard
+ * NTP/SNTP
+
+WWW: http://commons.apache.org/proper/commons-net/