Ticket #29325: Portfile

File Portfile, 1.3 KB (added by sethjohnson@…, 13 years ago)

portfile for science/silo

Line 
1# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Seth Johnson $
3
4PortSystem          1.0
5PortGroup           muniversal 1.0
6
7set realname        silo
8name                silo
9version             4.8
10revision            0
11categories          science
12maintainers         openmaintainer
13
14description         mesh and field I/O library and scientific database
15long_description    ${description}
16homepage            https://wci.llnl.gov/codes/silo/index.html
17platforms           darwin
18master_sites        https://wci.llnl.gov/codes/silo/silo-${version}/
19checksums           md5     03e27c977f34dc6e9a5f3864153c24fe \
20                    sha1    8850c82e66d1d00f80041594e6f9b15f8efdfd4d \
21                    rmd160  c5a9d278ce71808a421e1b1f10d18c83b51d98fd
22distname            ${realname}-${version}-bsd
23depends_lib         port:zlib
24use_parallel_build  yes
25default_variants    +hdf5
26
27configure.args      --with-zlib=yes --enable-optimization --disable-fortran \
28                    --with-qt=no
29
30#test.run            yes
31#test.target         check
32
33# Enable HDF5 support (recommended)
34variant hdf5 description {Enable HDF5} {
35    depends_lib-append          port:hdf5-18
36    configure.args-append       --with-hdf5=${prefix}
37}
38