# -*- 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 PortSystem 1.0 name matio version 1.5.28 revision 0 set branch [join [lrange [split ${version} .] 0 1] .] maintainers {mps @Schamschula} openmaintainer license LGPL-2.1 categories math description Matio is a library for working with Matlab save files long_description Matio is a library for reading and writing Matlab \ save files. It is used by scientific data processing \ programs. homepage http://sourceforge.net/projects/matio master_sites sourceforge:project/matio/matio/${version}/ checksums rmd160 e7b13bba533e5e67ca4ebd64033b933beac04fd2 \ sha256 9da698934a21569af058e6348564666f45029e6c2b0878ca0d8f9609bf77b8d8 \ size 10128014 depends_lib path:lib/libhdf5.dylib:hdf5 \ port:zlib use_autoreconf yes configure.args --enable-shared configure.cflags -DH5_USE_18_API pre-destroot { system "cd ${worksrcpath}/config && chmod a+x install-sh" } post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ COPYING \ NEWS \ README \ ${docdir} } test.run yes test.target check livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}