Ticket #12253: Portfile

File Portfile, 1.4 KB (added by takeshi@…, 17 years ago)
Line 
1# $Id: Portfile 22905 2007-03-18 16:59:51Z takanori@macports.org $
2
3PortSystem      1.0
4name            libnc-dap
5version         3.7.0
6revision        2
7platforms       darwin
8maintainers     takeshi@mac.com
9categories      science
10description     an alternative implementation of Unidata's netCDF 3.6 API
11master_sites    ftp://ftp.unidata.ucar.edu/pub/opendap/source/ \
12                ftp://ftp.unidata.ucar.edu/pub/opendap/source/old/
13checksums       md5 cb1c518725e1b2bb6078a691a2377eea
14homepage        http://www.opendap.org/
15long_description \
16                The netCDF Client Library is an alternative implementation of   \
17                Unidata's netCDF 3.6 API. Our version adds the capability to    \
18                dereference OPeNDAP URLs. You can substitute our version of     \
19                the library when linking your application and then simply pass  \
20                an OPeNDAP URL in where you would normally use a file name.
21patchfiles      patch-Makefile.in
22depends_lib     port:curl \
23                port:libdap \
24                port:libxml2
25
26if {![variant_isset g95]} {
27    default_variants +gcc42
28}
29
30variant gcc42 conflicts g95 description {Build using gcc42 (default)} {
31    depends_build-append    port:gcc42
32    configure.env-append    FC=${prefix}/bin/gfortran-mp-4.2
33}
34
35variant g95 conflicts gcc42 description {Build using g95} {
36    depends_build-append    port:g95
37    configure.env-append    FC=${prefix}/bin/g95
38}