Index: head/science/hdf5-18/Makefile =================================================================== --- head/science/hdf5-18/Makefile (revision 469322) +++ head/science/hdf5-18/Makefile (revision 469323) @@ -1,91 +1,92 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= hdf5 PORTVERSION= 1.8.20 # When PORTVERSION changes, please update french/med/files/patch-configure +PORTREVISION= 1 CATEGORIES= science archivers graphics MASTER_SITES= https://support.hdfgroup.org/ftp/HDF5/current18/src/ \ http://support.hdfgroup.org/ftp/HDF5/current18/src/ \ ftp://ftp.hdfgroup.org/HDF5/current18/src/ PKGNAMESUFFIX= -18 MAINTAINER= thierry@FreeBSD.org COMMENT= Hierarchical Data Format library (from NCSA) 1.8 LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= DEBUG EXAMPLES FORTRAN SZIP USES= libtool:keepla localbase tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes PORTSUFF= ${PORTNAME}${PKGNAMESUFFIX} CONFIGURE_ARGS= --enable-cxx \ --enable-instrument \ --enable-strict-format-checks \ --with-pthread=/usr \ --with-zlib=/usr \ --program-suffix=${PKGNAMESUFFIX} \ --includedir=${PREFIX}/include/${PORTSUFF} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTSUFF} SUFF2FIX= tools/misc/h5cc.in tools/misc/h5redeploy.in \ c++/src/h5c++.in fortran/src/h5fc.in .include .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--disable-production --enable-debug=all .endif .if ${PORT_OPTIONS:MFORTRAN} USES+= fortran CONFIGURE_ARGS+=--enable-fortran CONFIGURE_ENV+= F9X=${FC} PLIST_SUB+= FORTRAN="" FCFLAGS_f90= ${FCFLAGS} LIBS+= -lstdc++ .else PLIST_SUB+= FORTRAN="@comment " .endif .if ${PORT_OPTIONS:MSZIP} LIB_DEPENDS+= libsz.so:science/szip CONFIGURE_ARGS+=--with-szlib=${LOCALBASE} .endif pre-configure: ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${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\*` .if !${PORT_OPTIONS:MEXAMPLES} ${REINPLACE_CMD} -e '/^install:/ s|install-examples||' ${WRKSRC}/Makefile.in .endif ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|libhdf5|libhdf5${PKGNAMESUFFIX}|g' ${REINPLACE_CMD} -e 's|libhdf5|libhdf5${PKGNAMESUFFIX}|g' \ ${WRKSRC}/test/testlibinfo.sh.in .for pf in ${SUFF2FIX} ${REINPLACE_CMD} -e 's|%%SUFF%%|${PKGNAMESUFFIX}|g' ${WRKSRC}/${pf} .endfor post-configure: ${CP} -p ${WRKSRC}/src/libhdf5.settings.in \ ${WRKSRC}/src/libhdf5${PKGNAMESUFFIX}.settings.in ${CP} -p ${WRKSRC}/src/libhdf5.settings \ ${WRKSRC}/src/libhdf5${PKGNAMESUFFIX}.settings post-stage: .if ${PORT_OPTIONS:MFORTRAN} ${MV} ${STAGEDIR}${PREFIX}/bin/h5fc ${STAGEDIR}${PREFIX}/bin/h5fc${PKGNAMESUFFIX} .endif regression-test test: build cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check .include Index: head/science/hdf5-18/pkg-plist =================================================================== --- head/science/hdf5-18/pkg-plist (revision 469322) +++ head/science/hdf5-18/pkg-plist (revision 469323) @@ -1,252 +1,252 @@ bin/gif2h5-18 bin/h52gif-18 bin/h5c++-18 bin/h5cc-18 bin/h5copy-18 bin/h5debug-18 bin/h5diff-18 bin/h5dump-18 %%FORTRAN%%bin/h5fc-18 bin/h5import-18 bin/h5jam-18 bin/h5ls-18 bin/h5mkgrp-18 bin/h5perf_serial-18 bin/h5redeploy-18 bin/h5repack-18 bin/h5repart-18 bin/h5stat-18 bin/h5unjam-18 include/hdf5-18/H5AbstractDs.h include/hdf5-18/H5ACpublic.h include/hdf5-18/H5api_adpt.h include/hdf5-18/H5Apublic.h include/hdf5-18/H5ArrayType.h include/hdf5-18/H5AtomType.h include/hdf5-18/H5Attribute.h include/hdf5-18/H5Classes.h include/hdf5-18/H5CommonFG.h include/hdf5-18/H5CompType.h include/hdf5-18/H5Cpp.h include/hdf5-18/H5CppDoc.h include/hdf5-18/H5Cpublic.h include/hdf5-18/H5DataSet.h include/hdf5-18/H5DataSpace.h include/hdf5-18/H5DataType.h include/hdf5-18/H5DcreatProp.h include/hdf5-18/H5DOpublic.h include/hdf5-18/H5Dpublic.h include/hdf5-18/H5DSpublic.h include/hdf5-18/H5DxferProp.h include/hdf5-18/H5EnumType.h include/hdf5-18/H5Epubgen.h include/hdf5-18/H5Epublic.h include/hdf5-18/H5Exception.h include/hdf5-18/H5FaccProp.h include/hdf5-18/H5FcreatProp.h include/hdf5-18/H5FDcore.h include/hdf5-18/H5FDdirect.h include/hdf5-18/H5FDfamily.h include/hdf5-18/H5FDlog.h include/hdf5-18/H5FDmpi.h include/hdf5-18/H5FDmpio.h include/hdf5-18/H5FDmulti.h include/hdf5-18/H5FDpublic.h include/hdf5-18/H5FDsec2.h include/hdf5-18/H5FDstdio.h include/hdf5-18/H5File.h include/hdf5-18/H5FloatType.h include/hdf5-18/H5Fpublic.h include/hdf5-18/H5Gpublic.h include/hdf5-18/H5Group.h include/hdf5-18/H5IdComponent.h include/hdf5-18/H5IMpublic.h include/hdf5-18/H5Include.h include/hdf5-18/H5IntType.h include/hdf5-18/H5Ipublic.h -%%FORTRAN%%include/hdf5-18/H5LaccProp.h +include/hdf5-18/H5LaccProp.h include/hdf5-18/H5Library.h include/hdf5-18/H5Location.h include/hdf5-18/H5Lpublic.h include/hdf5-18/H5LTpublic.h include/hdf5-18/H5MMpublic.h include/hdf5-18/H5Object.h include/hdf5-18/H5OcreatProp.h include/hdf5-18/H5Opublic.h include/hdf5-18/H5PacketTable.h include/hdf5-18/H5PLextern.h include/hdf5-18/H5PLpublic.h include/hdf5-18/H5Ppublic.h include/hdf5-18/H5PredType.h include/hdf5-18/H5PropList.h include/hdf5-18/H5PTpublic.h include/hdf5-18/H5Rpublic.h include/hdf5-18/H5Spublic.h include/hdf5-18/H5StrType.h include/hdf5-18/H5TBpublic.h include/hdf5-18/H5Tpublic.h include/hdf5-18/H5VarLenType.h include/hdf5-18/H5Zpublic.h %%FORTRAN%%include/hdf5-18/H5f90i.h %%FORTRAN%%include/hdf5-18/H5f90i_gen.h include/hdf5-18/H5overflow.h include/hdf5-18/H5pubconf.h include/hdf5-18/H5public.h include/hdf5-18/H5version.h %%FORTRAN%%include/hdf5-18/h5_dble_interface.mod %%FORTRAN%%include/hdf5-18/h5a.mod %%FORTRAN%%include/hdf5-18/h5a_provisional.mod %%FORTRAN%%include/hdf5-18/h5d.mod %%FORTRAN%%include/hdf5-18/h5d_provisional.mod %%FORTRAN%%include/hdf5-18/h5ds.mod %%FORTRAN%%include/hdf5-18/h5e.mod %%FORTRAN%%include/hdf5-18/h5e_provisional.mod %%FORTRAN%%include/hdf5-18/h5f.mod %%FORTRAN%%include/hdf5-18/h5f_provisional.mod %%FORTRAN%%include/hdf5-18/h5fortran_types.mod %%FORTRAN%%include/hdf5-18/h5g.mod %%FORTRAN%%include/hdf5-18/h5global.mod %%FORTRAN%%include/hdf5-18/h5i.mod %%FORTRAN%%include/hdf5-18/h5im.mod %%FORTRAN%%include/hdf5-18/h5l.mod %%FORTRAN%%include/hdf5-18/h5l_provisional.mod %%FORTRAN%%include/hdf5-18/h5lib.mod %%FORTRAN%%include/hdf5-18/h5lib_provisional.mod %%FORTRAN%%include/hdf5-18/h5lt.mod %%FORTRAN%%include/hdf5-18/h5o.mod %%FORTRAN%%include/hdf5-18/h5o_provisional.mod %%FORTRAN%%include/hdf5-18/h5p.mod %%FORTRAN%%include/hdf5-18/h5p_provisional.mod %%FORTRAN%%include/hdf5-18/h5r.mod %%FORTRAN%%include/hdf5-18/h5r_provisional.mod %%FORTRAN%%include/hdf5-18/h5s.mod %%FORTRAN%%include/hdf5-18/h5t.mod %%FORTRAN%%include/hdf5-18/h5t_provisional.mod %%FORTRAN%%include/hdf5-18/h5tb.mod %%FORTRAN%%include/hdf5-18/h5test_kind_storage_size_mod.mod %%FORTRAN%%include/hdf5-18/h5z.mod include/hdf5-18/hdf5.h %%FORTRAN%%include/hdf5-18/hdf5.mod include/hdf5-18/hdf5_hl.h lib/libhdf5-18.a lib/libhdf5-18.la lib/libhdf5-18.settings lib/libhdf5-18.so lib/libhdf5-18.so.10 lib/libhdf5-18.so.10.3.1 lib/libhdf5-18_cpp.a lib/libhdf5-18_cpp.la lib/libhdf5-18_cpp.so lib/libhdf5-18_cpp.so.15 lib/libhdf5-18_cpp.so.15.0.0 %%FORTRAN%%lib/libhdf5-18_fortran.a %%FORTRAN%%lib/libhdf5-18_fortran.la %%FORTRAN%%lib/libhdf5-18_fortran.so %%FORTRAN%%lib/libhdf5-18_fortran.so.10 %%FORTRAN%%lib/libhdf5-18_fortran.so.10.0.5 lib/libhdf5-18_hl.a lib/libhdf5-18_hl.la lib/libhdf5-18_hl.so lib/libhdf5-18_hl.so.10 lib/libhdf5-18_hl.so.10.2.1 lib/libhdf5-18_hl_cpp.a lib/libhdf5-18_hl_cpp.la lib/libhdf5-18_hl_cpp.so lib/libhdf5-18_hl_cpp.so.11 lib/libhdf5-18_hl_cpp.so.11.1.1 %%FORTRAN%%lib/libhdf5-18hl_fortran.a %%FORTRAN%%lib/libhdf5-18hl_fortran.la %%FORTRAN%%lib/libhdf5-18hl_fortran.so %%FORTRAN%%lib/libhdf5-18hl_fortran.so.10 %%FORTRAN%%lib/libhdf5-18hl_fortran.so.10.0.4 %%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_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_write.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ph5example.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/run-c-ex.sh %%FORTRAN%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/compound.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/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/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