View | Details | Raw Unified | Return to bug 241380 | Differences between
and this patch

Collapse All | Expand All

(-)MOVED (+1 lines)
Lines 13724-13726 Link Here
13724
devel/yosys|cad/yosys|2020-01-04|Move to a proper category
13724
devel/yosys|cad/yosys|2020-01-04|Move to a proper category
13725
cad/ujprog|comms/ujprog|2020-01-05|Move to a proper category
13725
cad/ujprog|comms/ujprog|2020-01-05|Move to a proper category
13726
net/gnatsd|net/nats-server|2020-01-06|Renamed upstream
13726
net/gnatsd|net/nats-server|2020-01-06|Renamed upstream
13727
math/jakarta-commons-math3|apache-commons-math|2020-01-08|Renamed upstream
(-)math/Makefile (-1 / +1 lines)
Lines 132-137 Link Here
132
    SUBDIR += ann
132
    SUBDIR += ann
133
    SUBDIR += antic
133
    SUBDIR += antic
134
    SUBDIR += apc
134
    SUBDIR += apc
135
    SUBDIR += apache-commons-math
135
    SUBDIR += apron
136
    SUBDIR += apron
136
    SUBDIR += arb
137
    SUBDIR += arb
137
    SUBDIR += aribas
138
    SUBDIR += aribas
Lines 301-307 Link Here
301
    SUBDIR += ised
302
    SUBDIR += ised
302
    SUBDIR += jacal
303
    SUBDIR += jacal
303
    SUBDIR += jags
304
    SUBDIR += jags
304
    SUBDIR += jakarta-commons-math3
305
    SUBDIR += jama
305
    SUBDIR += jama
306
    SUBDIR += jeuclid
306
    SUBDIR += jeuclid
307
    SUBDIR += jlatexmath
307
    SUBDIR += jlatexmath
(-)math/apache-commons-math/Makefile (-17 / +8 lines)
Lines 1-13 Link Here
1
# Created by: Muhammad Moinur Rahmanh <5u623l20@gmail.com>
1
# Created by: Muhammad Moinur Rahmanh <5u623l20@gmail.com>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	commons-math3
4
PORTNAME=	commons-math
5
PORTVERSION=	3.3
5
PORTVERSION=	3.6.1
6
CATEGORIES=	math java
6
CATEGORIES=	math java
7
MASTER_SITES=	APACHE_COMMONS_SOURCE \
7
MASTER_SITES=	APACHE_COMMONS_SOURCE \
8
		http://repo1.maven.org/maven2/junit/junit/4.8.2/:source2
8
		http://repo1.maven.org/maven2/junit/junit/4.8.2/:source2
9
PKGNAMEPREFIX=	jakarta-
9
PKGNAMEPREFIX=	apache-
10
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
10
DISTNAME=	${PORTNAME}3-${PORTVERSION}-src
11
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
11
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
12
		junit-4.8.2.jar:source2
12
		junit-4.8.2.jar:source2
13
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
13
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
Lines 15-22 Link Here
15
MAINTAINER=	bofh@FreeBSD.org
15
MAINTAINER=	bofh@FreeBSD.org
16
COMMENT=	Java library of self-contained mathematics and statistics components
16
COMMENT=	Java library of self-contained mathematics and statistics components
17
17
18
BROKEN=		unfetchable
19
20
LICENSE=	APACHE20
18
LICENSE=	APACHE20
21
19
22
BROKEN_armv6=		fails to compile: build.xml: Compile failed; see the compiler error output for details
20
BROKEN_armv6=		fails to compile: build.xml: Compile failed; see the compiler error output for details
Lines 29-35 Link Here
29
ALL_TARGET=	jar
27
ALL_TARGET=	jar
30
MAKE_ARGS=	-Dlibdir=${WRKDIR} -Dnoget=true
28
MAKE_ARGS=	-Dlibdir=${WRKDIR} -Dnoget=true
31
29
32
JARFILE=	${PORTNAME:S,3,,}-${PORTVERSION}-SNAPSHOT.jar
30
JARFILE=	${PORTNAME:S,3,,}-3.6.jar
33
DESTJARFILE=	${PORTNAME}.jar
31
DESTJARFILE=	${PORTNAME}.jar
34
PLIST_FILES+=	%%JAVAJARDIR%%/${DESTJARFILE}
32
PLIST_FILES+=	%%JAVAJARDIR%%/${DESTJARFILE}
35
33
Lines 43-53 Link Here
43
PORTDOCS=	apidocs ${OTHERDOCS}
41
PORTDOCS=	apidocs ${OTHERDOCS}
44
.endif
42
.endif
45
43
46
JDK_API=	${FIND} -s ${LOCALBASE}/share/doc/jdk1.? -maxdepth 1 -name api -type d 2>/dev/null || ${ECHO_CMD} | ${TAIL} -n 1
47
.if ${JDK_API} != ""
48
MAKE_ARGS+=	-Djdk.api=$$(${JDK_API})
49
.endif
50
51
post-extract:
44
post-extract:
52
	${MKDIR} ${WRKSRC}/lib
45
	${MKDIR} ${WRKSRC}/lib
53
	${CP} ${DISTDIR}/junit-4.8.2.jar ${WRKSRC}/lib/
46
	${CP} ${DISTDIR}/junit-4.8.2.jar ${WRKSRC}/lib/
Lines 57-67 Link Here
57
	${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
50
	${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
58
51
59
.if ${PORT_OPTIONS:MDOCS}
52
.if ${PORT_OPTIONS:MDOCS}
60
	${MKDIR} ${STAGEDIR}${DOCSDIR}
53
	${MKDIR} ${STAGEDIR}${DOCSDIR}/apidocs
61
	cd ${WRKSRC}/target \
54
	(cd ${WRKSRC}/target/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}/apidocs/${SDIR})
62
	  && ${FIND} -s apidocs -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
55
	${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}/
63
	  && ${FIND} -s apidocs -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
64
	${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
65
.endif
56
.endif
66
57
67
.include <bsd.port.mk>
58
.include <bsd.port.mk>
(-)math/apache-commons-math/distinfo (-2 / +3 lines)
Lines 1-4 Link Here
1
SHA256 (commons-math3-3.3-src.tar.gz) = f0803e31a6361fe6a0fc105e33b084211dbf7efb8c419415e783fa1fe4855e0b
1
TIMESTAMP = 1571601170
2
SIZE (commons-math3-3.3-src.tar.gz) = 3409107
2
SHA256 (commons-math3-3.6.1-src.tar.gz) = 46171449bcfb7d76912275ed1af9ef7de03f7eb1cb9a801e3faf304cc8f586a6
3
SIZE (commons-math3-3.6.1-src.tar.gz) = 3665572
3
SHA256 (junit-4.8.2.jar) = a2aa2c3bb2b72da76c3e6a71531f1eefdc350494819baf2b1d80d7146e020f9e
4
SHA256 (junit-4.8.2.jar) = a2aa2c3bb2b72da76c3e6a71531f1eefdc350494819baf2b1d80d7146e020f9e
4
SIZE (junit-4.8.2.jar) = 237344
5
SIZE (junit-4.8.2.jar) = 237344
(-)math/apache-commons-math/files/patch-build.xml (-17 / +17 lines)
Lines 1-14 Link Here
1
--- build.xml.orig	2014-05-07 20:40:45.000000000 +0000
1
--- build.xml.orig	2016-03-17 12:14:52 UTC
2
+++ build.xml	2014-06-13 18:53:29.152647282 +0000
2
+++ build.xml
3
@@ -52,7 +52,7 @@
4
   <property name="component.title"         value="Commons MATH"/>
5
 
6
   <!-- The current version number of this component -->
7
-  <property name="component.version"       value="3.1-SNAPSHOT"/>
8
+  <property name="component.version"       value="3.3-SNAPSHOT"/>
9
 
10
   <!-- The base directory for component sources -->
11
   <property name="source.home"             value="src/main/java"/>
12
@@ -174,7 +174,7 @@
3
@@ -174,7 +174,7 @@
13
 
4
 
14
 <!-- ========== Unit Test Targets ========================================= -->
5
 <!-- ========== Unit Test Targets ========================================= -->
Lines 27-46 Link Here
27
 
18
 
28
     <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
19
     <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
29
     <copy file="NOTICE.txt"  tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
20
     <copy file="NOTICE.txt"  tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
30
@@ -339,29 +339,8 @@
21
@@ -339,38 +339,11 @@
31
 
22
 
32
 <!-- ========== Gump Target ===================================================== -->
23
 <!-- ========== Gump Target ===================================================== -->
33
 
24
 
34
-  <target name="gump" depends="clean,test,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/>
25
-  <target name="gump" depends="clean,test,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/>
35
+  <target name="gump" depends="clean,javadoc,jar" description="Gump Target - clean,javadoc,jar"/>
26
+  <target name="gump" depends="clean,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/>
36
 
27
 
37
 
28
 
38
-<!-- ========== Download Dependencies =========================================== -->
29
 <!-- ========== Download Dependencies =========================================== -->
39
-
30
 
40
-    <target name="download-dependencies" 
31
-    <target name="download-dependencies" 
41
-           depends="check-availability" unless="skip.download">
32
-         depends="check-availability" unless="skip.download">
42
-        <echo message="doing download-dependencies..." />
33
-        <echo message="doing download-dependencies..." />
43
-        <antcall target="download-junit" />
34
-        <antcall target="download-junit" />
35
-        <antcall target="download-hamcrest" />
44
-    </target>
36
-    </target>
45
-
37
-
46
-    <target name="check-availability">
38
-    <target name="check-availability">
Lines 55-60 Link Here
55
-            usetimestamp="true" ignoreerrors="true"
47
-            usetimestamp="true" ignoreerrors="true"
56
-            src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/>
48
-            src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/>
57
-    </target>
49
-    </target>
58
-      
50
-
51
-	<target name="download-hamcrest" unless="hamcrest.found">
52
-	        <echo message="Downloading hamcrest..."/>
53
-	        <mkdir dir="${download.lib.dir}" />
54
-	        <get dest="${download.lib.dir}/${hamcrest.jar}"
55
-	            usetimestamp="true" ignoreerrors="true"
56
-	            src="http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
57
-	</target>
58
       
59
 </project>
59
 </project>
60
 
60
 
(-)math/apache-commons-math/pkg-descr (-1 / +13 lines)
Lines 2-5 Link Here
2
statistics components addressing the most common problems not available in the
2
statistics components addressing the most common problems not available in the
3
Java programming language or Commons Lang.
3
Java programming language or Commons Lang.
4
4
5
WWW: http://jakarta.apache.org/commons/math/
5
Guiding principles:
6
7
 * Real-world application use cases determine development priority.
8
 * This package emphasizes small, easily integrated components rather than
9
	large libraries with complex dependencies and configurations.
10
 * All algorithms are fully documented and follow generally accepted best
11
	practices.
12
 * In situations where multiple standard algorithms exist, a Strategy pattern
13
	is used to support multiple implementations.
14
 * Limited dependencies. No external dependencies beyond Commons components
15
	and the core Java platform.
16
17
WWW: http://commons.apache.org/proper/commons-math/
(-)math/jakarta-commons-math3/Makefile (-67 lines)
Lines 1-67 Link Here
1
# Created by: Muhammad Moinur Rahmanh <5u623l20@gmail.com>
2
# $FreeBSD$
3
4
PORTNAME=	commons-math3
5
PORTVERSION=	3.3
6
CATEGORIES=	math java
7
MASTER_SITES=	APACHE_COMMONS_SOURCE \
8
		http://repo1.maven.org/maven2/junit/junit/4.8.2/:source2
9
PKGNAMEPREFIX=	jakarta-
10
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
11
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
12
		junit-4.8.2.jar:source2
13
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
14
15
MAINTAINER=	bofh@FreeBSD.org
16
COMMENT=	Java library of self-contained mathematics and statistics components
17
18
BROKEN=		unfetchable
19
20
LICENSE=	APACHE20
21
22
BROKEN_armv6=		fails to compile: build.xml: Compile failed; see the compiler error output for details
23
BROKEN_armv7=		fails to compile: PowellOptimizer.java:301: error: Illegal static declaration in inner class PowellOptimizer.LineSearch
24
25
USE_ANT=	yes
26
USE_JAVA=	yes
27
USE_LOCALE=	en_US.ISO8859-1
28
29
ALL_TARGET=	jar
30
MAKE_ARGS=	-Dlibdir=${WRKDIR} -Dnoget=true
31
32
JARFILE=	${PORTNAME:S,3,,}-${PORTVERSION}-SNAPSHOT.jar
33
DESTJARFILE=	${PORTNAME}.jar
34
PLIST_FILES+=	%%JAVAJARDIR%%/${DESTJARFILE}
35
36
OPTIONS_DEFINE=	DOCS
37
38
.include <bsd.port.options.mk>
39
40
.if ${PORT_OPTIONS:MDOCS}
41
ALL_TARGET+=	javadoc
42
OTHERDOCS=	LICENSE.txt NOTICE.txt
43
PORTDOCS=	apidocs ${OTHERDOCS}
44
.endif
45
46
JDK_API=	${FIND} -s ${LOCALBASE}/share/doc/jdk1.? -maxdepth 1 -name api -type d 2>/dev/null || ${ECHO_CMD} | ${TAIL} -n 1
47
.if ${JDK_API} != ""
48
MAKE_ARGS+=	-Djdk.api=$$(${JDK_API})
49
.endif
50
51
post-extract:
52
	${MKDIR} ${WRKSRC}/lib
53
	${CP} ${DISTDIR}/junit-4.8.2.jar ${WRKSRC}/lib/
54
55
do-install:
56
	${MKDIR} ${STAGEDIR}${JAVAJARDIR}
57
	${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
58
59
.if ${PORT_OPTIONS:MDOCS}
60
	${MKDIR} ${STAGEDIR}${DOCSDIR}
61
	cd ${WRKSRC}/target \
62
	  && ${FIND} -s apidocs -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
63
	  && ${FIND} -s apidocs -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
64
	${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
65
.endif
66
67
.include <bsd.port.mk>
(-)math/jakarta-commons-math3/distinfo (-4 lines)
Lines 1-4 Link Here
1
SHA256 (commons-math3-3.3-src.tar.gz) = f0803e31a6361fe6a0fc105e33b084211dbf7efb8c419415e783fa1fe4855e0b
2
SIZE (commons-math3-3.3-src.tar.gz) = 3409107
3
SHA256 (junit-4.8.2.jar) = a2aa2c3bb2b72da76c3e6a71531f1eefdc350494819baf2b1d80d7146e020f9e
4
SIZE (junit-4.8.2.jar) = 237344
(-)math/jakarta-commons-math3/files/patch-build.xml (-60 lines)
Lines 1-60 Link Here
1
--- build.xml.orig	2014-05-07 20:40:45.000000000 +0000
2
+++ build.xml	2014-06-13 18:53:29.152647282 +0000
3
@@ -52,7 +52,7 @@
4
   <property name="component.title"         value="Commons MATH"/>
5
 
6
   <!-- The current version number of this component -->
7
-  <property name="component.version"       value="3.1-SNAPSHOT"/>
8
+  <property name="component.version"       value="3.3-SNAPSHOT"/>
9
 
10
   <!-- The base directory for component sources -->
11
   <property name="source.home"             value="src/main/java"/>
12
@@ -174,7 +174,7 @@
13
 
14
 <!-- ========== Unit Test Targets ========================================= -->
15
 
16
-    <target name="compile.tests" depends="compile, download-dependencies" description="Compile unit tests.">
17
+    <target name="compile.tests" depends="compile" description="Compile unit tests.">
18
 
19
       <javac srcdir="${test.home}"
20
              destdir="${build.home}/test-classes"
21
@@ -256,7 +256,7 @@
22
 
23
 <!-- ========== Create Jar ================================================ -->
24
 
25
-  <target name="jar" depends="test" description="Create jar file">
26
+  <target name="jar" description="Create jar file">
27
 
28
     <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
29
     <copy file="NOTICE.txt"  tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
30
@@ -339,29 +339,8 @@
31
 
32
 <!-- ========== Gump Target ===================================================== -->
33
 
34
-  <target name="gump" depends="clean,test,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/>
35
+  <target name="gump" depends="clean,javadoc,jar" description="Gump Target - clean,javadoc,jar"/>
36
 
37
 
38
-<!-- ========== Download Dependencies =========================================== -->
39
-
40
-    <target name="download-dependencies" 
41
-           depends="check-availability" unless="skip.download">
42
-        <echo message="doing download-dependencies..." />
43
-        <antcall target="download-junit" />
44
-    </target>
45
-
46
-    <target name="check-availability">
47
-        <echo message="doing check-availability..." />
48
-        <available file="${junit.jar}" property="junit.found"/>
49
-    </target>
50
-
51
-    <target name="download-junit" unless="junit.found">
52
-        <echo message="Downloading junit..."/>
53
-        <mkdir dir="${download.lib.dir}" />
54
-        <get dest="${download.lib.dir}/junit-${junit.version}.jar"
55
-            usetimestamp="true" ignoreerrors="true"
56
-            src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/>
57
-    </target>
58
-      
59
 </project>
60
 
(-)math/jakarta-commons-math3/pkg-descr (-5 lines)
Lines 1-5 Link Here
1
Commons Math is a library of lightweight, self-contained mathematics and
2
statistics components addressing the most common problems not available in the
3
Java programming language or Commons Lang.
4
5
WWW: http://jakarta.apache.org/commons/math/

Return to bug 241380