Ticket #53118: nccmp.Portfile

File nccmp.Portfile, 1.3 KB (added by mojca (Mojca Miklavec), 7 years ago)
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
3PortSystem          1.0
4#PortGroup          cmake 1.1
5
6name                nccmp
7version             1.8.2.0
8categories          science
9maintainers         nomaintainer
10platforms           darwin
11license             GPL-2
12description         Tool for comparing NetCDF files
13long_description    nccmp compares two NetCDF files bitwise, semantically or \
14                    with a user defined tolerance. Highly recommended for regression testing \
15                    scientific models or datasets in a test-driven development environment.
16
17homepage            http://nccmp.sourceforge.net/
18master_sites        sourceforge
19
20checksums           rmd160  1e8ffc38abc785996679aaaa61a76ec2037c7438 \
21                    sha256  7f5dad4e8670568a71f79d2bcebb08d95b875506d3d5faefafe1a8b3afa14f18
22
23depends_lib         port:netcdf
24
25## TODO:
26## - https://raw.githubusercontent.com/Unidata/netcdf-c/master/include/nc.h
27# post-extract {
28#     foreach {f} {nc.h nc3internal.h} {
29#         file copy ${filespath}/${f} ${worksrcpath}/src/
30#     }
31# }
32## configure:
33# configure.args      --with-netcdf=${prefix}
34## CMake:
35# configure.args-append \
36#                     -DNC_H_PATH=${worksrcpath}/src/
37
38test.run            yes
39test.target         check