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 108663 2013-07-30 03:28:46Z mmoll@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name silo |
---|
7 | version 4.9.1 |
---|
8 | revision 0 |
---|
9 | categories science |
---|
10 | platforms darwin |
---|
11 | maintainers nomaintainer |
---|
12 | license BSD |
---|
13 | |
---|
14 | description mesh and field I/O library and scientific database |
---|
15 | |
---|
16 | long_description ${description} |
---|
17 | |
---|
18 | homepage https://wci.llnl.gov/codes/silo/ |
---|
19 | master_sites ${homepage}silo-${version}/ |
---|
20 | |
---|
21 | checksums sha1 f97b62dd8b2e1f0266ab2ba2924ecaa68303d28c \ |
---|
22 | rmd160 4228345a7fb2994c7e331c098712aaaafe0f2782 |
---|
23 | |
---|
24 | distname ${name}-${version}-bsd |
---|
25 | |
---|
26 | depends_lib port:zlib |
---|
27 | |
---|
28 | use_parallel_build yes |
---|
29 | |
---|
30 | # Makefile:152: *** missing separator. Stop. |
---|
31 | configure.ccache no |
---|
32 | |
---|
33 | default_variants +hdf5 |
---|
34 | |
---|
35 | configure.args --enable-optimization \ |
---|
36 | --disable-fortran \ |
---|
37 | --with-zlib \ |
---|
38 | --enable-browser=no \ |
---|
39 | --enable-silex=no |
---|
40 | |
---|
41 | test.run yes |
---|
42 | test.target check |
---|
43 | |
---|
44 | variant hdf5 description {Enable HDF5 support (recommended)} { |
---|
45 | depends_lib-append port:hdf5-18 |
---|
46 | configure.args-append --with-hdf5=${prefix} |
---|
47 | } |
---|
48 | |
---|
49 | variant lite_headers description {Install SCORE/PDB lite header files} { |
---|
50 | configure.args-append --enable-install-lite-headers |
---|
51 | } |
---|
52 | |
---|
53 | variant shared description {Build shared libraries} { |
---|
54 | configure.args-append --enable-shared |
---|
55 | } |
---|
56 | |
---|
57 | variant gcc44 description { |
---|
58 | Build with MacPorts gcc44 compiler. |
---|
59 | } conflicts gcc45 gcc46 gcc47 { |
---|
60 | depends_lib-append port:gcc44 |
---|
61 | configure.compiler macports-gcc-4.4 |
---|
62 | } |
---|
63 | |
---|
64 | variant gcc45 description { |
---|
65 | Build with MacPorts gcc45 compiler. |
---|
66 | } conflicts gcc44 gcc46 gcc47 { |
---|
67 | depends_lib-append port:gcc45 |
---|
68 | configure.compiler macports-gcc-4.5 |
---|
69 | } |
---|
70 | |
---|
71 | variant gcc46 description { |
---|
72 | Build with MacPorts gcc46 compiler. |
---|
73 | } conflicts gcc44 gcc45 gcc47 { |
---|
74 | depends_lib-append port:gcc46 |
---|
75 | configure.compiler macports-gcc-4.6 |
---|
76 | } |
---|
77 | |
---|
78 | variant gcc47 description { |
---|
79 | Build with MacPorts gcc47 compiler. |
---|
80 | } conflicts gcc44 gcc45 gcc46 { |
---|
81 | depends_lib-append port:gcc47 |
---|
82 | configure.compiler macports-gcc-4.7 |
---|
83 | } |
---|
84 | |
---|
85 | livecheck.type regex |
---|
86 | livecheck.url ${homepage}downloads.html |
---|
87 | livecheck.regex ${name}-(\[0-9.\]+)-bsd |
---|