# -*- 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.29 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 44f69bc85d9eb1dfb7bcb4bdae8f8cb48878a286 \ sha256 d9e5f7a2f2c594eff15f550e34729b01991cdd5a028a558be8ce595b32233afb \ size 10191780 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}