# -*- 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-unicode
version                 1.4
checksums               rmd160  a5006b510799b341e6f3d266b34b3df31be5bf11 \
                        sha256  2174f4cdd2cd3fe554d4cbbd9557abac0e54c0226084f368bcb2e66b0e78cf96

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/unicode/
master_sites            sourceforge:courier
use_bzip2               yes

depends_lib             port:libiconv

patchfiles              patch-courier-unicode.h.in-add-missing-includes.diff

# 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}]"