# -*- 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 PortSystem 1.0 name courier-authlib version 0.68.0 revision 1 checksums rmd160 17154b04f0097f0a5a8505f865186bb300c99224 \ sha256 9096118823ababfac8f46a1a7393765a414ea3628c9413bfba39af5d70fd3e2e categories security mail license GPL-3 platforms darwin maintainers nomaintainer description Courier Authentication Library is a generic authentication API long_description ${description} homepage http://www.courier-mta.org/authlib/ master_sites sourceforge:project/courier/authlib/${version} use_bzip2 yes depends_lib port:db48 \ port:libtool \ port:courier-unicode configure.args --with-db=db \ --without-authmysql \ --without-authpgsql \ --without-authldap \ --without-authpam \ -C configure.cflags-append -I${prefix}/include/db48 configure.ldflags-append -L${prefix}/lib/db48 post-destroot { system -W "${destroot}${prefix}/lib/courier-authlib" "rm -f *.a *.la" } startupitem.create yes startupitem.start "${prefix}/sbin/authdaemond start" startupitem.stop "${prefix}/sbin/authdaemond stop" startupitem.restart "${prefix}/sbin/authdaemond restart" startupitem.pidfile clean ${prefix}/var/spool/authdaemon/pid # 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}]"