ports/166398: [NEW PORT] math/jakarta-commons-math3: Java library of self-contained mathematics and statistics components

Muhammad Moinur Rahman 5u623l20 at gmail.com
Sun Mar 25 18:50:08 UTC 2012


>Number:         166398
>Category:       ports
>Synopsis:       [NEW PORT] math/jakarta-commons-math3: Java library of self-contained mathematics and statistics components
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 25 18:50:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Muhammad Moinur Rahman
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD bofh.telnet.net.bd 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri Mar  2 02:21:51 BDT
>Description:
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/

For committer's reference :
https://redports.org/~subzero/20120325144321-43420-17027/jakarta-commons-math3-3.0.log
https://redports.org/~subzero/20120325144321-43420-17028/jakarta-commons-math3-3.0.log
https://redports.org/~subzero/20120325144321-43420-17029/jakarta-commons-math3-3.0.log
https://redports.org/~subzero/20120325144321-43420-17030/jakarta-commons-math3-3.0.log
https://redports.org/~subzero/20120325144321-43420-17031/jakarta-commons-math3-3.0.log
https://redports.org/~subzero/20120325144321-43420-17032/jakarta-commons-math3-3.0.log
https://redports.org/~subzero/20120325144321-43420-17033/jakarta-commons-math3-3.0.log
https://redports.org/~subzero/20120325144321-43420-17034/jakarta-commons-math3-3.0.log

Generated with FreeBSD Port Tools 0.99_4 (mode: new)
>How-To-Repeat:
>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jakarta-commons-math3
#	jakarta-commons-math3/files
#	jakarta-commons-math3/files/patch-build.xml
#	jakarta-commons-math3/pkg-descr
#	jakarta-commons-math3/Makefile
#	jakarta-commons-math3/distinfo
#
echo c - jakarta-commons-math3
mkdir -p jakarta-commons-math3 > /dev/null 2>&1
echo c - jakarta-commons-math3/files
mkdir -p jakarta-commons-math3/files > /dev/null 2>&1
echo x - jakarta-commons-math3/files/patch-build.xml
sed 's/^X//' >jakarta-commons-math3/files/patch-build.xml << '05f1bf9e1571ef500e1a9dfab18a3c5f'
X--- build.xml.orig	2012-03-26 01:38:37.000000000 +0600
X+++ build.xml	2012-03-26 01:38:56.000000000 +0600
X@@ -36,7 +36,7 @@
X   <!-- Junit -->
X   <property name="junit.version"           value="4.8.2"/>
X   <property name="junit.home"              value="/usr/share/junit"/>
X-  <property name="junit.jar"               value="${junit.home}/junit-${junit.version}.jar"/>
X+  <property name="junit.jar"               value="${junit.home}/junit.jar"/>
X 
X 
X <!-- ========== Component Declarations ==================================== -->
05f1bf9e1571ef500e1a9dfab18a3c5f
echo x - jakarta-commons-math3/pkg-descr
sed 's/^X//' >jakarta-commons-math3/pkg-descr << 'c2ca89abe67b7fb8977a743a2adba27d'
XCommons Math is a library of lightweight, self-contained mathematics and
Xstatistics components addressing the most common problems not available in the
XJava programming language or Commons Lang. 
X
XWWW: http://jakarta.apache.org/commons/math/
c2ca89abe67b7fb8977a743a2adba27d
echo x - jakarta-commons-math3/Makefile
sed 's/^X//' >jakarta-commons-math3/Makefile << '6c82915e1f372b163268f319844d68e0'
X# New ports collection makefile for:	Jakarta Commons Math 3
X# Date created:				25 May, 2012
X# Whom:					Muhammad Moinur Rahmanh <5u623l20 at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	commons-math3
XPORTVERSION=	3.0
XCATEGORIES=	math java
XMASTER_SITES=	${MASTER_SITE_APACHE_COMMONS_SOURCE}
XMASTER_SITE_SUBDIR=	${PORTNAME:S,commons-math3,math,}
XPKGNAMEPREFIX=	jakarta-
XDISTNAME=	${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER=	5u623l20 at gmail.com
XCOMMENT=	Java library of self-contained mathematics and statistics components
X
XBUILD_DEPENDS=	${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
X		${JAVAJARDIR}/junit.jar:${PORTSDIR}/java/junit \
X		${JAVAJARDIR}/commons-discovery.jar:${PORTSDIR}/java/jakarta-commons-discovery
XRUN_DEPENDS=	${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
X		${JAVAJARDIR}/commons-discovery.jar:${PORTSDIR}/java/jakarta-commons-discovery
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.5+
XUSE_ANT=	yes
X
XALL_TARGET=	jar
XMAKE_ARGS=	-Dlibdir=${WRKDIR} -Dnoget=true \
X		-Dcommons-logging.jar="file://${JAVAJARDIR}/commons-logging.jar" \
X		-Dcommons-discovery.jar="file://${JAVAJARDIR}/commons-discovery.jar"
X
XCOMMONS_LOGGING_API=	${LOCALBASE}/share/doc/commons-logging/api
X.if exists(${COMMONS_LOGGING_API})
XMAKE_ARGS+=	-Dcommons-logging.api=${COMMONS_LOGGING_API}
X.endif
X
XCOMMONS_DISCOVERY_API=	${LOCALBASE}/share/doc/commons-discovery/api
X.if exists(${COMMONS_DISCOVERY_API})
XMAKE_ARGS+=	-Dcommons-logging.api=${COMMONS_DISCOVERY_API}
X.endif
X
X.if !defined(NOPORTDOCS)
XALL_TARGET+=	javadoc
XOTHERDOCS=	LICENSE.txt NOTICE.txt
XPORTDOCS=	apidocs ${OTHERDOCS}
X.endif
XJARFILE=	${PORTNAME:S,3,,}-${PORTVERSION}-SNAPSHOT.jar
XDESTJARFILE=	${PORTNAME}.jar
XPLIST_FILES+=	%%JAVAJARDIR%%/${DESTJARFILE}
X
X.include <bsd.port.pre.mk>
X
XJDK_API!=	(${FIND} -s ${LOCALBASE}/share/doc/jdk1.? -maxdepth 1 -name api -type d 2>/dev/null || ${TRUE}) | ${TAIL} -n 1
X.if ${JDK_API} != ""
XMAKE_ARGS+=	-Djdk.api=${JDK_API}
X.endif
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's#4.4##g' \
X			-e 's#junit-#junit#g' \
X			-e 's#/usr/share/junit#${JAVAJARDIR}#g' \
X			${WRKSRC}/build.xml
X
Xdo-install:
X	@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
X	@${MKDIR} ${JAVAJARDIR}
X	@${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
X	@${ECHO_MSG} " [ DONE ]"
X
X.if !defined(NOPORTDOCS)
X	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
X	@${MKDIR} ${DOCSDIR}
X	@cd ${WRKSRC}/target \
X	  && ${FIND} -s apidocs -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
X	  && ${FIND} -s apidocs -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
X	@${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
X	@${ECHO_MSG} " [ DONE ]"
X.endif
X
X.include <bsd.port.post.mk>
6c82915e1f372b163268f319844d68e0
echo x - jakarta-commons-math3/distinfo
sed 's/^X//' >jakarta-commons-math3/distinfo << '078c3e0aabbc7ee2bd674e474ad146dc'
XSHA256 (commons-math3-3.0-src.tar.gz) = 987616f2e953dadd7f40c51e84a7480971a4788dc9464a9faba82b5e5f5ff22c
XSIZE (commons-math3-3.0-src.tar.gz) = 1646334
078c3e0aabbc7ee2bd674e474ad146dc
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list