[35188] trunk/dports/science/nco

takeshi at macports.org takeshi at macports.org
Wed Mar 19 20:04:50 PDT 2008


Revision: 35188
          http://trac.macosforge.org/projects/macports/changeset/35188
Author:   takeshi at macports.org
Date:     2008-03-19 20:04:48 -0700 (Wed, 19 Mar 2008)

Log Message:
-----------
nco: updated to 3.9.4. added livecheck

Modified Paths:
--------------
    trunk/dports/science/nco/Portfile
    trunk/dports/science/nco/files/patch-src_nco++_Makefile.in.diff

Removed Paths:
-------------
    trunk/dports/science/nco/files/patch-mpncra.c.diff

Modified: trunk/dports/science/nco/Portfile
===================================================================
--- trunk/dports/science/nco/Portfile	2008-03-20 01:41:59 UTC (rev 35187)
+++ trunk/dports/science/nco/Portfile	2008-03-20 03:04:48 UTC (rev 35188)
@@ -3,15 +3,15 @@
 PortSystem         1.0
 
 name               nco
-version            3.9.3
+version            3.9.4
 platforms          darwin
 maintainers        takeshi at macports.org
 categories         science
 description        The netCDF Operators
 master_sites       http://${name}.sourceforge.net/src/
-checksums          md5 78b6821f883733a7808d5a482dec7076 \
-                   sha1 99e18c329b7a688505d13a3d4312b3fbdd468970 \
-                   rmd160 6514872d09dcce6d9c8545dc3586fa422474f6ea
+checksums          md5    1dcd5a1c75a923e34cd7a3d15fed0ac7         \
+                   sha1   3310e19e4c85c907236352ff175ef35456d550b4 \
+                   rmd160 a0364ba46e717c69480b7f63974f96abfd37841b
 homepage           http://nco.sourceforge.net/
 long_description \
     Each NCO operator (e.g., ncks) takes netCDF or HDF input file(s), \
@@ -36,9 +36,8 @@
 depends_build      port:bison \
                    port:m4
 
-patchfiles         patch-src_nco++_Makefile.in.diff patch-mpncra.c.diff
-configure.env      MACOSX_DEPLOYMENT_TARGET=10.4 \
-                   HAVE_ANTLR=yes ANTLR_ROOT=${prefix}
+patchfiles         patch-src_nco++_Makefile.in.diff
+configure.env      HAVE_ANTLR=yes ANTLR_ROOT=${prefix}
 configure.cppflags -I/usr/include/malloc
 configure.args     --disable-dependency-tracking \
                    --mandir=${prefix}/share/man
@@ -50,7 +49,17 @@
     }
 }
 
-variant mpich2 {
+variant mpich2 description {enable MPI with mpich2} {
     depends_lib-append port:mpich2
     configure.args-append --enable-mpi
 }
+
+variant openmpi description {enable MPI with openmpi} {
+    depends_lib-append port:openmpi
+    configure.args-append --enable-mpi
+}
+
+livecheck.check regex
+livecheck.url   ${homepage}
+livecheck.regex  {Current NCO version is ([0-9]+\.[0-9]+\.[0-9]+)}
+

Deleted: trunk/dports/science/nco/files/patch-mpncra.c.diff
===================================================================
--- trunk/dports/science/nco/files/patch-mpncra.c.diff	2008-03-20 01:41:59 UTC (rev 35187)
+++ trunk/dports/science/nco/files/patch-mpncra.c.diff	2008-03-20 03:04:48 UTC (rev 35188)
@@ -1,11 +0,0 @@
---- src/nco/mpncra.c.orig	2007-12-19 10:11:55.000000000 +0900
-+++ src/nco/mpncra.c	2007-12-19 10:12:16.000000000 +0900
-@@ -1204,7 +1204,7 @@
- 
-     /* Add time variable to output file
-        NB: nco_cnv_arm_time_install() contains OpenMP critical region */
--    if(CNV_ARM && prg == ncrcat) (void)nco_cnv_arm_time_install(out_id,base_time_srt);
-+    if(CNV_ARM && prg == ncrcat) (void)nco_cnv_arm_time_install(out_id,base_time_srt,dfl_lvl);
- #ifdef ENABLE_MPI
-     nco_close(out_id); 
-     printf("DEBUG: Mgr prc_rnk %d closed out file %d after fixing date, time \n", prc_rnk, out_id);

Modified: trunk/dports/science/nco/files/patch-src_nco++_Makefile.in.diff
===================================================================
--- trunk/dports/science/nco/files/patch-src_nco++_Makefile.in.diff	2008-03-20 01:41:59 UTC (rev 35187)
+++ trunk/dports/science/nco/files/patch-src_nco++_Makefile.in.diff	2008-03-20 03:04:48 UTC (rev 35188)
@@ -1,5 +1,5 @@
---- src/nco++/Makefile.in.orig	2007-12-19 08:30:54.000000000 +0900
-+++ src/nco++/Makefile.in	2007-12-19 08:34:04.000000000 +0900
+--- src/nco++/Makefile.in.orig	2008-03-20 10:34:41.000000000 +0900
++++ src/nco++/Makefile.in	2008-03-20 10:36:07.000000000 +0900
 @@ -231,7 +231,7 @@
  
  # fxm: Split off all sources except front-end into nco++ library

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080319/4d8f2ad5/attachment.html 


More information about the macports-changes mailing list