[51305] trunk/dports/science/netcdf/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Fri May 22 08:09:06 PDT 2009
Revision: 51305
http://trac.macports.org/changeset/51305
Author: macsforever2000 at macports.org
Date: 2009-05-22 08:09:06 -0700 (Fri, 22 May 2009)
Log Message:
-----------
Whitespace. lint.
Modified Paths:
--------------
trunk/dports/science/netcdf/Portfile
Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- trunk/dports/science/netcdf/Portfile 2009-05-22 15:01:27 UTC (rev 51304)
+++ trunk/dports/science/netcdf/Portfile 2009-05-22 15:09:06 UTC (rev 51305)
@@ -1,58 +1,62 @@
# $Id$
-PortSystem 1.0
-name netcdf
-version 4.0
-revision 1
-maintainers nomaintainer
-platforms darwin
-categories science
+PortSystem 1.0
-description NetCDF - Network Common Data Form
-long_description NetCDF is an interface \
- for array-oriented data access and a library that \
- provides an implementation of the interface. The \
- netCDF library also defines a machine-independent \
- format for representing scientific data. Together, \
- the interface, library, and format support the \
- creation, access, and sharing of scientific data. \
- The netCDF software was developed at the Unidata \
- Program Center in Boulder, Colorado.
+name netcdf
+version 4.0
+revision 1
+maintainers nomaintainer
+platforms darwin
+categories science
-homepage http://unidata.ucar.edu/packages/netcdf/
+description NetCDF - Network Common Data Form
+long_description \
+ NetCDF is an interface \
+ for array-oriented data access and a library that \
+ provides an implementation of the interface. The \
+ netCDF library also defines a machine-independent \
+ format for representing scientific data. Together, \
+ the interface, library, and format support the \
+ creation, access, and sharing of scientific data. \
+ The netCDF software was developed at the Unidata \
+ Program Center in Boulder, Colorado.
-master_sites ftp://ftp.unidata.ucar.edu/pub/netcdf/ \
- http://www.gfd-dennou.org/arch/netcdf/unidata-mirror/ \
- ftp://www.gfd-dennou.org/arch/netcdf/unidata-mirror/
-checksums sha1 bea99846265e55e54be2c200ae004acc3a221c0a
+homepage http://unidata.ucar.edu/packages/netcdf/
-depends_lib port:szip \
+master_sites ftp://ftp.unidata.ucar.edu/pub/netcdf/ \
+ http://www.gfd-dennou.org/arch/netcdf/unidata-mirror/ \
+ ftp://www.gfd-dennou.org/arch/netcdf/unidata-mirror/
+checksums sha1 bea99846265e55e54be2c200ae004acc3a221c0a
+
+depends_lib port:szip \
port:hdf5-18
-configure.fc openmpif77
-configure.cc openmpicc
-configure.cxx openmpicxx
-configure.cppflags "-DNDEBUG -Df2cFortran"
-configure.cxxflags "-O2 -fno-common"
-configure.cflags "-O2 -fno-common"
-configure.args --enable-shared \
- --enable-netcdf-4 \
- --with-hdf5=${prefix} \
- --with-szlib=${prefix}
+configure.fc openmpif77
+configure.cc openmpicc
+configure.cxx openmpicxx
+configure.cppflags "-DNDEBUG -Df2cFortran"
+configure.cxxflags "-O2 -fno-common"
+configure.cflags "-O2 -fno-common"
+configure.args \
+ --enable-shared \
+ --enable-netcdf-4 \
+ --with-hdf5=${prefix} \
+ --with-szlib=${prefix}
-test.run yes
-test.target check
+test.run yes
+test.target check
-destroot.destdir prefix=${destroot}${prefix} \
- MANDIR=\\\${prefix}/share/man
+destroot.destdir \
+ prefix=${destroot}${prefix} \
+ MANDIR=\\\${prefix}/share/man
post-destroot {
- file delete -force ${destroot}${prefix}/share/man/whatis.db
+ file delete -force ${destroot}${prefix}/share/man/whatis.db
}
variant g95 description {Enable Fortran support with g95} {
- depends_lib port:g95
- configure.args-delete --disable-f77
- configure.fc ${prefix}/bin/g95
- configure.env-append FCFLAGS=-O2
+ depends_lib port:g95
+ configure.args-delete --disable-f77
+ configure.fc ${prefix}/bin/g95
+ configure.env-append FCFLAGS=-O2
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090522/7b232141/attachment.html>
More information about the macports-changes
mailing list