diff --git a/mail/neomutt/Portfile b/mail/neomutt/Portfile
a
|
b
|
|
5 | 5 | PortGroup github 1.0 |
6 | 6 | |
7 | 7 | github.setup neomutt neomutt 20160916 neomutt- |
| 8 | revision 1 |
8 | 9 | categories mail |
9 | 10 | platforms darwin |
10 | 11 | license GPL-2 |
… |
… |
|
31 | 32 | checksums rmd160 976fe21be5ceebce5189bad4a87cff752ec900e9 \ |
32 | 33 | sha256 99e62e8b95125289c5d19df30127037276170dc50c98bbc711e2689366896b1e |
33 | 34 | |
34 | | configure.args --disable-warnings \ |
| 35 | configure.args --disable-compressed \ |
| 36 | --disable-debug \ |
| 37 | --disable-gpgme \ |
| 38 | --disable-hcache \ |
| 39 | --disable-imap \ |
| 40 | --disable-nntp \ |
| 41 | --disable-pop \ |
| 42 | --disable-sidebar \ |
| 43 | --disable-silent-rules \ |
| 44 | --disable-smtp \ |
| 45 | --disable-warnings \ |
35 | 46 | --mandir=${prefix}/share/man \ |
36 | 47 | --with-docdir=${prefix}/share/doc/mutt \ |
37 | 48 | --with-libiconv-prefix=${prefix} \ |
38 | 49 | --with-curses=${prefix} \ |
39 | | --disable-silent-rules |
| 50 | --without-bdb \ |
| 51 | --without-gdbm \ |
| 52 | --without-gnutls \ |
| 53 | --without-gss \ |
| 54 | --without-idn \ |
| 55 | --without-qdbm \ |
| 56 | --without-regex \ |
| 57 | --without-sasl \ |
| 58 | --without-slang \ |
| 59 | --without-ssl \ |
| 60 | --without-tokyocabinet |
40 | 61 | |
41 | 62 | default_variants +idn +imap +pop +ssl |
42 | 63 | |
… |
… |
|
50 | 71 | # delete horribly outdated ca bundle, I hope people weren't using that! |
51 | 72 | delete ${destroot}${prefix}/share/doc/mutt/samples/ca-bundle.crt |
52 | 73 | } |
53 | | |
54 | 74 | variant compress description {Compressed folders} { |
55 | | configure.args-append --enable-compressed |
| 75 | configure.args-replace --disable-compressed --enable-compressed |
56 | 76 | } |
57 | 77 | variant db4 conflicts qdbm gdbm tokyocabinet description {Use Berkeley DB database} { |
58 | | depends_lib-append port:db44 |
59 | | configure.args-append --with-bdb=${prefix} \ |
60 | | --without-qdbm \ |
61 | | --without-gdbm \ |
62 | | --without-tokyocabinet |
| 78 | configure.args-replace --without-bdb --with-bdb=${prefix} |
63 | 79 | configure.cppflags-append "-I${prefix}/include/db44" |
64 | 80 | configure.ldflags-append "-L${prefix}/lib/db44" |
| 81 | depends_lib-append port:db44 |
65 | 82 | } |
66 | 83 | variant debug description {Debugging support} { |
67 | | configure.args-append --enable-debug |
| 84 | configure.args-append --enable-debug |
68 | 85 | } |
69 | 86 | variant gdbm conflicts db4 qdbm tokyocabinet description {Use GNU dbm database} { |
70 | | depends_lib-append port:gdbm |
71 | | configure.args-append --with-gdbm \ |
72 | | --without-bdb \ |
73 | | --without-qdbm \ |
74 | | --without-tokyocabinet |
| 87 | configure.args-replace --without-gdbm --with-gdbm=${prefix} |
| 88 | depends_lib-append port:gdbm |
75 | 89 | } |
76 | 90 | variant gnuregex description {Use the GNU regular expression library} { |
77 | | configure.args-append --with-regex |
| 91 | configure.args-replace --without-regex -with-regex=${prefix} |
| 92 | depends_lib-append port:gnuregex |
78 | 93 | } |
79 | 94 | variant gpgme description {Enable GPGME crypto support} { |
80 | | configure.args-append --enable-gpgme \ |
81 | | --with-gpgme-prefix=${prefix} |
82 | | depends_lib-append port:gpgme |
| 95 | configure.args-replace --disable-gpgme --enable-gpgme |
| 96 | configure.args-append --with-gpgme-prefix=${prefix} |
| 97 | depends_lib-append port:gpgme |
83 | 98 | } |
84 | 99 | variant headercache conflicts db4 description {Enable header caching (requires gdbm, qdbm, or tokyocabinet)} { |
85 | | configure.args-append --enable-hcache |
| 100 | configure.args-replace --disable-hcache --enable-hcache |
86 | 101 | configure.ldflags-append "-L/usr/lib" |
87 | 102 | } |
88 | 103 | variant idn description {Internationalized Domain Name support} { |
89 | | configure.args-append --with-idn=${prefix} |
90 | | depends_lib-append port:libidn port:zlib |
| 104 | configure.args-replace --without-idb --with-idn=${prefix} |
| 105 | depends_lib-append port:libidn port:zlib |
91 | 106 | } |
92 | 107 | variant imap description {IMAP support} { |
93 | | configure.args-append --enable-imap |
| 108 | configure.args-replace --disable-imap --enable-imap |
94 | 109 | } |
95 | 110 | variant nntp description {NNTP support} { |
96 | | configure.args-append --enable-nntp |
| 111 | configure.args-replace --disable-nntp --enable-nntp |
97 | 112 | } |
98 | 113 | variant pop description {POP support} { |
99 | | configure.args-append --enable-pop |
| 114 | configure.args-replace --disable-pop --enable-pop |
100 | 115 | } |
101 | 116 | variant qdbm conflicts db4 gdbm tokyocabinet description {Use QDBM database} { |
102 | | depends_lib-append port:qdbm |
103 | | configure.args-append --with-qdbm \ |
104 | | --without-bdb \ |
105 | | --without-gdbm \ |
106 | | --without-tokyocabinet |
| 117 | configure.args-replace --without-qdbm --with-qdbm=${prefix} |
| 118 | depends_lib-append port:qdbm |
107 | 119 | } |
108 | 120 | variant sasl description {Simple Authentication and Security Layer support} { |
109 | | configure.args-append --with-sasl=${prefix} |
110 | | depends_lib-append port:cyrus-sasl2 |
| 121 | configure.args-replace --without-sasl --with-sasl=${prefix} |
| 122 | depends_lib-append port:cyrus-sasl2 |
111 | 123 | } |
112 | 124 | variant sidebar description {Add a sidebar with a list of folders} { |
113 | | configure.args-append --enable-sidebar |
| 125 | configure.args-replace --disable-sidebar --enable-sidebar |
114 | 126 | } |
115 | 127 | variant smtp description {Include internal SMTP relay support} { |
116 | | configure.args-append --enable-smtp |
| 128 | configure.args-replace --disable-smtp --enable-smtp |
117 | 129 | } |
118 | 130 | variant ssl description {Secure Sockets Layer support} { |
119 | | configure.args-append --with-ssl=${prefix} |
120 | | depends_lib-append path:lib/libssl.dylib:openssl |
| 131 | configure.args-replace --without-ssl --with-ssl=${prefix} |
| 132 | depends_lib-append path:lib/libssl.dylib:openssl |
121 | 133 | } |
122 | 134 | variant tokyocabinet conflicts db4 gdbm qdbm description {Use Tokyo Cabinet database} { |
123 | | depends_lib-append port:tokyocabinet |
124 | | configure.args-append --with-tokyocabinet \ |
125 | | --without-bdb \ |
126 | | --without-gdbm \ |
127 | | --without-qdbm |
| 135 | configure.args-replace --without-tokyocabinet --with-tokyocabinet=${prefix} |
| 136 | depends_lib-append port:tokyocabinet |
128 | 137 | } |
129 | 138 | |
130 | 139 | notes "This port does not install the pgpring binary. Please install the signing-party port if you need it." |