Ticket #42541: patch.ncarg-download.diff
File patch.ncarg-download.diff, 2.0 KB (added by petrrr, 10 years ago) |
---|
-
Portfile
13 13 version 6.2.1 14 14 revision 3 15 15 categories science 16 platforms darwin 16 17 maintainers takeshi openmaintainers 17 18 license {UCAR-Unidata public-domain BSD LGPL-3 GPL-3} 19 18 20 description language for scientific data processing and visualization 19 21 long_description \ 20 22 The NCAR Command Language (NCL), a product of \ … … 24 26 is a free interpreted language designed specifically \ 25 27 for scientific data processing and visualization. 26 28 27 homepage http://www.ncl.ucar.edu/ 28 platforms darwin 29 master_sites http://www.earthsystemgrid.org/:ncl \ 30 http://www.ncl.ucar.edu/Download/files/:g2clib 29 homepage http://www.ncl.ucar.edu/ 31 30 32 distname ncl_${name}-${version} 31 distname ncl_${name}-${version} 32 master_sites http://www.ncl.ucar.edu/Download/files/:g2clib \ 33 "https://www.earthsystemgrid.org/download/fileDownload.htm?logicalFileId=5995adf7-351e-11e4-a4b4-00c0f03d5b7c&dummy=:ncl" 34 33 35 set ncl_src ${distname}${extract.suffix} 36 34 37 set g2clib_version 1.5.0 35 38 set g2clib_src g2clib-${g2clib_version}-patch${extract.suffix} 36 39 set g2clib_worksrcdir g2clib-${g2clib_version}-patch 40 37 41 distfiles ${ncl_src}:ncl \ 38 42 ${g2clib_src}:g2clib 39 43 … … 68 72 default_variants +${v} 69 73 } 70 74 71 pre-fetch {72 if {![file exists ${distpath}/${distname}${extract.suffix}]} {73 xinstall -d ${distpath}74 ui_error "Download ${distname}${extract.suffix} manually and place it in ${distpath}.\n \75 See instructions on ${homepage}/Download/index.shtml"76 }77 }78 79 75 set usedap y 80 76 81 77 if {$build_arch eq "x86_64"} {