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

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

matio: Fix build with HDF5 1.10. (#51074)

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