source: trunk/dports/mail/dovecot2-sieve/Portfile

Last change on this file was 146843, checked in by pixilla@…, 16 months ago

mail/dovecot2: update version to 2.2.22.
mail/dovecot2-sieve: update version to 0.4.11.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# -*- 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
2# $Id: Portfile 146843 2016-03-18 22:53:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                dovecot2-sieve
7version             0.4.11
8# set hg.tag to tag or rev.
9hg.tag              ${version}
10#hg.tag              2027
11
12# Maintainers: Please revbump port:dovecot2-sieve and port:dovecot2-antispam
13# on port:dovecot2 version changes.
14# Maintainers: Please revbump port:dovecot2-sieve when hg.tag changes or reset to 0 on version
15# changes.
16revision            0
17
18# Please keep port:dovecot2 major.minor version in sync.
19# On port:dovecot2 major.minor version change please find the new version
20# of port:dovecot2-sieve.
21set dovecot2        2.2
22
23categories          mail
24maintainers         pixilla openmaintainer
25platforms           darwin
26license             LGPL
27
28description         Pigeonhole sieve and managesieve plugins for dovecot
29long_description    ${description}
30
31homepage            http://pigeonhole.dovecot.org/
32master_sites        http://pigeonhole.dovecot.org/releases/${dovecot2}
33
34distname            dovecot-${dovecot2}-pigeonhole-${version}
35
36checksums           rmd160  371561b97fb6da72304a144686959d1b153741c5 \
37                    sha256  5168b4ac4e173b563dd71f4024452da5a578aa8d5d047d98903489ab4d84ad72
38
39depends_build       port:libtool port:autoconf port:automake
40depends_lib         port:dovecot2
41
42if {${hg.tag} ne ${version}} {
43
44    master_sites        http://hg.rename-it.nl/dovecot-${dovecot2}-pigeonhole/archive
45    distname            ${hg.tag}
46    use_bzip2           yes
47    worksrcdir          dovecot-[join [split ${dovecot2} .] -]-pigeonhole-${hg.tag}
48    depends_lib-append  port:gettext port:mercurial
49}
50
51pre-configure {
52    if {![file exists "${worksrcpath}/configure"]} {
53
54        system "cd ${worksrcpath} && ./autogen.sh"
55    }
56}
57
58configure.ldflags-append \
59                    -L${prefix}/lib/dovecot
60configure.args      --with-managesieve=yes \
61                    --disable-dependency-tracking
62
63livecheck.type      regex
64livecheck.version   ${hg.tag}
65
66if {${hg.tag} != ${version}} {
67
68    version             ${version}-${hg.tag}
69    livecheck.url       http://hg.rename-it.nl/dovecot-${dovecot2}-pigeonhole/log
70    livecheck.regex     "\\] rev (\[0-9\]+)</i>"
71} else {
72
73    livecheck.url       http://hg.rename-it.nl/dovecot-${dovecot2}-pigeonhole/tags
74    livecheck.regex     "<b>(\[0-9\.\]+)</b>"
75}
Note: See TracBrowser for help on using the repository browser.