Bug 175095

Summary: [MAINTAINER] math/jakarta-commons-math3: update to 3.1
Product: Ports & Packages Reporter: Muhammad Moinur Rahman <bofh>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
jakarta-commons-math3-3.1.patch none

Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2013-02-21 23:28:29 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 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"