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
RevLine 
[61054]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
[144813]7version                 1.5.3
[145242]8
9# handle stealth update. Remove or comment out with nex version update.
[147518]10revision                3
[145242]11dist_subdir             ${name}/${version}_${revision}
12
[61054]13set branch              [join [lrange [split ${version} .] 0 1] .]
14maintainers             nomaintainer
[83385]15license                 LGPL-2.1
[61054]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
[145242]28checksums               rmd160  ae6ba83ad7ec30aec7a919f766abcd821457a602 \
29                        sha256  85ba46e192331473dc4d8a9d266679f8f81e60c06debdc4b6f9d7906bad46257
[61054]30
[123274]31depends_lib             path:lib/libhdf5.dylib:hdf5 \
[121557]32                        port:zlib
[61054]33
[144813]34use_autoreconf          yes
35
[61054]36configure.args          --enable-shared
37
[147518]38configure.cflags        -DH5_USE_18_API
39
[144813]40pre-destroot {
41    system "cd ${worksrcpath}/config && chmod a+x install-sh"
42}
43
[61054]44post-destroot {
45    set docdir ${destroot}${prefix}/share/doc/${name}
46    xinstall -d ${docdir}
47    xinstall -m 644 -W ${worksrcpath} \
48        COPYING \
49        NEWS \
[144813]50        README.md \
[61054]51        ${docdir}
52}
[144813]53
54test.run                yes
55test.target             check
Note: See TracBrowser for help on using the repository browser.