# Created by: Sergey Matveychuk # $FreeBSD: head/net/apache-commons-net/Makefile 566167 2021-02-20 16:41:51Z nc $ PORTNAME= commons-net PORTVERSION= 3.8.0 CATEGORIES= net java MASTER_SITES= APACHE_COMMONS_BINARIES PKGNAMEPREFIX= apache- DISTNAME= ${PORTNAME}-${PORTVERSION}-bin MAINTAINER= nc@FreeBSD.org COMMENT= Collection of network protocol implementations for Java LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt USE_JAVA= yes 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