Revision
102559
Author
cal@macports.org
Date
2013-02-04 13:22:52 -0800 (Mon, 04 Feb 2013)

Log Message

fetchmail: fix livecheck

Modified Paths

Diff

Modified: trunk/dports/mail/fetchmail/Portfile (102558 => 102559)


--- trunk/dports/mail/fetchmail/Portfile	2013-02-04 21:15:44 UTC (rev 102558)
+++ trunk/dports/mail/fetchmail/Portfile	2013-02-04 21:22:52 UTC (rev 102559)
@@ -54,6 +54,10 @@
 startupitem.start	"${prefix}/bin/fetchmail -f ${prefix}/etc/.fetchmail -d120"
 startupitem.stop	"${prefix}/bin/fetchmail -quit"
 
+livecheck.type		regex
+livecheck.url		${homepage}
+livecheck.regex		"[quotemeta [string toupper ${name}]] (\\d+(?:\\.\\d+)*) RELEASE"
+
 variant ssl description "Support secure connections using OpenSSL" {
     depends_lib-append		port:openssl
     configure.args-delete	--without-ssl