# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 150946 2016-08-03 13:43:12Z takeshi@macports.org $ PortSystem 1.0 name h4h5tools version 2.2.2 revision 1 categories science # Equivalent to BSD + explicitly requiring modifications to be documented license Permissive platforms darwin maintainers nomaintainer description HDF4 to HDF5 conversion tools. long_description Provides the h4toh5 conversion utility and library. homepage http://www.hdfgroup.org/h4toh5/ master_sites http://www.hdfgroup.org/ftp/HDF5/tools/h4toh5/src/ checksums rmd160 b90bbc544bb670194119366035652ba8b28d3121 \ sha256 2409e7578c5c078b01b8fedb0f362b998aa245d164f2d5c137d002407aef5735 depends_lib-append \ port:hdf4 \ port:hdf5-18 \ port:hdfeos \ port:netcdf configure.args-append \ --with-hdfeos2=${prefix} configure.cppflags \ -I${prefix}/lib/hdf5-18/include \ -I${prefix}/include configure.ldflags \ -L${prefix}/lib/hdf5-18/lib \ -L${prefix}/lib configure.env-append \ LIBS="-ldf -lmfhdf" post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} README.txt COPYING Copyright.html \ ${destroot}${prefix}/share/doc/${name} xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/pdf xinstall -m 644 -W ${worksrcpath}/doc \ H4H5ProgrammersNotes.pdf h4toh5lib_RM.pdf h4toh5lib_UG.pdf \ ${destroot}${prefix}/share/doc/${name}/pdf xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/html xinstall -m 644 -W ${worksrcpath}/doc \ h4toh5lib_RM.html h4toh5lib_UG.html \ ${destroot}${prefix}/share/doc/${name}/html } livecheck.type regex livecheck.url ${homepage} livecheck.regex {Current Release:   ([0-9]+\.[0-9.]+)
}