source: trunk/dports/math/matio/Portfile

Last change on this file was 149858, checked in by mps@…, 17 months ago

matio: update to version 1.5.8.

  • 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 149858 2016-07-04 17:39:05Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    matio
7version                 1.5.8
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  514a6962536e20f606856f99a31896dcea19f833 \
24                        sha256  6e49353d1d9d5127696f2e67b46cf9a1dc639663283c9bc4ce5280489c03e1f0
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.