diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2020-01-24 19:02:45 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2020-01-24 19:02:45 +0000 |
commit | 5dbafb96752e99c2ecec229c36192984e7d69c15 (patch) | |
tree | 577dec6e4ca88a086646466eafd24d39f8a3e7ca /math/apache-commons-math/files | |
parent | New port: cad/PrusaSlicer (diff) |
math/jakarta-commons-math3 update and rename to apache-commons-math
Unbreak and move as it now an Apache Commons project.
PR: 241380
Approved by: bofh (maintainer)
Diffstat (limited to 'math/apache-commons-math/files')
-rw-r--r-- | math/apache-commons-math/files/patch-build.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/math/apache-commons-math/files/patch-build.xml b/math/apache-commons-math/files/patch-build.xml new file mode 100644 index 000000000000..256c8c63f281 --- /dev/null +++ b/math/apache-commons-math/files/patch-build.xml @@ -0,0 +1,60 @@ +--- build.xml.orig 2016-03-17 12:14:52 UTC ++++ build.xml +@@ -174,7 +174,7 @@ + + <!-- ========== Unit Test Targets ========================================= --> + +- <target name="compile.tests" depends="compile, download-dependencies" description="Compile unit tests."> ++ <target name="compile.tests" depends="compile" description="Compile unit tests."> + + <javac srcdir="${test.home}" + destdir="${build.home}/test-classes" +@@ -256,7 +256,7 @@ + + <!-- ========== Create Jar ================================================ --> + +- <target name="jar" depends="test" description="Create jar file"> ++ <target name="jar" description="Create jar file"> + + <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/> + <copy file="NOTICE.txt" tofile="${build.home}/classes/META-INF/NOTICE.txt"/> +@@ -339,38 +339,11 @@ + + <!-- ========== Gump Target ===================================================== --> + +- <target name="gump" depends="clean,test,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/> ++ <target name="gump" depends="clean,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/> + + + <!-- ========== Download Dependencies =========================================== --> + +- <target name="download-dependencies" +- depends="check-availability" unless="skip.download"> +- <echo message="doing download-dependencies..." /> +- <antcall target="download-junit" /> +- <antcall target="download-hamcrest" /> +- </target> +- +- <target name="check-availability"> +- <echo message="doing check-availability..." /> +- <available file="${junit.jar}" property="junit.found"/> +- </target> +- +- <target name="download-junit" unless="junit.found"> +- <echo message="Downloading junit..."/> +- <mkdir dir="${download.lib.dir}" /> +- <get dest="${download.lib.dir}/junit-${junit.version}.jar" +- usetimestamp="true" ignoreerrors="true" +- src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/> +- </target> +- +- <target name="download-hamcrest" unless="hamcrest.found"> +- <echo message="Downloading hamcrest..."/> +- <mkdir dir="${download.lib.dir}" /> +- <get dest="${download.lib.dir}/${hamcrest.jar}" +- usetimestamp="true" ignoreerrors="true" +- src="http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/> +- </target> + + </project> + |