PORTNAME= commons-io PORTVERSION= 2.11.0 CATEGORIES= devel java MASTER_SITES= APACHE_COMMONS_BINARIES PKGNAMEPREFIX= apache- DISTNAME= ${PORTNAME}-${PORTVERSION}-bin MAINTAINER= ports@FreeBSD.org COMMENT= Collection of I/O utilities for Java WWW= https://commons.apache.org/proper/commons-io/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt USE_JAVA= yes NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= ${JAVAJARDIR}/${JARFILE_VER} \ ${JAVAJARDIR}/${JARFILE} PORTDOCS= * JARFILE= ${PORTNAME}.jar JARFILE_VER= ${PORTNAME}-${PORTVERSION}.jar OPTIONS_DEFINE= DOCS do-install: ${INSTALL_DATA} ${WRKSRC}/${JARFILE_VER} ${STAGEDIR}${JAVAJARDIR} ${LN} -sf ${JARFILE_VER} ${STAGEDIR}${JAVAJARDIR}/${JARFILE} do-install-DOCS-on: (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC} && ${INSTALL_DATA} NOTICE.txt \ RELEASE-NOTES.txt ${STAGEDIR}${DOCSDIR}) .include