[144222] trunk/dports/science/metar/Portfile

mojca at macports.org mojca at macports.org
Mon Jan 4 16:41:40 PST 2016


Revision: 144222
          https://trac.macports.org/changeset/144222
Author:   mojca at macports.org
Date:     2016-01-04 16:41:40 -0800 (Mon, 04 Jan 2016)
Log Message:
-----------
metar: checksums, minor changes in perl5 handling (#48365)

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

Modified: trunk/dports/science/metar/Portfile
===================================================================
--- trunk/dports/science/metar/Portfile	2016-01-05 00:12:54 UTC (rev 144221)
+++ trunk/dports/science/metar/Portfile	2016-01-05 00:41:40 UTC (rev 144222)
@@ -20,11 +20,11 @@
 homepage            http://github.com/elboza/metar
 master_sites        http://www.autistici.org/0xFE/software/releases/metar/
 
-checksums           md5    c694636e3f402423b8de39eab3e6beec \
-                    sha1    4e8401f89a3db0434505633d9244e324b953daea \
-                    rmd160  28644bc6b2507352236b2e2cf8e0975724678b77
+checksums           rmd160  28644bc6b2507352236b2e2cf8e0975724678b77 \
+                    sha256  194b17dc559f91c45847b5fdecceb0d8f71b97ce77b989a728a7416406edfdfa
 
-depends_lib-append  port:p${perl5.default_branch}-libwww-perl
+perl5.branches      5.22
+depends_lib-append  port:p${perl5.major}-libwww-perl
 worksrcdir          ${name}
 
 use_configure       no
@@ -33,8 +33,8 @@
 
 destroot.destdir    DEST_DIR=${destroot}${prefix}/bin
 
-pre-destroot {
-    reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl${perl5.default_branch}|g" ${worksrcpath}/${name}.pl
+post-patch {
+    reinplace "s|#!/usr/bin/perl|#!${perl5.bin}|g" ${worksrcpath}/${name}.pl
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160104/4a227566/attachment.html>


More information about the macports-changes mailing list