<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/439bee4b37cd084cf7b52b62adf084a89a7bb6c9">https://github.com/macports/macports-ports/commit/439bee4b37cd084cf7b52b62adf084a89a7bb6c9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 439bee4b37cd084cf7b52b62adf084a89a7bb6c9
</span>Author: Leonardo Brondani Schenkel <leonardo@schenkel.net>
AuthorDate: Wed Oct 11 19:59:20 2017 +0200

<span style='display:block; white-space:pre;color:#404040;'>    neomutt: add +mutt variant
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Upstream now installs as 'neomutt' to allow side-by-side installation
</span><span style='display:block; white-space:pre;color:#404040;'>    with 'mutt'. Since MacPorts currently does not provide a 'mutt' port (it
</span><span style='display:block; white-space:pre;color:#404040;'>    has been removed due to the lack of maintainer) and also to preserve the
</span><span style='display:block; white-space:pre;color:#404040;'>    previous behaviour, this commit introduces a +mutt variant, enabled by
</span><span style='display:block; white-space:pre;color:#404040;'>    default, that installs a symlink so neomutt can still be invoked as
</span><span style='display:block; white-space:pre;color:#404040;'>    'mutt'.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    In the event that a 'mutt' port is reintroduced in the future, this
</span><span style='display:block; white-space:pre;color:#404040;'>    variant can be turned off to allow side-by-side installation of both
</span><span style='display:block; white-space:pre;color:#404040;'>    ports. (Most likely it will become the new default in that case.)
</span>---
 mail/neomutt/Portfile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

<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 e424310..f1e7e3d 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;'>@@ -38,7 +38,7 @@ configure.args      --disable-idn \
</span>                     --with-nls=${prefix} \
                     --with-ssl=${prefix}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants    +idn
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants    +idn +mutt
</span> if {${install.user} ne "root"} {
     default_variants-append     +homespool
 }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -85,6 +85,11 @@ variant lua description {Lua scripting support} {
</span>     configure.args-append       --with-lua=${prefix}
     depends_lib-append          port:lua
 }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mutt description {Create 'mutt' symlink} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        file link -symbolic ${destroot}${prefix}/bin/mutt neomutt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> variant notmuch description {Notmuch support} {
     configure.args-append       --with-notmuch=${prefix}
     depends_lib-append          port:notmuch
</pre><pre style='margin:0'>

</pre>