1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

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/
This commit is contained in:
Po-Chuan Hsieh 2024-06-19 03:52:57 +08:00
parent 14006a94c7
commit ffca62c760
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 43 additions and 42 deletions

View File

@ -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>

View File

@ -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

View File

@ -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