# -*- 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: Portfile 95805 2012-07-23 02:01:11Z jmr@macports.org $ PortSystem 1.0 name nmh version 1.5 categories mail platforms darwin maintainers pobox.com:kenh license BSD description The nmh Mail Handling System long_description Nmh is an update to the classic Rand MH Mail Handling \ System. It is a suite of powerful command line \ utilities for reading and processing email. homepage http://www.nongnu.org/nmh/ master_sites http://download.savannah.gnu.org/releases/nmh/ checksums rmd160 12c6aae9c02c5895593e4d5bff95a061c71b623c \ sha256 af5342de8fe9fba5d615caccc9fbcb43cac60b6eb71432f7e112d43850d31c39 depends_lib port:libiconv \ port:ncurses configure.args --enable-pop configure.cppflags configure.ldflags variant sasl description {Add support for SASL authentication in POP and SMTP} { configure.args-append --with-cyrus-sasl } variant tls description {Add support for TLS encryption in SMTP} { depends_lib-append port:openssl configure.args-append --with-tls configure.env-append OPENSSL_CPPFLAGS=-I${prefix}/include OPENSSL_LDFLAGS=-L${prefix}/lib } default_variants +sasl +tls livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}