aboutsummaryrefslogtreecommitdiff
path: root/net/apache-commons-net/Makefile
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2019-10-06 19:08:14 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2019-10-06 19:08:14 +0000
commitc937a4ccc9f8c084344ae2b95fda9e50dfe7ab03 (patch)
treed1f15965fd21b7db5e3b21c1d8dc8442e6e2f50e /net/apache-commons-net/Makefile
parentbbc7901e66f498ae60a9b87b783813dc5fb0edf2 (diff)
downloadports-c937a4ccc9f8c084344ae2b95fda9e50dfe7ab03.tar.gz
ports-c937a4ccc9f8c084344ae2b95fda9e50dfe7ab03.zip
Notes
Diffstat (limited to 'net/apache-commons-net/Makefile')
-rw-r--r--net/apache-commons-net/Makefile41
1 files changed, 41 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>