Po-Chuan Hsieh 2022-06-16 23:09:41 +08:00
parent 3110404349
commit f791baebff
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 134 additions and 27 deletions

View File

@ -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,7 +13,20 @@ COMMENT= Hierarchical Data Format library (from NCSA)
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS_INSTALL= hdf-4.[0-9]* hdf5-1.6.[0-9]*
USES= compiler:c11 cpe libtool localbase tar:bzip2
CONFIGURE_ARGS= --enable-hl \
--enable-instrument \
--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
CONFLICTS_INSTALL= hdf
CPE_VENDOR= hdfgroup
OPTIONS_DEFINE= DEBUG EXAMPLES FORTRAN SZIP
OPTIONS_RADIO= SUPPORT
@ -23,19 +35,6 @@ 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
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
TEST_TARGET= check
USE_LDCONFIG= yes
PORTEXAMPLES= *
CXX_CONFIGURE_ENABLE= cxx
DEBUG_CONFIGURE_OFF= --enable-build-mode=production
DEBUG_CONFIGURE_ON= --enable-build-mode=debug
@ -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\*`

View File

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

View File

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