Bug 175095 - [MAINTAINER] math/jakarta-commons-math3: update to 3.1
Summary: [MAINTAINER] math/jakarta-commons-math3: update to 3.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-07 10:50 UTC by Muhammad Moinur Rahman
Modified: 2013-02-21 23:30 UTC (History)
0 users

See Also:


Attachments
jakarta-commons-math3-3.1.patch (2.12 KB, patch)
2013-01-07 10:50 UTC, Muhammad Moinur Rahman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Pawel Pekala freebsd_committer 2013-02-21 23:28:29 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 2 dfilter service freebsd_committer 2013-02-21 23:28:34 UTC
Author: pawel
Date: Thu Feb 21 23:28:21 2013
New Revision: 312746
URL: http://svnweb.freebsd.org/changeset/ports/312746

Log:
  - Update to version 3.1
  - Convert to OptionsNG
  
  PR:		ports/175095
  Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)

Modified:
  head/math/jakarta-commons-math3/Makefile
  head/math/jakarta-commons-math3/distinfo

Modified: head/math/jakarta-commons-math3/Makefile
==============================================================================
--- head/math/jakarta-commons-math3/Makefile	Thu Feb 21 22:30:28 2013	(r312745)
+++ head/math/jakarta-commons-math3/Makefile	Thu Feb 21 23:28:21 2013	(r312746)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	commons-math3
-PORTVERSION=	3.0
+PORTVERSION=	3.1
 CATEGORIES=	math java
 MASTER_SITES=	${MASTER_SITE_APACHE_COMMONS_SOURCE}
 MASTER_SITE_SUBDIR=	${PORTNAME:S,commons-math3,math,}
@@ -37,16 +37,17 @@ COMMONS_DISCOVERY_API=	${LOCALBASE}/shar
 MAKE_ARGS+=	-Dcommons-logging.api=${COMMONS_DISCOVERY_API}
 .endif
 
-.if !defined(NOPORTDOCS)
-ALL_TARGET+=	javadoc
-OTHERDOCS=	LICENSE.txt NOTICE.txt
-PORTDOCS=	apidocs ${OTHERDOCS}
-.endif
 JARFILE=	${PORTNAME:S,3,,}-${PORTVERSION}-SNAPSHOT.jar
 DESTJARFILE=	${PORTNAME}.jar
 PLIST_FILES+=	%%JAVAJARDIR%%/${DESTJARFILE}
 
-.include <bsd.port.pre.mk>
+.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 || ${TRUE}) | ${TAIL} -n 1
 .if ${JDK_API} != ""
@@ -65,7 +66,7 @@ do-install:
 	@${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
 	@${ECHO_MSG} " [ DONE ]"
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
 	@${MKDIR} ${DOCSDIR}
 	@cd ${WRKSRC}/target \
@@ -75,4 +76,4 @@ do-install:
 	@${ECHO_MSG} " [ DONE ]"
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/math/jakarta-commons-math3/distinfo
==============================================================================
--- head/math/jakarta-commons-math3/distinfo	Thu Feb 21 22:30:28 2013	(r312745)
+++ head/math/jakarta-commons-math3/distinfo	Thu Feb 21 23:28:21 2013	(r312746)
@@ -1,2 +1,2 @@
-SHA256 (commons-math3-3.0-src.tar.gz) = 987616f2e953dadd7f40c51e84a7480971a4788dc9464a9faba82b5e5f5ff22c
-SIZE (commons-math3-3.0-src.tar.gz) = 1646334
+SHA256 (commons-math3-3.1-src.tar.gz) = 0cd25ae24b5d026f729f3be9fac7a3cc0ad3b6b5352335e63538c53c0a54470c
+SIZE (commons-math3-3.1-src.tar.gz) = 2481249
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"