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 88589 2012-01-05 02:00:06Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name nmh |
---|
7 | version 1.5 |
---|
8 | categories mail |
---|
9 | platforms darwin |
---|
10 | maintainers pobox.com:kenh |
---|
11 | license BSD |
---|
12 | |
---|
13 | description The nmh Mail Handling System |
---|
14 | |
---|
15 | long_description Nmh is an update to the classic Rand MH Mail Handling \ |
---|
16 | System. It is a suite of powerful command line \ |
---|
17 | utilities for reading and processing email. |
---|
18 | |
---|
19 | homepage http://www.nongnu.org/nmh/ |
---|
20 | master_sites http://download.savannah.gnu.org/releases/nmh/ |
---|
21 | |
---|
22 | checksums rmd160 12c6aae9c02c5895593e4d5bff95a061c71b623c \ |
---|
23 | sha256 af5342de8fe9fba5d615caccc9fbcb43cac60b6eb71432f7e112d43850d31c39 |
---|
24 | |
---|
25 | depends_lib port:libiconv \ |
---|
26 | port:ncurses |
---|
27 | |
---|
28 | configure.args --enable-pop |
---|
29 | |
---|
30 | variant sasl description {Add support for SASL authentication in POP and SMTP} { |
---|
31 | configure.args-append --with-cyrus-sasl |
---|
32 | } |
---|
33 | |
---|
34 | variant tls description {Add support for TLS encryption in SMTP} { |
---|
35 | depends_lib-append port:openssl |
---|
36 | configure.args-append --with-tls |
---|
37 | } |
---|
38 | |
---|
39 | default_variants +sasl +tls |
---|
40 | |
---|
41 | livecheck.type regex |
---|
42 | livecheck.url [lindex ${master_sites} 0] |
---|
43 | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
---|