# -*- 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$ PortSystem 1.0 name matio version 1.5.8 set branch [join [lrange [split ${version} .] 0 1] .] maintainers mps openmaintainer license LGPL-2.1 categories math platforms darwin 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 514a6962536e20f606856f99a31896dcea19f833 \ sha256 6e49353d1d9d5127696f2e67b46cf9a1dc639663283c9bc4ce5280489c03e1f0 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.md \ ${docdir} } test.run yes test.target check