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

takeshi at macports.org takeshi at macports.org
Thu May 3 14:13:51 PDT 2012


Revision: 92681
          https://trac.macports.org/changeset/92681
Author:   takeshi at macports.org
Date:     2012-05-03 14:13:51 -0700 (Thu, 03 May 2012)
Log Message:
-----------
netcdf: updated for 4.2.0, renamed from version 4.2 2012-05-01

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

Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- trunk/dports/science/netcdf/Portfile	2012-05-03 21:12:00 UTC (rev 92680)
+++ trunk/dports/science/netcdf/Portfile	2012-05-03 21:13:51 UTC (rev 92681)
@@ -4,9 +4,9 @@
 PortSystem                  1.0
 
 name                        netcdf
-epoch                       1
-version                     4.2
-revision                    2
+epoch                       2
+set realversion             4.2
+version                     ${realversion}.0
 maintainers                 takeshi openmaintainer
 platforms                   darwin
 categories                  science
@@ -26,13 +26,8 @@
 checksums           md5     e7790bb23d8bc23689f19f5cec81d71e \
                     sha1    9b3e15f3d6d21611e60ec6383adb57c30bf734fe \
                     rmd160  698fe12ba8857f3cb46be6e809842a8dd8245160
+distname            ${name}-${realversion}
 
-# adhoc fix #34315
-# netcdf-4.2.tar.gz seems to be replaced at master_sites
-pre-fetch {
-    file delete ${distpath}/${distname}${extract.suffix}
-}
-
 pre-configure {
     if {[variant_isset openmpi]} {
         set hdf5cc [exec grep "C Compiler" ${prefix}/lib/libhdf5.settings | awk {BEGIN{FS="/"}{print $NF}}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120503/7b016aab/attachment-0001.html>


More information about the macports-changes mailing list