Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2024 19:53:59 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ffca62c76019 - main - science/hdf5-110: Update to 1.10.11
Message-ID:  <202406181953.45IJrx6U094672@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit ffca62c76019b4eb4f65f9d0c5b7a6e8d331cce5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-18 19:52:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-18 19:52:57 +0000

    science/hdf5-110: Update to 1.10.11
    
    - Simplify Makefile
    - Fix PLIST: fix conditional entries
    
    PR:             279183
    Changes:        https://github.com/HDFGroup/hdf5/releases
                    https://www.hdfgroup.org/tag/hdf5-release/
                    https://www.hdfgroup.org/2023/09/release-of-hdf5-1-10-11-library-and-tools-newsletter-198/
---
 science/hdf5-110/Makefile  | 22 +++++++++---------
 science/hdf5-110/distinfo  |  6 ++---
 science/hdf5-110/pkg-plist | 57 +++++++++++++++++++++++-----------------------
 3 files changed, 43 insertions(+), 42 deletions(-)

diff --git a/science/hdf5-110/Makefile b/science/hdf5-110/Makefile
index 3fa2fec7d3f8..cd76ce9f2de3 100644
--- a/science/hdf5-110/Makefile
+++ b/science/hdf5-110/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	hdf5
-PORTVERSION=	1.10.10
+PORTVERSION=	1.10.11
 CATEGORIES=	science archivers graphics
 MASTER_SITES=	https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${PORTVERSION:R}/${DISTNAME}/src/ \
 		LOCAL/sunpoet
@@ -38,10 +38,10 @@ PORTSCOUT=	limit:^1\.10\.
 OPTIONS_DEFINE=	DEBUG EXAMPLES FORTRAN SZIP
 OPTIONS_RADIO=	SUPPORT
 OPTIONS_RADIO_SUPPORT=	CXX PARALLEL
-OPTIONS_DEFAULT=CXX SZIP
-OPTIONS_DEFAULT+=FORTRAN
+OPTIONS_DEFAULT=CXX FORTRAN SZIP
 OPTIONS_SUB=	yes
 PARALLEL_DESC=	Parallel support
+PARALLEL_IMPLIES=	FORTRAN
 
 CXX_CONFIGURE_ENABLE=	cxx
 DEBUG_CONFIGURE_OFF=	--enable-build-mode=production
@@ -49,9 +49,11 @@ DEBUG_CONFIGURE_ON=	--enable-build-mode=debug
 FORTRAN_CONFIGURE_ENABLE=	fortran
 FORTRAN_CONFIGURE_ENV=	F9X=${FC}
 FORTRAN_USES=		fortran
+PARALLEL_CFLAGS=	${MPI_CFLAGS}
 PARALLEL_CONFIGURE_ENABLE=	parallel
-PARALLEL_LDFLAGS=	-L${LOCALBASE}/lib -lmpi
-PARALLEL_LIB_DEPENDS=	libmpi.so:net/mpich
+PARALLEL_LDFLAGS=	${MPI_LIBS}
+PARALLEL_USES=		mpi pkgconfig
+PARALLEL_VARS=		FCFLAGS+=-I${LOCALBASE}/include
 SZIP_CONFIGURE_ON=	--with-szlib=${LOCALBASE}
 SZIP_LIB_DEPENDS=	libsz.so:science/libaec
 
@@ -69,12 +71,10 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|libhdf5|libhdf5${PKGNAMESUFFIX}|g' ${WRKSRC}/test/test_libinfo.sh.in
 
 post-install:
+	-${MV} ${STAGEDIR}${PREFIX}/bin/h5cc ${STAGEDIR}${PREFIX}/bin/h5cc${PKGNAMESUFFIX}
+	-${MV} ${STAGEDIR}${PREFIX}/bin/h5fc ${STAGEDIR}${PREFIX}/bin/h5fc${PKGNAMESUFFIX}
+	-${MV} ${STAGEDIR}${PREFIX}/bin/h5pcc ${STAGEDIR}${PREFIX}/bin/h5pcc${PKGNAMESUFFIX}
+	-${MV} ${STAGEDIR}${PREFIX}/bin/h5pfc ${STAGEDIR}${PREFIX}/bin/h5pfc${PKGNAMESUFFIX}
 	${MV} ${STAGEDIR}${PREFIX}/lib/libhdf5.settings	${STAGEDIR}${PREFIX}/lib/libhdf5${PKGNAMESUFFIX}.settings
 
-post-install-CXX-on:
-	${MV} ${STAGEDIR}${PREFIX}/bin/h5cc ${STAGEDIR}${PREFIX}/bin/h5cc${PKGNAMESUFFIX}
-
-post-install-FORTRAN-on:
-	${MV} ${STAGEDIR}${PREFIX}/bin/h5fc ${STAGEDIR}${PREFIX}/bin/h5fc${PKGNAMESUFFIX}
-
 .include <bsd.port.mk>
diff --git a/science/hdf5-110/distinfo b/science/hdf5-110/distinfo
index da038237e01f..26642a221e15 100644
--- a/science/hdf5-110/distinfo
+++ b/science/hdf5-110/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1683227587
-SHA256 (hdf5-1.10.10.tar.bz2) = 56bbf9577aea4f07d7ac400b59f169ab23e5887c306a63dd5cf18b49f521d28c
-SIZE (hdf5-1.10.10.tar.bz2) = 15231191
+TIMESTAMP = 1718736638
+SHA256 (hdf5-1.10.11.tar.bz2) = 0afc77da5c46217709475bbefbca91c0cb6f1ea628ccd8c36196cf6c5a4de304
+SIZE (hdf5-1.10.11.tar.bz2) = 15286914
diff --git a/science/hdf5-110/pkg-plist b/science/hdf5-110/pkg-plist
index faa7a318f5c1..d7f90333d0da 100644
--- a/science/hdf5-110/pkg-plist
+++ b/science/hdf5-110/pkg-plist
@@ -1,11 +1,11 @@
 %%CXX%%bin/h5c++-110
-%%CXX%%bin/h5cc-110
+%%NO_CXX%%%%NO_PARALLEL%%bin/h5cc-110
 bin/h5clear-110
 bin/h5copy-110
 bin/h5debug-110
 bin/h5diff-110
 bin/h5dump-110
-%%FORTRAN%%%%NO_PARALLEL%%bin/h5fc-110
+%%CXX%%%%FORTRAN%%bin/h5fc-110
 bin/h5format_convert-110
 bin/h5import-110
 bin/h5jam-110
@@ -13,6 +13,7 @@ bin/h5ls-110
 bin/h5mkgrp-110
 %%PARALLEL%%bin/h5pcc-110
 %%PARALLEL%%bin/h5perf-110
+%%PARALLEL%%bin/h5pfc-110
 %%NO_PARALLEL%%bin/h5perf_serial-110
 bin/h5redeploy-110
 bin/h5repack-110
@@ -136,47 +137,47 @@ lib/libhdf5-110.a
 lib/libhdf5-110.settings
 lib/libhdf5-110.so
 lib/libhdf5-110.so.103
-lib/libhdf5-110.so.103.4.0
+lib/libhdf5-110.so.103.4.1
 %%CXX%%lib/libhdf5-110_cpp.a
 %%CXX%%lib/libhdf5-110_cpp.so
 %%CXX%%lib/libhdf5-110_cpp.so.103
-%%CXX%%lib/libhdf5-110_cpp.so.103.4.2
+%%CXX%%lib/libhdf5-110_cpp.so.103.4.3
 %%FORTRAN%%lib/libhdf5-110_fortran.a
 %%FORTRAN%%lib/libhdf5-110_fortran.so
 %%FORTRAN%%lib/libhdf5-110_fortran.so.102
-%%FORTRAN%%lib/libhdf5-110_fortran.so.102.1.3
+%%FORTRAN%%lib/libhdf5-110_fortran.so.102.1.4
 lib/libhdf5-110_hl.a
 lib/libhdf5-110_hl.so
 lib/libhdf5-110_hl.so.100
-lib/libhdf5-110_hl.so.100.1.7
+lib/libhdf5-110_hl.so.100.1.8
 %%CXX%%lib/libhdf5-110_hl_cpp.a
 %%CXX%%lib/libhdf5-110_hl_cpp.so
 %%CXX%%lib/libhdf5-110_hl_cpp.so.100
-%%CXX%%lib/libhdf5-110_hl_cpp.so.100.1.8
+%%CXX%%lib/libhdf5-110_hl_cpp.so.100.1.9
 %%FORTRAN%%lib/libhdf5-110_hl_fortran.a
 %%FORTRAN%%lib/libhdf5-110_hl_fortran.so
 %%FORTRAN%%lib/libhdf5-110hl_fortran.a
 %%FORTRAN%%lib/libhdf5-110hl_fortran.so
 %%FORTRAN%%lib/libhdf5-110hl_fortran.so.100
-%%FORTRAN%%lib/libhdf5-110hl_fortran.so.100.0.9
+%%FORTRAN%%lib/libhdf5-110hl_fortran.so.100.0.10
 %%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
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/chunks.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/compound.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/create.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/extend_ds.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5group.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_cmprss.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_crtatt.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_crtdat.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_crtgrp.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_crtgrpar.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_crtgrpd.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_extend.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_rdwt.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5tutr_subset.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/readdata.cpp
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/run-c++-ex.sh
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/writedata.cpp
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_attribute.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_chunk_read.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_cmprss.c
@@ -189,8 +190,8 @@ lib/libhdf5-110_hl.so.100.1.7
 %%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_extend.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_extlink.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_group.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_mount.c
@@ -235,8 +236,8 @@ lib/libhdf5-110_hl.so.100.1.7
 %%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
+%%CXX%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hl/c++/ptExampleFL.cpp
+%%CXX%%%%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



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