diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2012-06-16 00:18:45 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2012-06-16 00:18:45 +0800 |
commit | d024e2ec381ed405fce1b02eddca94f2245cb38a (patch) | |
tree | 6cef1e634480e98036fb9a5288873ad0273a1393 /devel | |
parent | 44e96aa37bc55ce4b5ef22e659b838843e063358 (diff) | |
download | freebsd-ports-gnome-d024e2ec381ed405fce1b02eddca94f2245cb38a.tar.gz freebsd-ports-gnome-d024e2ec381ed405fce1b02eddca94f2245cb38a.tar.zst freebsd-ports-gnome-d024e2ec381ed405fce1b02eddca94f2245cb38a.zip |
- Update to 2.3
- Convert to new options framework
- Cosmetic change
Changes: http://commons.apache.org/io/upgradeto2_3.html
http://commons.apache.org/io/upgradeto2_2.html
Diffstat (limited to 'devel')
-rw-r--r-- | devel/jakarta-commons-io/Makefile | 36 | ||||
-rw-r--r-- | devel/jakarta-commons-io/distinfo | 4 |
2 files changed, 20 insertions, 20 deletions
diff --git a/devel/jakarta-commons-io/Makefile b/devel/jakarta-commons-io/Makefile index da6581fc7014..ab97c692d36b 100644 --- a/devel/jakarta-commons-io/Makefile +++ b/devel/jakarta-commons-io/Makefile @@ -6,7 +6,7 @@ # PORTNAME= commons-io -PORTVERSION= 2.1 +PORTVERSION= 2.3 CATEGORIES= devel java MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_SOURCE} MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,} @@ -16,37 +16,37 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= A collection of I/O utilities for Java +LICENSE= AL2 + BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit -LICENSE= AL2 +OPTIONS_DEFINE= DOCS -USE_JAVA= yes -JAVA_VERSION= 1.5+ +ALL_TARGET= dist +JAVA_VERSION= 1.6+ +MAKE_ARGS= -cp ${JAVALIBDIR}/junit.jar USE_ANT= yes +USE_JAVA= yes -MAKE_ARGS= -cp ${JAVALIBDIR}/junit.jar -ALL_TARGET= dist PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar - -.if !defined(NOPORTDOCS) PORTDOCS= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt apidocs + +JAR_VERSION= ${PORTNAME}-2.2-SNAPSHOT + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} ALL_TARGET+= javadoc .endif do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." - @${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION}.jar \ - ${JAVAJARDIR}/${PORTNAME}.jar - + ${INSTALL_DATA} ${WRKSRC}/target/${JAR_VERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [DONE]" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} -n ">> Installing documentation..." - @cd ${WRKSRC}/target/ \ - && ${FIND} apidocs -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ - && ${FIND} apidocs -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; - @${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}/ - @${INSTALL_DATA} ${WRKSRC}/NOTICE.txt ${DOCSDIR}/ - @${INSTALL_DATA} ${WRKSRC}/RELEASE-NOTES.txt ${DOCSDIR}/ + cd ${WRKSRC}/target/ && ${COPYTREE_SHARE} apidocs ${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} LICENSE.txt NOTICE.txt RELEASE-NOTES.txt ${DOCSDIR}/ @${ECHO_MSG} " [DONE]" .endif diff --git a/devel/jakarta-commons-io/distinfo b/devel/jakarta-commons-io/distinfo index 0a1ca5ef15e8..ece0893e337d 100644 --- a/devel/jakarta-commons-io/distinfo +++ b/devel/jakarta-commons-io/distinfo @@ -1,2 +1,2 @@ -SHA256 (commons-io-2.1-src.tar.gz) = 1f2048037f62b2038613216eec4fd5773bb6a8aa57f5d32c582554e17e70e309 -SIZE (commons-io-2.1-src.tar.gz) = 296377 +SHA256 (commons-io-2.3-src.tar.gz) = 9e885c72fc56524cf963c39583eeb56370ab879884a8ec63e9674d212a399df3 +SIZE (commons-io-2.3-src.tar.gz) = 324850 |