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

Last change on this file since 99773 was 99773, checked in by pixilla@…, 7 years ago

mail/dovecot2-sieve:

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