Revision
144311
Author
mojca@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

Diff

Modified: trunk/dports/mail/mailqfmt/Portfile (144310 => 144311)


--- 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.]+)}