# -*- 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 # $Id$ PortSystem 1.0 PortGroup compilers 1.0 name silo version 4.10.2 revision 4 categories science platforms darwin license BSD maintainers nomaintainer description mesh and field I/O library and scientific database long_description ${description}. Select a Fortran compiler variant to enable Fortran support. homepage https://wci.llnl.gov/simulation/computer-codes/silo/ depends_lib port:zlib master_sites https://wci.llnl.gov/content/assets/docs/simulation/computer-codes/silo/silo-${version}/ distname ${name}-${version}-bsd checksums rmd160 f15098dfc58f86146bf87fc651bd6580aca71178 \ sha256 4b901dfc1eb4656e83419a6fde15a2f6c6a31df84edfad7f1dc296e01b20140e compilers.choose fc f77 f90 compilers.setup configure.ccache no configure.args --enable-optimization \ --disable-fortran \ --with-zlib \ --enable-install-lite-headers \ --enable-shared \ --enable-browser=no \ --enable-silex=no use_parallel_build yes test.run yes test.target check default_variants-append +hdf5 variant hdf5 description {Enable HDF5 support (recommended)} { depends_lib-append port:hdf5 configure.args-append --with-hdf5=${prefix} # note: this does not work if hdf5 is installed with an MPI variant } # If using a macports-installed GCC, which includes a compatible fortran # compiler, compile fortran bindings if {[fortran_variant_isset]} { configure.args-replace --disable-fortran --enable-fortran } livecheck.type regex livecheck.url ${homepage}downloads livecheck.regex ${name}-(\[0-9.\]+)-bsd