summaryrefslogtreecommitdiff
path: root/math/jakarta-commons-math
diff options
context:
space:
mode:
Diffstat (limited to 'math/jakarta-commons-math')
-rw-r--r--math/jakarta-commons-math/Makefile72
-rw-r--r--math/jakarta-commons-math/distinfo4
-rw-r--r--math/jakarta-commons-math/files/patch-build.xml39
-rw-r--r--math/jakarta-commons-math/pkg-descr5
4 files changed, 0 insertions, 120 deletions
diff --git a/math/jakarta-commons-math/Makefile b/math/jakarta-commons-math/Makefile
deleted file mode 100644
index d8cd2f5ec099..000000000000
--- a/math/jakarta-commons-math/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-# Created by: Herve Quiroz <hq@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= commons-math
-PORTVERSION= 2.2
-PORTREVISION= 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
-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
-
-LICENSE= APACHE20
-
-BROKEN= fails to build
-DEPRECATED= Broken for more than 5 months
-EXPIRATION_DATE= 2018-08-20
-
-USE_ANT= yes
-USE_JAVA= yes
-JAVA_VERSION= 1.6 1.7
-USE_LOCALE= en_US.ISO8859-1
-
-ALL_TARGET= jar
-MAKE_ARGS= -Dlibdir=${WRKDIR} -Dnoget=true
-
-JARFILE= ${PORTNAME:S,3,,}-${PORTVERSION}.jar
-DESTJARFILE= ${PORTNAME}.jar
-PLIST_FILES+= %%JAVAJARDIR%%/${DESTJARFILE}
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
-
-.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:
- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
- @${MKDIR} ${STAGEDIR}${JAVAJARDIR}
- ${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
- @${ECHO_MSG} " [ DONE ]"
-
-.if ${PORT_OPTIONS:MDOCS}
- @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
- @${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}/
- @${ECHO_MSG} " [ DONE ]"
-.endif
-
-.include <bsd.port.mk>
diff --git a/math/jakarta-commons-math/distinfo b/math/jakarta-commons-math/distinfo
deleted file mode 100644
index 0ed7d23cc9d2..000000000000
--- a/math/jakarta-commons-math/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (commons-math-2.2-src.tar.gz) = a7624c3a3e2581d9905f1f1090c78c25448678bddcec2a48a4dc8a80f16ed1b8
-SIZE (commons-math-2.2-src.tar.gz) = 1321209
-SHA256 (junit-4.8.2.jar) = a2aa2c3bb2b72da76c3e6a71531f1eefdc350494819baf2b1d80d7146e020f9e
-SIZE (junit-4.8.2.jar) = 237344
diff --git a/math/jakarta-commons-math/files/patch-build.xml b/math/jakarta-commons-math/files/patch-build.xml
deleted file mode 100644
index 3baeb825d6b2..000000000000
--- a/math/jakarta-commons-math/files/patch-build.xml
+++ /dev/null
@@ -1,39 +0,0 @@
---- build.xml.orig 2011-02-26 18:12:55 UTC
-+++ build.xml
-@@ -167,7 +167,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"
-@@ -332,27 +332,5 @@
-
- <target name="gump" depends="clean,test,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" />
-- </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>
--
- </project>
-
diff --git a/math/jakarta-commons-math/pkg-descr b/math/jakarta-commons-math/pkg-descr
deleted file mode 100644
index 483415d92224..000000000000
--- a/math/jakarta-commons-math/pkg-descr
+++ /dev/null
@@ -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/