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

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

hdf5: update to version 1.10.0, bump revision of ports that depend on hdf5 and need to be rebuilt. closes #51062

  • 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 147494 2016-04-05 20:52:07Z mmoll@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                2
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
38pre-destroot {
39    system "cd ${worksrcpath}/config && chmod a+x install-sh"
40}
41
42post-destroot {
43    set docdir ${destroot}${prefix}/share/doc/${name}
44    xinstall -d ${docdir}
45    xinstall -m 644 -W ${worksrcpath} \
46        COPYING \
47        NEWS \
48        README.md \
49        ${docdir}
50}
51
52test.run                yes
53test.target             check
Note: See TracBrowser for help on using the repository browser.