source: trunk/dports/mail/nmh/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
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 139229 2015-08-08 03:10:35Z jeremyhu@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
29configure.cppflags
30configure.ldflags
31
32variant sasl description {Add support for SASL authentication in POP and SMTP} {
33    configure.args-append   --with-cyrus-sasl
34}
35
36variant tls description {Add support for TLS encryption in SMTP} {
37    depends_lib-append      path:lib/libssl.dylib:openssl
38    configure.args-append   --with-tls
39    configure.env-append    OPENSSL_CPPFLAGS=-I${prefix}/include OPENSSL_LDFLAGS=-L${prefix}/lib
40}
41
42default_variants    +sasl +tls
43
44livecheck.type      regex
45livecheck.url       [lindex ${master_sites} 0]
46livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.