# -*- 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 name courier-imap version 4.16.2 checksums rmd160 84f68f30e1497371cd8fd382a91ee5675c2b2646 \ sha256 3be244b3c4d3d5c5e33efb37e4cf712ae83cbe21e43c31725e0d996ab4acc387 categories mail license {GPL-3 OpenSSLException} maintainers nomaintainer description IMAP server long_description This package contains the standalone Courier IMAP server, \ which is used to provide IMAP access to local mailboxes. \ Courier-IMAP is provided here as a separate package that \ can be used with other mail servers as well. homepage http://www.courier-mta.org/imap/ platforms darwin master_sites sourceforge:project/courier/imap/${version} freebsd use_bzip2 yes depends_lib port:courier-authlib path:lib/libssl.dylib:openssl port:db44 set authdaemondir ${prefix}/var/run/authdaemon.courier-imap configure.args --bindir=${prefix}/bin \ --mandir=${prefix}/share/man \ --sysconfdir=${prefix}/etc/${name} \ --datadir=${prefix}/share/${name} \ --localstatedir=${prefix}/var/run \ --with-piddir=${prefix}/var/run \ --with-authdaemonvar=${authdaemondir} \ --with-db=db \ --enable-unicode --disable-root-check configure.cflags "-I${prefix}/include/db44 -I${prefix}/include" configure.cppflags "-I${prefix}/include/db44 -I${prefix}/include" configure.ldflags "-L${prefix}/lib/db44 -L${prefix}/lib" destroot.target install install-configure post-destroot { xinstall -m 755 -d ${destroot}${authdaemondir} destroot.keepdirs ${destroot}${authdaemondir} } startupitem.create yes startupitem.init \ ". ${prefix}/etc/courier-imap/imapd\n. ${prefix}/etc/courier-imap/imapd-ssl\n" startupitem.start "${prefix}/libexec/imapd-ssl.rc start" startupitem.stop "${prefix}/libexec/imapd-ssl.rc stop" # Limit the length of the minor and patch version components to avoid picking # up development versions (that contain a YYYYMMDD timestamp). livecheck.regex "[quotemeta ${name}]-(\\d+(\\.\\d{1,7})*)[quotemeta ${extract.suffix}]"