On Jul 11, 2009, at 09:57, [email protected] wrote:
Revision: 53669
http://trac.macports.org/changeset/53669
Author: [email protected]
Date: 2009-07-11 07:57:43 -0700 (Sat, 11 Jul 2009)
Log Message:
-----------
netcdf: fixed +universal
In the future, could you please commit whitespace changes separately
from functional changes? It's just hard to see what changes you made
here in order to fix the universal variant, between all the
whitespace changes you made. Thanks.
Modified Paths:
--------------
trunk/dports/science/netcdf/Portfile
Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- trunk/dports/science/netcdf/Portfile 2009-07-11 14:53:11 UTC
(rev 53668)
+++ trunk/dports/science/netcdf/Portfile 2009-07-11 14:57:43 UTC
(rev 53669)
@@ -1,15 +1,16 @@
+# -*- 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
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name netcdf
-version 4.0.1
-revision 3
-maintainers nomaintainer
-platforms darwin
-categories science
+name netcdf
+version 4.0.1
+revision 3
+maintainers nomaintainer
+platforms darwin
+categories science
-description NetCDF - Network Common Data Form
+description NetCDF - Network Common Data Form
long_description \
NetCDF is an interface \
for array-oriented data access and a library that \
@@ -21,35 +22,34 @@
The netCDF software was developed at the Unidata \
Program Center in Boulder, Colorado.
-homepage http://unidata.ucar.edu/packages/netcdf/
+homepage http://unidata.ucar.edu/packages/netcdf/
-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/
+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 md5 a251453c5477599f050fa4e593295186 \
- sha1
96b361de72bcf68eaba42e7e5cf0f92c33d288e9 \
- rmd160 ba74363bbc4c76fc1bbac578ba4c2af4739b4958
+checksums md5
a251453c5477599f050fa4e593295186 \
+ sha1
96b361de72bcf68eaba42e7e5cf0f92c33d288e9 \
+ rmd160
ba74363bbc4c76fc1bbac578ba4c2af4739b4958
-configure.cppflags "-DNDEBUG -Df2cFortran"
-configure.cxxflags "-O2 -fno-common"
-configure.cflags "-O2 -fno-common"
-configure.args --enable-shared \
- --disable-f77
+configure.cppflags-append "-DNDEBUG -Df2cFortran"
+configure.cxxflags-append "-O2 -fno-common"
+configure.cflags-append "-O2 -fno-common"
+configure.args --enable-shared \
+ --disable-f77
-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
# xinstall -m 755 -d ${destroot}${prefix}/share/${name}
}
-default_variants +netcdf4
+default_variants +netcdf4
variant gcc43 description conflicts g95 description {Enable
Fortran support with gfortran} {
depends_lib-append port:gcc43
@@ -66,10 +66,10 @@
}
variant openmpi description {compile with openmpi} {
- depends_lib-append port:openmpi
- configure.fc openmpif77
- configure.cc openmpicc
- configure.cxx openmpicxx
+ depends_lib-append port:openmpi
+ configure.fc openmpif77
+ configure.cc openmpicc
+ configure.cxx openmpicxx
}
variant dap description {enable dap} {
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev