source: trunk/dports/mail/courier-imap/Portfile

Last change on this file was 146687, checked in by cal@…, 17 months ago

courier-imap: 4.16.2, closes #50872

Update courier-imap to 4.16.2, update courier-authlib to 0.66.4, add
courier-unicode. Fixes build failure against new openssl.

  • 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 146687 2016-03-15 14:59:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                courier-imap
7version             4.16.2
8checksums           rmd160  84f68f30e1497371cd8fd382a91ee5675c2b2646 \
9                    sha256  3be244b3c4d3d5c5e33efb37e4cf712ae83cbe21e43c31725e0d996ab4acc387
10
11categories          mail
12license             {GPL-3 OpenSSLException}
13maintainers         nomaintainer
14description         IMAP server
15long_description    This package contains the standalone Courier IMAP server, \
16                    which is used to provide IMAP access to local mailboxes. \
17                    Courier-IMAP is provided here as a separate package that \
18                    can be used with other mail servers as well.
19
20homepage            http://www.courier-mta.org/imap/
21platforms           darwin
22master_sites        sourceforge:project/courier/imap/${version} freebsd
23use_bzip2           yes
24depends_lib         port:courier-authlib path:lib/libssl.dylib:openssl port:db44
25set authdaemondir   ${prefix}/var/run/authdaemon.courier-imap
26
27configure.args      --bindir=${prefix}/bin \
28                    --mandir=${prefix}/share/man \
29                    --sysconfdir=${prefix}/etc/${name} \
30                    --datadir=${prefix}/share/${name} \
31                    --localstatedir=${prefix}/var/run \
32                    --with-piddir=${prefix}/var/run \
33                    --with-authdaemonvar=${authdaemondir} \
34                    --with-db=db \
35                    --enable-unicode --disable-root-check
36
37configure.cflags    "-I${prefix}/include/db44 -I${prefix}/include"
38configure.cppflags  "-I${prefix}/include/db44 -I${prefix}/include"
39configure.ldflags   "-L${prefix}/lib/db44 -L${prefix}/lib"
40
41destroot.target     install install-configure
42
43post-destroot {
44    xinstall -m 755 -d ${destroot}${authdaemondir}
45    destroot.keepdirs ${destroot}${authdaemondir}
46}
47
48startupitem.create  yes
49startupitem.init    \
50". ${prefix}/etc/courier-imap/imapd\n. ${prefix}/etc/courier-imap/imapd-ssl\n"
51startupitem.start   "${prefix}/libexec/imapd-ssl.rc start"
52startupitem.stop    "${prefix}/libexec/imapd-ssl.rc stop"
53
54# Limit the length of the minor and patch version components to avoid picking
55# up development versions (that contain a YYYYMMDD timestamp).
56livecheck.regex     "[quotemeta ${name}]-(\\d+(\\.\\d{1,7})*)[quotemeta ${extract.suffix}]"
Note: See TracBrowser for help on using the repository browser.