source: trunk/dports/science/silo/Portfile

Last change on this file was 147494, checked in by mmoll@…, 18 months 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.9 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 ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           compilers 1.0
6
7name                silo
8version             4.10.2
9revision            4
10categories          science
11platforms           darwin
12license             BSD
13maintainers         nomaintainer
14
15description         mesh and field I/O library and scientific database
16long_description    ${description}. Select a Fortran compiler variant to enable Fortran support.
17homepage            https://wci.llnl.gov/simulation/computer-codes/silo/
18
19depends_lib         port:zlib
20
21master_sites        https://wci.llnl.gov/content/assets/docs/simulation/computer-codes/silo/silo-${version}/
22distname            ${name}-${version}-bsd
23checksums           rmd160  f15098dfc58f86146bf87fc651bd6580aca71178 \
24                    sha256  4b901dfc1eb4656e83419a6fde15a2f6c6a31df84edfad7f1dc296e01b20140e
25
26compilers.choose    fc f77 f90
27compilers.setup
28
29configure.ccache    no
30configure.args      --enable-optimization \
31                    --disable-fortran \
32                    --with-zlib \
33                    --enable-install-lite-headers \
34                    --enable-shared \
35                    --enable-browser=no \
36                    --enable-silex=no
37
38use_parallel_build  yes
39
40test.run            yes
41test.target         check
42
43default_variants-append    +hdf5
44
45variant hdf5 description {Enable HDF5 support (recommended)} {
46    depends_lib-append      port:hdf5
47    configure.args-append   --with-hdf5=${prefix}
48    # note: this does not work if hdf5 is installed with an MPI variant
49}
50
51# If using a macports-installed GCC, which includes a compatible fortran
52# compiler, compile fortran bindings
53if {[fortran_variant_isset]} {
54    configure.args-replace      --disable-fortran --enable-fortran
55}
56
57livecheck.type      regex
58livecheck.url       ${homepage}downloads
59livecheck.regex     ${name}-(\[0-9.\]+)-bsd
Note: See TracBrowser for help on using the repository browser.