<pre style='margin:0'>
Leonardo Brondani Schenkel (lbschenkel) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/647e1975d1f628835494169e16e314d00c499a46">https://github.com/macports/macports-ports/commit/647e1975d1f628835494169e16e314d00c499a46</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 647e1975d1f628835494169e16e314d00c499a46
</span>Author: Leonardo Brondani Schenkel <lbschenkel@macports.org>
AuthorDate: Tue Aug 11 21:03:32 2020 +0200
<span style='display:block; white-space:pre;color:#404040;'> neomutt: add +doc variant (enabled by default)
</span>---
mail/neomutt/Portfile | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/mail/neomutt/Portfile b/mail/neomutt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 999e652a5e8..584b82ac15e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/mail/neomutt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mail/neomutt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,7 +25,6 @@ checksums rmd160 95b10e66ff280207b319dc96cb23dd516e4b2305 \
</span> sha256 fd97ee6051da9f7d621143be47549991c0c7a4b92c8a71b5a9fe18525b3cce36 \
size 3401690
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:docbook-xml-4.2 port:docbook-xsl-nons port:libxslt port:w3m
</span> depends_lib path:bin/perl:perl5 \
path:lib/libssl.dylib:openssl \
port:gettext \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,7 +57,8 @@ post-patch {
</span> docs/manual.xml.head
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --disable-idn \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --disable-doc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-idn \
</span> --with-ncurses=${prefix} \
--with-nls=${prefix} \
--with-ssl=${prefix} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,7 +68,7 @@ configure.args --disable-idn \
</span> configure.ccache no
configure.env-append CCACHE=none CC_FOR_BUILD=${configure.cc}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +gpgme +idn +mutt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants +doc +gpgme +idn +mutt
</span> if {${install.user} ne "root"} {
default_variants-append +homespool
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -81,6 +81,16 @@ variant db5 conflicts db4 description {Enable header cache using Berkeley DB dat
</span> configure.args-append --with-bdb=${prefix} --with-bdb-version=5.3
depends_lib-append port:db53
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant doc description {Build documentation} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-doc --enable-doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:docbook-xml-4.2 port:docbook-xsl-nons port:libxslt port:w3m
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # install mime.types in ${prefix}/etc as previous versions used to do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${destroot}${prefix}/share/doc/neomutt/mime.types \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/etc/mime.types.sample
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> variant gdbm description {Enable header cache using GNU dbm database} {
configure.args-append --with-gdbm=${prefix}
depends_lib-append port:gdbm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -153,9 +163,6 @@ variant tokyocabinet description {Enable header cache using Tokyo Cabinet databa
</span> post-destroot {
move ${destroot}${prefix}/etc/neomuttrc \
${destroot}${prefix}/etc/neomuttrc.sample
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # install mime.types in ${prefix}/etc as previous versions used to do
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${destroot}${prefix}/share/doc/neomutt/mime.types \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/etc/mime.types.sample
</span> # install examples in ${prefix}/share/examples
xinstall -d ${destroot}${prefix}/share/examples
move ${destroot}${prefix}/share/doc/neomutt/samples \
</pre><pre style='margin:0'>
</pre>