1 | # $Id: Portfile 22905 2007-03-18 16:59:51Z takanori@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name libnc-dap |
---|
5 | version 3.7.0 |
---|
6 | revision 2 |
---|
7 | platforms darwin |
---|
8 | maintainers takeshi@mac.com |
---|
9 | categories science |
---|
10 | description an alternative implementation of Unidata's netCDF 3.6 API |
---|
11 | master_sites ftp://ftp.unidata.ucar.edu/pub/opendap/source/ \ |
---|
12 | ftp://ftp.unidata.ucar.edu/pub/opendap/source/old/ |
---|
13 | checksums md5 cb1c518725e1b2bb6078a691a2377eea |
---|
14 | homepage http://www.opendap.org/ |
---|
15 | long_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. |
---|
21 | patchfiles patch-Makefile.in |
---|
22 | depends_lib port:curl \ |
---|
23 | port:libdap \ |
---|
24 | port:libxml2 |
---|
25 | |
---|
26 | if {![variant_isset g95]} { |
---|
27 | default_variants +gcc42 |
---|
28 | } |
---|
29 | |
---|
30 | variant 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 | |
---|
35 | variant g95 conflicts gcc42 description {Build using g95} { |
---|
36 | depends_build-append port:g95 |
---|
37 | configure.env-append FC=${prefix}/bin/g95 |
---|
38 | } |
---|