svn commit: r509548 - head/devel/jakarta-commons-io
Max Brazhnikov
makc at FreeBSD.org
Wed Aug 21 19:41:39 UTC 2019
Author: makc
Date: Wed Aug 21 19:41:37 2019
New Revision: 509548
URL: https://svnweb.freebsd.org/changeset/ports/509548
Log:
devel/jakarta-commons-io:
- Update to 2.6
- Switch to the binary distribution since building from the sources
requires maven
- Update WWW
Modified:
head/devel/jakarta-commons-io/Makefile
head/devel/jakarta-commons-io/distinfo
head/devel/jakarta-commons-io/pkg-descr
Modified: head/devel/jakarta-commons-io/Makefile
==============================================================================
--- head/devel/jakarta-commons-io/Makefile Wed Aug 21 19:29:28 2019 (r509547)
+++ head/devel/jakarta-commons-io/Makefile Wed Aug 21 19:41:37 2019 (r509548)
@@ -2,40 +2,41 @@
# $FreeBSD$
PORTNAME= commons-io
-PORTVERSION= 2.4
+PORTVERSION= 2.6
CATEGORIES= devel java
-MASTER_SITES= APACHE_COMMONS_SOURCE
+MASTER_SITES= APACHE_COMMONS_BINARIES
PKGNAMEPREFIX= jakarta-
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
MAINTAINER= makc at FreeBSD.org
COMMENT= Collection of I/O utilities for Java
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:java/junit
+USE_JAVA= 1.7+
-ALL_TARGET= dist
-JAVA_VERSION= 1.6+
-MAKE_ARGS= -cp ${JAVALIBDIR}/junit.jar
-USE_ANT= yes
-USE_JAVA= yes
+NO_ARCH= yes
+NO_BUILD= yes
-PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
-PORTDOCS= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt apidocs
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-JAR_VERSION= ${PORTNAME}-2.2-SNAPSHOT
+PLIST_FILES= ${JAVAJARDIR}/${JARFILE_VER} \
+ ${JAVAJARDIR}/${JARFILE}
+PORTDOCS= *
+JARFILE= ${PORTNAME}.jar
+JARFILE_VER= ${PORTNAME}-${PORTVERSION}.jar
+
OPTIONS_DEFINE= DOCS
-DOCS_ALL_TARGET= javadoc
do-install:
- ${INSTALL_DATA} ${WRKSRC}/target/${JAR_VERSION}.jar \
- ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+ ${INSTALL_DATA} ${WRKSRC}/${JARFILE_VER} ${STAGEDIR}${JAVAJARDIR}
+ ${LN} -sf ${JARFILE_VER} ${STAGEDIR}${JAVAJARDIR}/${JARFILE}
do-install-DOCS-on:
- (cd ${WRKSRC}/target && ${COPYTREE_SHARE} apidocs ${STAGEDIR}${DOCSDIR})
- (cd ${WRKSRC} && ${INSTALL_DATA} LICENSE.txt NOTICE.txt \
+ (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+ (cd ${WRKSRC} && ${INSTALL_DATA} NOTICE.txt \
RELEASE-NOTES.txt ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
Modified: head/devel/jakarta-commons-io/distinfo
==============================================================================
--- head/devel/jakarta-commons-io/distinfo Wed Aug 21 19:29:28 2019 (r509547)
+++ head/devel/jakarta-commons-io/distinfo Wed Aug 21 19:41:37 2019 (r509548)
@@ -1,2 +1,3 @@
-SHA256 (commons-io-2.4-src.tar.gz) = 961c8b41a891933c2d662d8e490667243ac82422668d1ccdd7bfedfdb944bb58
-SIZE (commons-io-2.4-src.tar.gz) = 330961
+TIMESTAMP = 1566334278
+SHA256 (commons-io-2.6-bin.tar.gz) = b6ba5fb49c5f6406dbabec2b77205c032b0b2ade6c217d20a9819a121fdaf3db
+SIZE (commons-io-2.6-bin.tar.gz) = 2241513
Modified: head/devel/jakarta-commons-io/pkg-descr
==============================================================================
--- head/devel/jakarta-commons-io/pkg-descr Wed Aug 21 19:29:28 2019 (r509547)
+++ head/devel/jakarta-commons-io/pkg-descr Wed Aug 21 19:41:37 2019 (r509548)
@@ -6,4 +6,4 @@ There are three main areas included:
* Filters - various implementations of file filters
* Streams - useful stream, reader and writer implementations
-WWW: http://jakarta.apache.org/commons/io/
+WWW: http://commons.apache.org/proper/commons-io/
More information about the svn-ports-head
mailing list