[135297] trunk/dports/science/cdf/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Apr 22 10:08:32 PDT 2015
Revision: 135297
https://trac.macports.org/changeset/135297
Author: ryandesign at macports.org
Date: 2015-04-22 10:08:31 -0700 (Wed, 22 Apr 2015)
Log Message:
-----------
cdf: update to 3.6.0.3
Modified Paths:
--------------
trunk/dports/science/cdf/Portfile
Modified: trunk/dports/science/cdf/Portfile
===================================================================
--- trunk/dports/science/cdf/Portfile 2015-04-22 17:00:56 UTC (rev 135296)
+++ trunk/dports/science/cdf/Portfile 2015-04-22 17:08:31 UTC (rev 135297)
@@ -5,8 +5,7 @@
name cdf
epoch 1
-version 3.5.0.2
-revision 1
+version 3.6.0.3
set my_branch [join [lrange [split ${version} .] 0 1] ""]
set my_version ${my_branch}_[join [lrange [split ${version} .] 2 end] "_"]
set my_short_version ${my_branch}_[lindex [split ${version} .] 2]
@@ -23,20 +22,18 @@
discipline independent fashion.
homepage http://cdf.gsfc.nasa.gov/
-master_sites http://cdaweb.gsfc.nasa.gov/pub/software/cdf/dist/${name}${my_version}/unix/
+master_sites http://cdaweb.gsfc.nasa.gov/pub/software/cdf/dist/${name}${my_short_version}/unix/
-# Stealth update at 3.5.0.2 (#45931)
-dist_subdir ${name}/${version}_1
-
-fetch.use_epsv no
-distname ${name}${my_short_version}-dist
+distname ${name}${my_version}-dist
extract.suffix -all${extract.suffix}
-checksums rmd160 bb0daa578020755f2ff9c0d29aa2c4d002167cb9 \
- sha256 65539db1fed065f489f156109a372a7593a4329edf90df206e1737f4fa900f85
+checksums rmd160 358c983892d49a549a9b9a8851f75dd359956c4a \
+ sha256 5488b970479931f12d6bd49d2f2ceaca647d122abc3b7d4b544c931bed8e8bdb
depends_lib port:ncurses
+worksrcdir ${name}${my_short_version}-dist
+
post-patch {
reinplace "s|\\\$(INSTALLDIR)/bin/definitions\\.\\(\[BCK\]\\)|${prefix}/bin/definitions.\\1|" ${worksrcpath}/Makefile
}
@@ -90,7 +87,7 @@
destroot.destdir INSTALLDIR=${destroot}${prefix}
post-destroot {
- eval reinplace "s|${destroot}||g" [glob ${destroot}${prefix}/bin/definitions.*]
+ reinplace "s|${destroot}||g" {*}[glob ${destroot}${prefix}/bin/definitions.*]
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150422/7c8d0063/attachment.html>
More information about the macports-changes
mailing list