[151895] trunk/dports/mail/mailqfmt/Portfile

mojca at macports.org mojca at macports.org
Tue Aug 23 14:38:49 PDT 2016


Revision: 151895
          https://trac.macports.org/changeset/151895
Author:   mojca at macports.org
Date:     2016-08-23 14:38:48 -0700 (Tue, 23 Aug 2016)
Log Message:
-----------
mailqfmt: switch to perl5.24 (#52081)

Modified Paths:
--------------
    trunk/dports/mail/mailqfmt/Portfile

Modified: trunk/dports/mail/mailqfmt/Portfile
===================================================================
--- trunk/dports/mail/mailqfmt/Portfile	2016-08-23 21:38:42 UTC (rev 151894)
+++ trunk/dports/mail/mailqfmt/Portfile	2016-08-23 21:38:48 UTC (rev 151895)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 name                mailqfmt
 version             0.6
-revision            4
+revision            5
 categories          mail
 license             GPL-2
 maintainers         nomaintainer
@@ -19,15 +20,17 @@
 checksums           rmd160  d5e24479642537db03f3ab82eee380fefce1bdf9 \
                     sha256  11e6410cdc811cebc8212b73eeaad2386cb15569b526d73376d35a69bda54b95
 
+perl5.branches      5.24
+
 depends_lib-append  port:postfix \
-                    port:p5.22-libwww-perl
+                    port:p${perl5.major}-libwww-perl
 
 extract {
       file copy ${distpath}/mailqfmt.pl ${workpath}/mailqfmt
 }
 
 post-patch { 
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.22|g" ${workpath}/mailqfmt
+    reinplace "s|/usr/bin/perl|${prefix}/bin/perl${perl5.major}|g" ${workpath}/mailqfmt
 
     if {![variant_isset apple_postfix]} {
         reinplace "s|/usr/bin/mailq|${prefix}/bin/mailq|g" ${workpath}/mailqfmt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160823/4d001416/attachment.html>


More information about the macports-changes mailing list