mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
- Update to 2.0
PR: 138437 Submitted by: Wen Heping <wenheping@gmail.com> (maintainer)
This commit is contained in:
parent
eb7fcbd44d
commit
de0bcab324
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240743
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= commons-math
|
||||
PORTVERSION= 1.2
|
||||
PORTVERSION= 2.0
|
||||
CATEGORIES= math java
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_SOURCE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
|
||||
@ -29,10 +29,12 @@ ALL_TARGET= jar
|
||||
MAKE_ARGS= -Dlibdir=${WRKDIR} -Dnoget=true \
|
||||
-Dcommons-logging.jar="file://${JAVAJARDIR}/commons-logging.jar" \
|
||||
-Dcommons-discovery.jar="file://${JAVAJARDIR}/commons-discovery.jar"
|
||||
|
||||
COMMONS_LOGGING_API= ${LOCALBASE}/share/doc/commons-logging/api
|
||||
.if exists(${COMMONS_LOGGING_API})
|
||||
MAKE_ARGS+= -Dcommons-logging.api=${COMMONS_LOGGING_API}
|
||||
.endif
|
||||
|
||||
COMMONS_DISCOVERY_API= ${LOCALBASE}/share/doc/commons-discovery/api
|
||||
.if exists(${COMMONS_DISCOVERY_API})
|
||||
MAKE_ARGS+= -Dcommons-logging.api=${COMMONS_DISCOVERY_API}
|
||||
@ -41,7 +43,7 @@ MAKE_ARGS+= -Dcommons-logging.api=${COMMONS_DISCOVERY_API}
|
||||
.if !defined(NOPORTDOCS)
|
||||
ALL_TARGET+= javadoc
|
||||
OTHERDOCS= LICENSE.txt NOTICE.txt
|
||||
PORTDOCS= api ${OTHERDOCS}
|
||||
PORTDOCS= apidocs ${OTHERDOCS}
|
||||
.endif
|
||||
JARFILE= ${PORTNAME}-${PORTVERSION}.jar
|
||||
DESTJARFILE= ${PORTNAME}.jar
|
||||
@ -63,9 +65,9 @@ do-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@cd ${WRKSRC}/dist/docs \
|
||||
&& ${FIND} -s api -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
|
||||
&& ${FIND} -s api -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
||||
@cd ${WRKSRC}/target \
|
||||
&& ${FIND} -s apidocs -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
|
||||
&& ${FIND} -s apidocs -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
||||
@${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
||||
@${ECHO_MSG} " [ DONE ]"
|
||||
.endif
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (commons-math-1.2-src.tar.gz) = d1c24d181e4ec8233ad164db371aa2c5
|
||||
SHA256 (commons-math-1.2-src.tar.gz) = 7ce779da04546b29f5b5401c327ff317879808ce0c228796240c6265a36aea4b
|
||||
SIZE (commons-math-1.2-src.tar.gz) = 602243
|
||||
MD5 (commons-math-2.0-src.tar.gz) = 0572a2e542c0e138328466ff2c8dafce
|
||||
SHA256 (commons-math-2.0-src.tar.gz) = 5c40855b63e5614fd68f77a45588c92ccd4af2e8162d9ebee3e33e225b04b802
|
||||
SIZE (commons-math-2.0-src.tar.gz) = 1044286
|
||||
|
@ -1,14 +0,0 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- build.xml.orig Sun Dec 18 20:37:46 2005
|
||||
+++ build.xml Tue Jun 20 11:16:15 2006
|
||||
@@ -179,6 +179,9 @@
|
||||
<property name="title" value="Math 1.1 API">
|
||||
</property>
|
||||
<javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="${basedir}/src/java" packagenames="org.apache.commons.math.*">
|
||||
+ <link offline="true" packagelistLoc="${commons-discovery.api}" href="${commons-discovery.api}"/>
|
||||
+ <link offline="true" packagelistLoc="${commons-discovery.api}" href="${commons-discovery.api}"/>
|
||||
+ <link offline="true" packagelistLoc="${jdk.api}" href="${jdk.api}"/>
|
||||
<classpath>
|
||||
<path refid="build.classpath">
|
||||
</path>
|
Loading…
Reference in New Issue
Block a user