git: f791baebff9d - main - science/hdf5: Update to 1.10.9

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 16 Jun 2022 15:14:13 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f791baebff9d739e1b9c7d1ab963ecf7406a705d

commit f791baebff9d739e1b9c7d1ab963ecf7406a705d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-16 15:09:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-16 15:13:02 +0000

    science/hdf5: Update to 1.10.9
    
    Changes:        https://portal.hdfgroup.org/display/support/HDF5+1.10.7
                    https://portal.hdfgroup.org/display/support/HDF5+1.10.8
                    https://portal.hdfgroup.org/display/support/HDF5+1.10.9
---
 science/hdf5/Makefile  |  29 ++++++------
 science/hdf5/distinfo  |   6 +--
 science/hdf5/pkg-plist | 122 ++++++++++++++++++++++++++++++++++++++++++++++---
 3 files changed, 132 insertions(+), 25 deletions(-)

diff --git a/science/hdf5/Makefile b/science/hdf5/Makefile
index 8e0133176a16..c19e33a22424 100644
--- a/science/hdf5/Makefile
+++ b/science/hdf5/Makefile
@@ -1,8 +1,7 @@
 # Created by: ijliao
 
 PORTNAME=	hdf5
-PORTVERSION=	1.10.6
-PORTREVISION=	1
+PORTVERSION=	1.10.9
 PORTEPOCH=	1
 CATEGORIES=	science archivers graphics
 MASTER_SITES=	https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${PORTVERSION:R}/${DISTNAME}/src/ \
@@ -14,27 +13,27 @@ COMMENT=	Hierarchical Data Format library (from NCSA)
 LICENSE=	BSD4CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-CONFLICTS_INSTALL=	hdf-4.[0-9]* hdf5-1.6.[0-9]*
-
-OPTIONS_DEFINE=	DEBUG EXAMPLES FORTRAN SZIP
-OPTIONS_RADIO=	SUPPORT
-OPTIONS_RADIO_SUPPORT=	CXX PARALLEL
-OPTIONS_DEFAULT=CXX SZIP
-OPTIONS_SUB=	yes
-PARALLEL_DESC=	Parallel support
-
 USES=		compiler:c11 cpe libtool localbase tar:bzip2
-CPE_VENDOR=	hdfgroup
 CONFIGURE_ARGS=	--enable-hl \
 		--enable-instrument \
-		--enable-strict-format-checks
+		--enable-strict-format-checks \
+		--with-default-api-version=v110
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 MAKE_JOBS_UNSAFE=	yes
 TEST_TARGET=	check
 USE_LDCONFIG=	yes
 
-PORTEXAMPLES=	*
+CONFLICTS_INSTALL=	hdf
+
+CPE_VENDOR=	hdfgroup
+
+OPTIONS_DEFINE=	DEBUG EXAMPLES FORTRAN SZIP
+OPTIONS_RADIO=	SUPPORT
+OPTIONS_RADIO_SUPPORT=	CXX PARALLEL
+OPTIONS_DEFAULT=CXX SZIP
+OPTIONS_SUB=	yes
+PARALLEL_DESC=	Parallel support
 
 CXX_CONFIGURE_ENABLE=	cxx
 DEBUG_CONFIGURE_OFF=	--enable-build-mode=production
@@ -49,10 +48,10 @@ SZIP_CONFIGURE_ON=	--with-szlib=${LOCALBASE}
 SZIP_LIB_DEPENDS=	libsz.so:science/libaec
 
 post-patch:
+	@${REINPLACE_CMD} -e 's|hdf5_examples|examples/hdf5|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/config/gnu-flags
 	@${REINPLACE_CMD} \
 		-e '/LD_LIBRARY_PATH/ s|^|#|' \
-		-e 's|/share/hdf5_examples|/${EXAMPLESDIR_REL}|' \
 		-e 's|(INSTALL)|(INSTALL_DATA)|' \
 			`${FIND} ${WRKSRC} -regex '.*/examples/Makefile.in'`
 	@${REINPLACE_CMD} -e 's|\[ -a|\[ -f|g' `${FIND} ${WRKSRC} -name \*.sh\*`
diff --git a/science/hdf5/distinfo b/science/hdf5/distinfo
index d0018afb889b..8d8f933aa991 100644
--- a/science/hdf5/distinfo
+++ b/science/hdf5/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1577693899
-SHA256 (hdf5-1.10.6.tar.bz2) = 09d6301901685201bb272a73e21c98f2bf7e044765107200b01089104a47c3bd
-SIZE (hdf5-1.10.6.tar.bz2) = 8813699
+TIMESTAMP = 1655148219
+SHA256 (hdf5-1.10.9.tar.bz2) = 00c4be7096f36fdcafa4f974e126c6c1412428e38ebc7b181d907459e781f191
+SIZE (hdf5-1.10.9.tar.bz2) = 10703325
diff --git a/science/hdf5/pkg-plist b/science/hdf5/pkg-plist
index f89773072942..6fbf249db864 100644
--- a/science/hdf5/pkg-plist
+++ b/science/hdf5/pkg-plist
@@ -1,6 +1,6 @@
 bin/gif2h5
-bin/h52gif
 %%CXX%%bin/h5c++
+bin/h52gif
 %%CXX%%bin/h5cc
 bin/h5clear
 bin/h5copy
@@ -53,12 +53,14 @@ include/H5FDdirect.h
 include/H5FDfamily.h
 include/H5FDhdfs.h
 include/H5FDlog.h
+include/H5FDmirror.h
 include/H5FDmpi.h
 include/H5FDmpio.h
 include/H5FDmulti.h
 include/H5FDpublic.h
 include/H5FDros3.h
 include/H5FDsec2.h
+include/H5FDsplitter.h
 include/H5FDstdio.h
 include/H5FDwindows.h
 %%CXX%%include/H5FaccProp.h
@@ -136,26 +138,132 @@ lib/libhdf5.a
 lib/libhdf5.settings
 lib/libhdf5.so
 lib/libhdf5.so.103
-lib/libhdf5.so.103.2.0
+lib/libhdf5.so.103.3.2
 %%CXX%%lib/libhdf5_cpp.a
 %%CXX%%lib/libhdf5_cpp.so
 %%CXX%%lib/libhdf5_cpp.so.103
-%%CXX%%lib/libhdf5_cpp.so.103.2.0
+%%CXX%%lib/libhdf5_cpp.so.103.4.1
 %%FORTRAN%%lib/libhdf5_fortran.a
 %%FORTRAN%%lib/libhdf5_fortran.so
 %%FORTRAN%%lib/libhdf5_fortran.so.102
-%%FORTRAN%%lib/libhdf5_fortran.so.102.0.1
+%%FORTRAN%%lib/libhdf5_fortran.so.102.1.2
 lib/libhdf5_hl.a
 lib/libhdf5_hl.so
 lib/libhdf5_hl.so.100
-lib/libhdf5_hl.so.100.1.3
+lib/libhdf5_hl.so.100.1.6
 %%CXX%%lib/libhdf5_hl_cpp.a
 %%CXX%%lib/libhdf5_hl_cpp.so
 %%CXX%%lib/libhdf5_hl_cpp.so.100
-%%CXX%%lib/libhdf5_hl_cpp.so.100.1.4
+%%CXX%%lib/libhdf5_hl_cpp.so.100.1.7
 %%FORTRAN%%lib/libhdf5_hl_fortran.a
 %%FORTRAN%%lib/libhdf5_hl_fortran.so
 %%FORTRAN%%lib/libhdf5hl_fortran.a
 %%FORTRAN%%lib/libhdf5hl_fortran.so
 %%FORTRAN%%lib/libhdf5hl_fortran.so.100
-%%FORTRAN%%lib/libhdf5hl_fortran.so.100.0.5
+%%FORTRAN%%lib/libhdf5hl_fortran.so.100.0.8
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/chunks.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/compound.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/create.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/extend_ds.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5group.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_cmprss.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_crtatt.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_crtdat.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_crtgrp.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_crtgrpar.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_crtgrpd.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_extend.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_rdwt.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_subset.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/readdata.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/run-c++-ex.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/writedata.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_attribute.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_chunk_read.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_cmprss.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_compound.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_crtatt.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_crtdat.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_crtgrp.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_crtgrpar.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_crtgrpd.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_debug_trace.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_drivers.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_elink_unix2win.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_extend.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_extend_write.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_extlink.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_group.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_mount.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_rdwt.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_read.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_ref2reg.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_reference.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_select.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_shared_mesg.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_subset.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_vds-eiger.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_vds-exc.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_vds-exclim.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_vds-percival-unlim-maxmin.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_vds-percival-unlim.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_vds-percival.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_vds-simpleIO.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_vds.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_write.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ph5_filtered_writes.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ph5_filtered_writes_no_sel.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ph5example.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/run-c-ex.sh
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/compound.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/compound_complex_fortran2003.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/compound_fortran2003.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/h5_cmprss.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/h5_crtatt.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/h5_crtdat.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/h5_crtgrp.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/h5_crtgrpar.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/h5_crtgrpd.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/h5_extend.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/h5_rdwt.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/h5_subset.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/hyperslab.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/mountexample.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/nested_derived_type.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/ph5example.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/refobjexample.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/refregexample.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/run-fortran-ex.sh
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/rwdset_fortran2003.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/selectele.f90
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c++/ptExampleFL.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c++/run-hlc++-ex.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_ds1.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_image1.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_image2.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_lite1.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_lite2.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_lite3.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_01.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_02.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_03.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_04.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_05.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_06.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_07.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_08.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_09.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_10.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_11.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ex_table_12.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/image24pixel.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/image8.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/pal_rgb.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/ptExampleFL.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c/run-hlc-ex.sh
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/fortran/ex_ds1.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/fortran/exlite.f90
+%%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/fortran/run-hlfortran-ex.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/run-hl-ex.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/run-all-ex.sh