Revision
118444
Author
pixilla@macports.org
Date
2014-04-02 07:53:30 -0700 (Wed, 02 Apr 2014)

Log Message

mail/cyrus-imapd:
- Utilizing openmaintainer.
- Add modeline.
- Fix livecheck.

Modified Paths

Diff

Modified: trunk/dports/mail/cyrus-imapd/Portfile (118443 => 118444)


--- trunk/dports/mail/cyrus-imapd/Portfile	2014-04-02 14:51:30 UTC (rev 118443)
+++ trunk/dports/mail/cyrus-imapd/Portfile	2014-04-02 14:53:30 UTC (rev 118444)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem 1.0
@@ -99,6 +100,10 @@
 	configure.args-append	--with-snmp=yes
 }
 
+livecheck.type      regex
+livecheck.url       ${homepage}
+livecheck.regex     "/${name}/${name}-(\\d+(?:\\.\\d+)*)\\${extract.suffix}"
+
 ## 
 # Miscellaneous notes:
 # -) Port is itself bare bones, suport for many other things could be added (maybe as variants), so suggest away!