source: trunk/dports/math/matio/Portfile

Last change on this file was 149858, checked in by mps@…, 4 years 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
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 149858 2016-07-04 17:39:05Z mps@macports.org $
3
4PortSystem              1.0
5
6name                    matio
[149858]7version                 1.5.8
[61054]8set branch              [join [lrange [split ${version} .] 0 1] .]
[149535]9maintainers             mps openmaintainer
[83385]10license                 LGPL-2.1
[61054]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
[148790]21master_sites            sourceforge:project/matio/matio/${version}/
[61054]22
[149858]23checksums               rmd160  514a6962536e20f606856f99a31896dcea19f833 \
24                        sha256  6e49353d1d9d5127696f2e67b46cf9a1dc639663283c9bc4ce5280489c03e1f0
[61054]25
[123274]26depends_lib             path:lib/libhdf5.dylib:hdf5 \
[121557]27                        port:zlib
[61054]28
[144813]29use_autoreconf          yes
30
[61054]31configure.args          --enable-shared
32
[147518]33configure.cflags        -DH5_USE_18_API
34
[144813]35pre-destroot {
36    system "cd ${worksrcpath}/config && chmod a+x install-sh"
37}
38
[61054]39post-destroot {
40    set docdir ${destroot}${prefix}/share/doc/${name}
41    xinstall -d ${docdir}
42    xinstall -m 644 -W ${worksrcpath} \
43        COPYING \
44        NEWS \
[144813]45        README.md \
[61054]46        ${docdir}
47}
[144813]48
49test.run                yes
50test.target             check
Note: See TracBrowser for help on using the repository browser.