[46942] trunk/dports/mail/dovecot/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Feb 18 00:18:32 PST 2009


Revision: 46942
          http://trac.macports.org/changeset/46942
Author:   ryandesign at macports.org
Date:     2009-02-18 00:18:30 -0800 (Wed, 18 Feb 2009)
Log Message:
-----------
dovecot: use new ${branch} variable in ${master_sites} so it won't have to be updated at new major releases

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

Modified: trunk/dports/mail/dovecot/Portfile
===================================================================
--- trunk/dports/mail/dovecot/Portfile	2009-02-18 08:17:34 UTC (rev 46941)
+++ trunk/dports/mail/dovecot/Portfile	2009-02-18 08:18:30 UTC (rev 46942)
@@ -5,7 +5,7 @@
 name                dovecot
 epoch               20060722
 version             1.1.3
-
+set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          mail
 maintainers         jberry
 platforms           darwin
@@ -18,7 +18,7 @@
 
 homepage            http://dovecot.org/
 
-master_sites        ${homepage}releases/1.1
+master_sites        ${homepage}releases/${branch}
 distname            dovecot-${version}
 checksums           md5     103ff0ffb4bcb37f22c27779553e48bc \
                     sha1    a46a4bdb3d6fb86d74458c1e375cf71ff4503189 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090218/15a46166/attachment.html>


More information about the macports-changes mailing list