[90826] trunk/dports/science/cdf/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Mar 14 20:55:08 PDT 2012


Revision: 90826
          https://trac.macports.org/changeset/90826
Author:   ryandesign at macports.org
Date:     2012-03-14 20:55:08 -0700 (Wed, 14 Mar 2012)
Log Message:
-----------
cdf: update to 3.4.0 and also install documentation files

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

Modified: trunk/dports/science/cdf/Portfile
===================================================================
--- trunk/dports/science/cdf/Portfile	2012-03-15 03:41:44 UTC (rev 90825)
+++ trunk/dports/science/cdf/Portfile	2012-03-15 03:55:08 UTC (rev 90826)
@@ -5,7 +5,7 @@
 
 name                    cdf
 epoch                   1
-version                 3.3.1.1
+version                 3.4.0
 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]
@@ -29,8 +29,8 @@
 worksrcdir              ${name}${my_short_version}-dist
 extract.suffix          -all${extract.suffix}
 
-checksums               rmd160  5fddb46e85636082b0eae028a6e4084aad069a52 \
-                        sha256  94ed7e5cfdc42d4027dac3f919db0a389924b681bc88efccb26e364758e18d1b
+checksums               rmd160  895e1ecc37a216bd9b493a33553dca33a1270a97 \
+                        sha256  7fc74bb95f27d61dae605c5d6158a06050e3ccb85b7de4e3261b39bc13eb95cb
 
 depends_lib             port:ncurses
 
@@ -68,6 +68,12 @@
         ${destroot}${prefix}/bin/definitions.K
     
     system "install_name_tool -id ${prefix}/lib/libcdf.dylib ${destroot}${prefix}/lib/libcdf.dylib"
+    
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -W ${worksrcpath} CDF_copyright.txt CHANGES.txt \
+        README_cdf_tools.txt Release.notes Welcome.txt ${docdir}
+    move ${destroot}${prefix}/CDFLeapSeconds.txt ${docdir}
 }
 
 variant gcc44 conflicts gcc45 gcc46 description {Use gcc44} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120314/64909f4c/attachment-0001.html>


More information about the macports-changes mailing list