[69355] trunk/dports/science/netcdf/Portfile

takeshi at macports.org takeshi at macports.org
Fri Jul 2 02:12:35 PDT 2010


Revision: 69355
          http://trac.macports.org/changeset/69355
Author:   takeshi at macports.org
Date:     2010-07-02 02:12:31 -0700 (Fri, 02 Jul 2010)
Log Message:
-----------
netcdf: docs can be installed without tex or texinfo. moved szip dependency to hdf4 and netcdf4 variants. #25481

Modified Paths:
--------------
    trunk/dports/science/netcdf/Portfile

Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- trunk/dports/science/netcdf/Portfile	2010-07-02 08:54:11 UTC (rev 69354)
+++ trunk/dports/science/netcdf/Portfile	2010-07-02 09:12:31 UTC (rev 69355)
@@ -6,7 +6,7 @@
 name                        netcdf
 epoch                       1
 version                     4.1.1
-revision                    1
+revision                    2
 maintainers                 takeshi openmaintainer
 platforms                   darwin
 categories                  science
@@ -39,8 +39,7 @@
                             --disable-netcdf-4 \
                             --disable-dap \
                             --without-udunits \
-                            --without-libcf \
-                            --with-szlib=${prefix}
+                            --without-libcf
 
 test.run                    yes
 test.target                 check
@@ -52,8 +51,6 @@
     file delete -force ${destroot}${prefix}/share/man/whatis.db
 }
 
-depends_build               bin:tex:texlive
-
 default_variants +netcdf4 +dap
 
 variant gcc43 conflicts g95 gcc44 description {Enable Fortran support with gfortran 4.3} {
@@ -99,14 +96,16 @@
                             --without-libcf
     configure.args-append   --enable-netcdf-4 \
                             --with-hdf5=${prefix} \
-                            --with-libcf
+                            --with-libcf \
+                            --with-szlib=${prefix}
 }
 
 variant hdf4 description {enable support for hdf4} {
     depends_lib-append    port:hdf4
     configure.args-append --enable-hdf4 \
                           --with-hdf4=${prefix} \
-                          --disable-hdf4-file-tests
+                          --disable-hdf4-file-tests \
+                          --with-szlib=${prefix}
 }
  
 variant dap description {enable dap} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100702/1b267fd5/attachment.html>


More information about the macports-changes mailing list