[134636] trunk/dports/science/ncarg/Portfile
takeshi at macports.org
takeshi at macports.org
Wed Apr 1 08:09:29 PDT 2015
Revision: 134636
https://trac.macports.org/changeset/134636
Author: takeshi at macports.org
Date: 2015-04-01 08:09:28 -0700 (Wed, 01 Apr 2015)
Log Message:
-----------
ncarg: automatic download, closing #42541
Modified Paths:
--------------
trunk/dports/science/ncarg/Portfile
Modified: trunk/dports/science/ncarg/Portfile
===================================================================
--- trunk/dports/science/ncarg/Portfile 2015-04-01 14:49:53 UTC (rev 134635)
+++ trunk/dports/science/ncarg/Portfile 2015-04-01 15:09:28 UTC (rev 134636)
@@ -13,8 +13,10 @@
version 6.2.1
revision 3
categories science
+platforms darwin
maintainers takeshi openmaintainers
license {UCAR-Unidata public-domain BSD LGPL-3 GPL-3}
+
description language for scientific data processing and visualization
long_description \
The NCAR Command Language (NCL), a product of \
@@ -24,16 +26,18 @@
is a free interpreted language designed specifically \
for scientific data processing and visualization.
-homepage http://www.ncl.ucar.edu/
-platforms darwin
-master_sites http://www.earthsystemgrid.org/:ncl \
- http://www.ncl.ucar.edu/Download/files/:g2clib
+homepage http://www.ncl.ucar.edu/
-distname ncl_${name}-${version}
+distname ncl_${name}-${version}
+master_sites http://www.ncl.ucar.edu/Download/files/:g2clib \
+ "https://www.earthsystemgrid.org/download/fileDownload.htm?logicalFileId=5995adf7-351e-11e4-a4b4-00c0f03d5b7c&dummy=:ncl"
+
set ncl_src ${distname}${extract.suffix}
+
set g2clib_version 1.5.0
set g2clib_src g2clib-${g2clib_version}-patch${extract.suffix}
set g2clib_worksrcdir g2clib-${g2clib_version}-patch
+
distfiles ${ncl_src}:ncl \
${g2clib_src}:g2clib
@@ -68,14 +72,6 @@
default_variants +${v}
}
-pre-fetch {
- if {![file exists ${distpath}/${distname}${extract.suffix}]} {
- xinstall -d ${distpath}
- ui_error "Download ${distname}${extract.suffix} manually and place it in ${distpath}.\n \
- See instructions on ${homepage}/Download/index.shtml"
- }
-}
-
set usedap y
if {$build_arch eq "x86_64"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150401/75a8ea45/attachment-0001.html>
More information about the macports-changes
mailing list