Ticket #34855: Portfile

File Portfile, 1.4 KB (added by kenh@…, 12 years ago)

Portfile for nmh 1.5

Line 
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
4PortSystem          1.0
5
6name                nmh
7version             1.5
8categories          mail
9platforms           darwin
10maintainers         pobox.com:kenh
11license             BSD
12
13description         The nmh Mail Handling System
14
15long_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
19homepage            http://www.nongnu.org/nmh/
20master_sites        http://download.savannah.gnu.org/releases/nmh/
21
22checksums           rmd160  12c6aae9c02c5895593e4d5bff95a061c71b623c \
23                    sha256  af5342de8fe9fba5d615caccc9fbcb43cac60b6eb71432f7e112d43850d31c39
24
25depends_lib         port:libiconv \
26                    port:ncurses
27
28configure.args      --enable-pop
29
30variant sasl description {Add support for SASL authentication in POP and SMTP} {
31    configure.args-append   --with-cyrus-sasl
32}
33
34variant tls description {Add support for TLS encryption in SMTP} {
35    depends_lib-append      port:openssl
36    configure.args-append   --with-tls
37}
38
39default_variants    +sasl +tls
40
41livecheck.type      regex
42livecheck.url       [lindex ${master_sites} 0]
43livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}