[119581] trunk/dports/science/gildas/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu May 1 04:38:09 PDT 2014


Revision: 119581
          https://trac.macports.org/changeset/119581
Author:   ryandesign at macports.org
Date:     2014-05-01 04:38:09 -0700 (Thu, 01 May 2014)
Log Message:
-----------
gildas: update to 201404c (#43534)

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

Modified: trunk/dports/science/gildas/Portfile
===================================================================
--- trunk/dports/science/gildas/Portfile	2014-05-01 03:27:46 UTC (rev 119580)
+++ trunk/dports/science/gildas/Portfile	2014-05-01 11:38:09 UTC (rev 119581)
@@ -5,7 +5,8 @@
 PortGroup           compilers 1.0
 
 name                gildas
-version             201404b
+version             201404c
+set my_version      [string tolower [clock format [clock scan 2000-[string range ${version} 4 5]-10] -format %b]][string range ${version} 2 3][string range ${version} 6 end]
 categories          science
 platforms           darwin
 maintainers         gmail.com:sebastien.maret
@@ -25,10 +26,10 @@
 
 homepage            http://www.iram.fr/IRAMFR/GILDAS/gildas.html
 master_sites        http://www.iram.fr/~gildas/dist/
-distname            ${name}-src-apr14b
+distname            ${name}-src-${my_version}
 
-checksums           rmd160 02f59882bc19c656bd5bec6f79a220915003fb76 \
-                    sha256 4a6c7ef9bb7c96549c61847eb58fc4adca361b4fb260faf94f7d84e760193981
+checksums           rmd160  8ebf90758e521e22c6ee69669832dc726c9fc78e \
+                    sha256  e229d8645d78271419dafd7949afde3546665520f1835f1204ca7ee8155525aa
 
 patch.pre_args      -p1
 patchfiles          patch-admin-Makefile.diff \
@@ -102,8 +103,7 @@
 }
 
 destroot {
-    xinstall -d ${destroot}${prefix}/lib
-    copy ${workpath}/gildas-exe-apr14b ${destroot}${prefix}/lib/gildas
+    copy ${workpath}/gildas-exe-${my_version} ${destroot}${prefix}/lib/gildas
 
     xinstall ${filespath}/astro.in ${destroot}${prefix}/bin/astro
     xinstall ${filespath}/class.in ${destroot}${prefix}/bin/class
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140501/27a60f5e/attachment-0001.html>


More information about the macports-changes mailing list