Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2013 17:12:21 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        koziol@hdfgroup.org
Subject:   ports/176809: [PATCH] science/hdf5: update to 1.8.10, take maintainership
Message-ID:  <20130310091221.CC10B504@sunpoet.net>
Resent-Message-ID: <201303100920.r2A9K0cR093072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176809
>Category:       ports
>Synopsis:       [PATCH] science/hdf5: update to 1.8.10, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 10 09:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r247564: Sat Mar  2 08:05:30
>Description:
- Update to 1.8.10 patch 1
- Convert to new options framework
- Cleanup Makefile header
- Cosmetic change
- Request maintainership
- Reformat pkg-descr

Changes:	http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.10-patch1-RELEASE.txt
		http://www.hdfgroup.org/HDF5/doc/ADGuide/Changes.html

Port maintainer (koziol@hdfgroup.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:

--- hdf5-1.8.10.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 313818)
+++ Makefile	(working copy)
@@ -1,22 +1,20 @@
-# New ports collection makefile for:	hdf5-18
-# Date created:			Nov 20, 2008
-# Whom:				Wen Heping <wenheping@gmail.com>
-#
+# Created by: Wen Heping <wenheping@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	hdf5
-PORTVERSION=	1.8.9
+PORTVERSION=	1.8.10
 CATEGORIES=	science archivers graphics
 MASTER_SITES=	http://www.hdfgroup.org/ftp/HDF5/current/src/ \
 		ftp://ftp.hdfgroup.org/HDF5/current/src/ \
 		http://www.hdfgroup.org/ftp/HDF5/releases/${PORTNAME}-${PORTVERSION}/src/ \
 		ftp://ftp.hdfgroup.org/HDF5/releases/${PORTNAME}-${PORTVERSION}/src/
-#DISTNAME=	${PORTNAME}-${PORTVERSION}-patch1
+DISTNAME=	${PORTNAME}-${PORTVERSION}-patch1
 
-MAINTAINER=	koziol@hdfgroup.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Hierarchical Data Format library (from NCSA)
 
+OPTIONS_DEFINE=	DEBUG EXAMPLES FORTRAN SZIP
+
 CONFLICTS=	hdf-4.* hdf5-1.6.*
 NO_LATEST_LINK=	yes
 
@@ -29,30 +27,28 @@
 		--with-pthread=/usr \
 		--with-zlib=/usr
 
-OPTIONS=	DEBUG	"Debug"			off \
-		FORTRAN	"Fortran support"	off \
-		SZIP	"SZIP support"		off
+.include <bsd.port.options.mk>
 
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+=	--enable-debug=all --disable-production
+.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+=--disable-production --enable-debug=all
 .endif
 
-.if defined(WITH_FORTRAN)
+.if ${PORT_OPTIONS:MFORTRAN}
 USE_FORTRAN=	yes
+CONFIGURE_ARGS+=--enable-fortran
 CONFIGURE_ENV+=	F9X=${FC}
-CONFIGURE_ARGS+=--enable-fortran
 PLIST_SUB+=	FORTRAN=""
 .else
 PLIST_SUB+=	FORTRAN="@comment "
 .endif
 
-.if defined(WITH_SZIP)
+.if ${PORT_OPTIONS:MSZIP}
 LIB_DEPENDS+=	sz:${PORTSDIR}/science/szip
 CONFIGURE_ARGS+=--with-szlib=${LOCALBASE}
 .endif
 
+.include <bsd.port.pre.mk>
+
 .if ${ARCH} == "sparc64"
 BROKEN=		Does not compile on ${ARCH}
 .endif
@@ -66,11 +62,11 @@
 		-e 's|(INSTALL)|(INSTALL_DATA)|' \
 			`${FIND} ${WRKSRC} -regex '.*/examples/Makefile.in'`
 	@${REINPLACE_CMD} -e 's|\[ -a|\[ -f|g' `${FIND} ${WRKSRC} -name \*.sh\*`
-.if defined(NOPORTEXAMPLES)
+.if empty(PORT_OPTIONS:MEXAMPLES)
 	@${REINPLACE_CMD} -e '/^install:/ s|install-examples||' ${WRKSRC}/Makefile.in
 .endif
 
-regression-test: build
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
+regression-test test: build
+	cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check
 
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 313818)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (hdf5-1.8.9.tar.bz2) = fafe54856b00f0d6531629f66e2c476ab6ee03458803088f270bbfc4a60966c7
-SIZE (hdf5-1.8.9.tar.bz2) = 6006715
+SHA256 (hdf5-1.8.10-patch1.tar.bz2) = 292afb3615ad9e68f4d5d18ebb11e4a73f2aece39f2da3875a457ff1e109fc41
+SIZE (hdf5-1.8.10-patch1.tar.bz2) = 6010792
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 313818)
+++ pkg-descr	(working copy)
@@ -1,17 +1,16 @@
-HDF5 is a completely new Hierarchical Data Format product consisting of a
-data format specification and a supporting library implementation. HDF5 is
-designed to address some of the limitations of the older HDF product and to
-address current and anticipated requirements of modern systems and
-applications.
+HDF5 is a completely new Hierarchical Data Format product consisting of a data
+format specification and a supporting library implementation. HDF5 is designed
+to address some of the limitations of the older HDF product and to address
+current and anticipated requirements of modern systems and applications.
 
-HDF5 includes the following improvements.
-   - A new file format designed to address some of the deficiencies of HDF4.x,
-     particularly the need to store larger files and more objects per file.
-   - A simpler, more comprehensive data model that includes only two basic
-     structures: a multidimensional array of record structures, and a grouping
-     structure.
-   - A simpler, better-engineered library and API, with improved support for
-     parallel I/O, threads, and other requirements imposed by modern systems
-     and applications.
+HDF5 includes the following improvements:
+- A new file format designed to address some of the deficiencies of HDF4.x,
+  particularly the need to store larger files and more objects per file.
+- A simpler, more comprehensive data model that includes only two basic
+  structures: a multidimensional array of record structures, and a grouping
+  structure.
+- A simpler, better-engineered library and API, with improved support for
+  parallel I/O, threads, and other requirements imposed by modern systems
+  and applications.
 
 WWW: http://www.hdfgroup.org/HDF5/
--- hdf5-1.8.10.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130310091221.CC10B504>