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

mojca at macports.org mojca at macports.org
Wed Jan 6 06:09:14 PST 2016


Revision: 144311
          https://trac.macports.org/changeset/144311
Author:   mojca at macports.org
Date:     2016-01-06 06:09:14 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
mailqfmt: change homepage, add livecheck, switch to perl5.22 (#48365)

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

Modified: trunk/dports/mail/mailqfmt/Portfile
===================================================================
--- trunk/dports/mail/mailqfmt/Portfile	2016-01-06 13:59:25 UTC (rev 144310)
+++ trunk/dports/mail/mailqfmt/Portfile	2016-01-06 14:09:14 UTC (rev 144311)
@@ -4,16 +4,16 @@
 PortSystem          1.0
 name                mailqfmt
 version             0.6
-revision            2
+revision            3
 categories          mail
 license             GPL-2
 maintainers         nomaintainer
-homepage            http://www.dt.e-technik.uni-dortmund.de/~ma/postfix/
+homepage            http://home.pages.de/~mandree/postfix/
 description         Postfix mailq file reformatter
 long_description    mailqfmt reformats postfix mail queue with single \
                     lines entries that are easier to parse
 platforms           darwin
-master_sites        http://www.dt.e-technik.uni-dortmund.de/~ma/postfix/
+master_sites        ${homepage}
 distfiles           ${name}.pl
 
 checksums           rmd160  d5e24479642537db03f3ab82eee380fefce1bdf9 \
@@ -27,7 +27,7 @@
 }
 
 post-patch { 
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" ${workpath}/mailqfmt
+    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.22|g" ${workpath}/mailqfmt
 
     if {![variant_isset apple_postfix]} {
         reinplace "s|/usr/bin/mailq|${prefix}/bin/mailq|g" ${workpath}/mailqfmt
@@ -37,7 +37,7 @@
 use_configure       no
 build               {}
 
-destroot { 
+destroot {
     xinstall -m 755 -d ${destroot}${prefix}/bin
     xinstall -m 755 ${workpath}/mailqfmt ${destroot}${prefix}/bin/mailqfmt
 }
@@ -45,3 +45,6 @@
 variant apple_postfix description {uses the mail queues of macosx postfix} {
     depends_lib-delete  port:postfix
 }
+
+livecheck.url       ${homepage}/${name}.pl
+livecheck.regex     {mailqfmt.pl,v ([\d.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/ac84556b/attachment-0001.html>


More information about the macports-changes mailing list