Index: MOVED =================================================================== --- MOVED (revision 522436) +++ MOVED (working copy) @@ -13724,3 +13724,4 @@ devel/yosys|cad/yosys|2020-01-04|Move to a proper category cad/ujprog|comms/ujprog|2020-01-05|Move to a proper category net/gnatsd|net/nats-server|2020-01-06|Renamed upstream +math/jakarta-commons-math3|apache-commons-math|2020-01-08|Renamed upstream Index: math/Makefile =================================================================== --- math/Makefile (revision 522436) +++ math/Makefile (working copy) @@ -132,6 +132,7 @@ SUBDIR += ann SUBDIR += antic SUBDIR += apc + SUBDIR += apache-commons-math SUBDIR += apron SUBDIR += arb SUBDIR += aribas @@ -301,7 +302,6 @@ SUBDIR += ised SUBDIR += jacal SUBDIR += jags - SUBDIR += jakarta-commons-math3 SUBDIR += jama SUBDIR += jeuclid SUBDIR += jlatexmath Index: math/apache-commons-math/Makefile =================================================================== --- math/apache-commons-math/Makefile (revision 522436) +++ math/apache-commons-math/Makefile (working copy) @@ -1,13 +1,13 @@ # Created by: Muhammad Moinur Rahmanh <5u623l20@gmail.com> # $FreeBSD$ -PORTNAME= commons-math3 -PORTVERSION= 3.3 +PORTNAME= commons-math +PORTVERSION= 3.6.1 CATEGORIES= math java MASTER_SITES= APACHE_COMMONS_SOURCE \ http://repo1.maven.org/maven2/junit/junit/4.8.2/:source2 -PKGNAMEPREFIX= jakarta- -DISTNAME= ${PORTNAME}-${PORTVERSION}-src +PKGNAMEPREFIX= apache- +DISTNAME= ${PORTNAME}3-${PORTVERSION}-src DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ junit-4.8.2.jar:source2 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -15,8 +15,6 @@ MAINTAINER= bofh@FreeBSD.org COMMENT= Java library of self-contained mathematics and statistics components -BROKEN= unfetchable - LICENSE= APACHE20 BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details @@ -29,7 +27,7 @@ ALL_TARGET= jar MAKE_ARGS= -Dlibdir=${WRKDIR} -Dnoget=true -JARFILE= ${PORTNAME:S,3,,}-${PORTVERSION}-SNAPSHOT.jar +JARFILE= ${PORTNAME:S,3,,}-3.6.jar DESTJARFILE= ${PORTNAME}.jar PLIST_FILES+= %%JAVAJARDIR%%/${DESTJARFILE} @@ -43,11 +41,6 @@ PORTDOCS= apidocs ${OTHERDOCS} .endif -JDK_API= ${FIND} -s ${LOCALBASE}/share/doc/jdk1.? -maxdepth 1 -name api -type d 2>/dev/null || ${ECHO_CMD} | ${TAIL} -n 1 -.if ${JDK_API} != "" -MAKE_ARGS+= -Djdk.api=$$(${JDK_API}) -.endif - post-extract: ${MKDIR} ${WRKSRC}/lib ${CP} ${DISTDIR}/junit-4.8.2.jar ${WRKSRC}/lib/ @@ -57,11 +50,9 @@ ${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE} .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/target \ - && ${FIND} -s apidocs -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ - && ${FIND} -s apidocs -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; - ${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR}/apidocs + (cd ${WRKSRC}/target/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}/apidocs/${SDIR}) + ${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}/ .endif .include Index: math/apache-commons-math/distinfo =================================================================== --- math/apache-commons-math/distinfo (revision 522436) +++ math/apache-commons-math/distinfo (working copy) @@ -1,4 +1,5 @@ -SHA256 (commons-math3-3.3-src.tar.gz) = f0803e31a6361fe6a0fc105e33b084211dbf7efb8c419415e783fa1fe4855e0b -SIZE (commons-math3-3.3-src.tar.gz) = 3409107 +TIMESTAMP = 1571601170 +SHA256 (commons-math3-3.6.1-src.tar.gz) = 46171449bcfb7d76912275ed1af9ef7de03f7eb1cb9a801e3faf304cc8f586a6 +SIZE (commons-math3-3.6.1-src.tar.gz) = 3665572 SHA256 (junit-4.8.2.jar) = a2aa2c3bb2b72da76c3e6a71531f1eefdc350494819baf2b1d80d7146e020f9e SIZE (junit-4.8.2.jar) = 237344 Index: math/apache-commons-math/files/patch-build.xml =================================================================== --- math/apache-commons-math/files/patch-build.xml (revision 522436) +++ math/apache-commons-math/files/patch-build.xml (working copy) @@ -1,14 +1,5 @@ ---- build.xml.orig 2014-05-07 20:40:45.000000000 +0000 -+++ build.xml 2014-06-13 18:53:29.152647282 +0000 -@@ -52,7 +52,7 @@ - - - -- -+ - - - +--- build.xml.orig 2016-03-17 12:14:52 UTC ++++ build.xml @@ -174,7 +174,7 @@ @@ -27,20 +18,21 @@ -@@ -339,29 +339,8 @@ +@@ -339,38 +339,11 @@ - -+ ++ -- -- + + - +- depends="check-availability" unless="skip.download"> - - +- - - - @@ -55,6 +47,14 @@ - usetimestamp="true" ignoreerrors="true" - src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/> - -- +- +- +- +- +- +- + Index: math/apache-commons-math/pkg-descr =================================================================== --- math/apache-commons-math/pkg-descr (revision 522436) +++ math/apache-commons-math/pkg-descr (working copy) @@ -2,4 +2,16 @@ statistics components addressing the most common problems not available in the Java programming language or Commons Lang. -WWW: http://jakarta.apache.org/commons/math/ +Guiding principles: + + * Real-world application use cases determine development priority. + * This package emphasizes small, easily integrated components rather than + large libraries with complex dependencies and configurations. + * All algorithms are fully documented and follow generally accepted best + practices. + * In situations where multiple standard algorithms exist, a Strategy pattern + is used to support multiple implementations. + * Limited dependencies. No external dependencies beyond Commons components + and the core Java platform. + +WWW: http://commons.apache.org/proper/commons-math/ Index: math/jakarta-commons-math3/Makefile =================================================================== --- math/jakarta-commons-math3/Makefile (revision 522436) +++ math/jakarta-commons-math3/Makefile (nonexistent) @@ -1,67 +0,0 @@ -# Created by: Muhammad Moinur Rahmanh <5u623l20@gmail.com> -# $FreeBSD$ - -PORTNAME= commons-math3 -PORTVERSION= 3.3 -CATEGORIES= math java -MASTER_SITES= APACHE_COMMONS_SOURCE \ - http://repo1.maven.org/maven2/junit/junit/4.8.2/:source2 -PKGNAMEPREFIX= jakarta- -DISTNAME= ${PORTNAME}-${PORTVERSION}-src -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - junit-4.8.2.jar:source2 -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} - -MAINTAINER= bofh@FreeBSD.org -COMMENT= Java library of self-contained mathematics and statistics components - -BROKEN= unfetchable - -LICENSE= APACHE20 - -BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details -BROKEN_armv7= fails to compile: PowellOptimizer.java:301: error: Illegal static declaration in inner class PowellOptimizer.LineSearch - -USE_ANT= yes -USE_JAVA= yes -USE_LOCALE= en_US.ISO8859-1 - -ALL_TARGET= jar -MAKE_ARGS= -Dlibdir=${WRKDIR} -Dnoget=true - -JARFILE= ${PORTNAME:S,3,,}-${PORTVERSION}-SNAPSHOT.jar -DESTJARFILE= ${PORTNAME}.jar -PLIST_FILES+= %%JAVAJARDIR%%/${DESTJARFILE} - -OPTIONS_DEFINE= DOCS - -.include - -.if ${PORT_OPTIONS:MDOCS} -ALL_TARGET+= javadoc -OTHERDOCS= LICENSE.txt NOTICE.txt -PORTDOCS= apidocs ${OTHERDOCS} -.endif - -JDK_API= ${FIND} -s ${LOCALBASE}/share/doc/jdk1.? -maxdepth 1 -name api -type d 2>/dev/null || ${ECHO_CMD} | ${TAIL} -n 1 -.if ${JDK_API} != "" -MAKE_ARGS+= -Djdk.api=$$(${JDK_API}) -.endif - -post-extract: - ${MKDIR} ${WRKSRC}/lib - ${CP} ${DISTDIR}/junit-4.8.2.jar ${WRKSRC}/lib/ - -do-install: - ${MKDIR} ${STAGEDIR}${JAVAJARDIR} - ${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE} - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/target \ - && ${FIND} -s apidocs -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ - && ${FIND} -s apidocs -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; - ${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ -.endif - -.include Property changes on: math/jakarta-commons-math3/Makefile ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: math/jakarta-commons-math3/distinfo =================================================================== --- math/jakarta-commons-math3/distinfo (revision 522436) +++ math/jakarta-commons-math3/distinfo (nonexistent) @@ -1,4 +0,0 @@ -SHA256 (commons-math3-3.3-src.tar.gz) = f0803e31a6361fe6a0fc105e33b084211dbf7efb8c419415e783fa1fe4855e0b -SIZE (commons-math3-3.3-src.tar.gz) = 3409107 -SHA256 (junit-4.8.2.jar) = a2aa2c3bb2b72da76c3e6a71531f1eefdc350494819baf2b1d80d7146e020f9e -SIZE (junit-4.8.2.jar) = 237344 Property changes on: math/jakarta-commons-math3/distinfo ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: math/jakarta-commons-math3/files/patch-build.xml =================================================================== --- math/jakarta-commons-math3/files/patch-build.xml (revision 522436) +++ math/jakarta-commons-math3/files/patch-build.xml (nonexistent) @@ -1,60 +0,0 @@ ---- build.xml.orig 2014-05-07 20:40:45.000000000 +0000 -+++ build.xml 2014-06-13 18:53:29.152647282 +0000 -@@ -52,7 +52,7 @@ - - - -- -+ - - - -@@ -174,7 +174,7 @@ - - - -- -+ - - - -- -+ - - - -@@ -339,29 +339,8 @@ - - - -- -+ - - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - - Property changes on: math/jakarta-commons-math3/files/patch-build.xml ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: math/jakarta-commons-math3/pkg-descr =================================================================== --- math/jakarta-commons-math3/pkg-descr (revision 522436) +++ math/jakarta-commons-math3/pkg-descr (nonexistent) @@ -1,5 +0,0 @@ -Commons Math is a library of lightweight, self-contained mathematics and -statistics components addressing the most common problems not available in the -Java programming language or Commons Lang. - -WWW: http://jakarta.apache.org/commons/math/ Property changes on: math/jakarta-commons-math3/pkg-descr ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property