source: trunk/dports/math/matio/Portfile @ 149535

Last change on this file since 149535 was 149535, checked in by mps@…, 4 years ago

matio: update to version 1.5.7. Assume maintainership.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 149535 2016-06-25 00:32:34Z mps@macports.org $
3
4PortSystem              1.0
5
6name                    matio
7version                 1.5.7
8set branch              [join [lrange [split ${version} .] 0 1] .]
9maintainers             mps openmaintainer
10license                 LGPL-2.1
11categories              math
12platforms               darwin
13
14description             Matio is a library for working with Matlab save files
15
16long_description        Matio is a library for reading and writing Matlab \
17                        save files. It is used by scientific data processing \
18                        programs.
19
20homepage                http://sourceforge.net/projects/matio
21master_sites            sourceforge:project/matio/matio/${version}/
22
23checksums               rmd160  29a7d6a19fc654ecd10bad5562563d1d941f62d0 \
24                        sha256  84b9a17ada1ee08374fb47cc2d0e10a95b8f7f603b58576239f90b8c576fad48
25
26depends_lib             path:lib/libhdf5.dylib:hdf5 \
27                        port:zlib
28
29use_autoreconf          yes
30
31configure.args          --enable-shared
32
33configure.cflags        -DH5_USE_18_API
34
35pre-destroot {
36    system "cd ${worksrcpath}/config && chmod a+x install-sh"
37}
38
39post-destroot {
40    set docdir ${destroot}${prefix}/share/doc/${name}
41    xinstall -d ${docdir}
42    xinstall -m 644 -W ${worksrcpath} \
43        COPYING \
44        NEWS \
45        README.md \
46        ${docdir}
47}
48
49test.run                yes
50test.target             check
Note: See TracBrowser for help on using the repository browser.