[22845] trunk/dports/science
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 16 10:56:17 PDT 2007
Revision: 22845
http://trac.macosforge.org/projects/macports/changeset/22845
Author: takanori at macports.org
Date: 2007-03-16 10:56:17 -0700 (Fri, 16 Mar 2007)
Log Message:
-----------
New port: libnc-dap
Ticket: #11515
Submitted by: takeshi at mac.com
Reviewed by: takanori@
Added Paths:
-----------
trunk/dports/science/libnc-dap/
trunk/dports/science/libnc-dap/Portfile
trunk/dports/science/libnc-dap/files/
trunk/dports/science/libnc-dap/files/patch-Makefile.in
Added: trunk/dports/science/libnc-dap/Portfile
===================================================================
--- trunk/dports/science/libnc-dap/Portfile (rev 0)
+++ trunk/dports/science/libnc-dap/Portfile 2007-03-16 17:56:17 UTC (rev 22845)
@@ -0,0 +1,43 @@
+# $Id: $
+
+PortSystem 1.0
+name libnc-dap
+version 3.7.0
+revision 1
+platforms darwin
+maintainers takeshi at mac.com
+categories science
+description an alternative implementation of Unidata's netCDF 3.6 API
+master_sites ftp://ftp.unidata.ucar.edu/pub/opendap/source/ \
+ ftp://ftp.unidata.ucar.edu/pub/opendap/source/old/
+checksums md5 cb1c518725e1b2bb6078a691a2377eea
+homepage http://www.opendap.org/
+long_description \
+ The netCDF Client Library is an alternative implementation of \
+ Unidata's netCDF 3.6 API. Our version adds the capability to \
+ dereference OPeNDAP URLs. You can substitute our version of \
+ the library when linking your application and then simply pass \
+ an OPeNDAP URL in where you would normally use a file name.
+patchfiles patch-Makefile.in
+depends_lib port:curl \
+ port:gcc40 \
+ port:libdap \
+ port:libxml2
+
+configure.env FC=gfortran-dp-4.0
+
+platform darwin 8 i386 {
+ if {![variant_isset g95]} {
+ depends_lib-delete port:gcc40
+ depends_lib-append port:gcc42
+ configure.env-delete FC=gfortran-dp-4.0
+ configure.env-append FC=gfortran-dp-4.2
+ }
+}
+
+variant g95 {
+ depends_lib-delete port:gcc40
+ depends_lib-append port:g95
+ configure.env-delete FC=gfortran-dp-4.0
+ configure.env-append FC=${prefix}/bin/g95
+}
\ No newline at end of file
Added: trunk/dports/science/libnc-dap/files/patch-Makefile.in
===================================================================
--- trunk/dports/science/libnc-dap/files/patch-Makefile.in (rev 0)
+++ trunk/dports/science/libnc-dap/files/patch-Makefile.in 2007-03-16 17:56:17 UTC (rev 22845)
@@ -0,0 +1,13 @@
+--- Makefile.in.orig 2006-11-28 09:27:37.000000000 +0900
++++ Makefile.in 2007-03-16 05:06:28.000000000 +0900
+@@ -296,8 +296,8 @@
+ # debugging.
+ CXXFLAGS_DEBUG = -g3 -O0 -Wall -fno-defer-pop
+ TEST_COV_FLAGS = -ftest-coverage -fprofile-arcs
+-SUBDIRS = . ncdump
+-DIST_SUBDIRS = nc_test unit-tests ncdump
++SUBDIRS = .
++DIST_SUBDIRS = nc_test unit-tests
+ lib_LTLIBRARIES = libnc-dap.la
+ bin_SCRIPTS = ncdap-config
+ LIBSRC = NCArray.cc NCByte.cc NCFloat64.cc NCGrid.cc NCUInt32.cc \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070316/19bc6a63/attachment.html
More information about the macports-changes
mailing list