# Created by: Michael Winking # $FreeBSD$ PORTNAME= commons-io PORTVERSION= 2.4 CATEGORIES= devel java MASTER_SITES= APACHE_COMMONS_SOURCE PKGNAMEPREFIX= jakarta- DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= makc@FreeBSD.org COMMENT= Collection of I/O utilities for Java LICENSE= APACHE20 BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:java/junit ALL_TARGET= dist JAVA_VERSION= 1.6+ MAKE_ARGS= -cp ${JAVALIBDIR}/junit.jar USE_ANT= yes USE_JAVA= yes PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar PORTDOCS= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt apidocs JAR_VERSION= ${PORTNAME}-2.2-SNAPSHOT OPTIONS_DEFINE= DOCS DOCS_ALL_TARGET= javadoc do-install: ${INSTALL_DATA} ${WRKSRC}/target/${JAR_VERSION}.jar \ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar do-install-DOCS-on: (cd ${WRKSRC}/target && ${COPYTREE_SHARE} apidocs ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC} && ${INSTALL_DATA} LICENSE.txt NOTICE.txt \ RELEASE-NOTES.txt ${STAGEDIR}${DOCSDIR}) .include