<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/dffd86ffba007043a89fcc2ca153708710473de9">https://github.com/macports/macports-ports/commit/dffd86ffba007043a89fcc2ca153708710473de9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit dffd86ffba007043a89fcc2ca153708710473de9
</span>Author: Leonardo Brondani Schenkel <leonardo@schenkel.net>
AuthorDate: Tue Oct 17 22:40:06 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> neomutt: do not overwrite user configuration files
</span>---
mail/neomutt/Portfile | 13 +++++++++++++
1 file changed, 13 insertions(+)
<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 262ef59..cb45101 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;'>@@ -113,8 +113,21 @@ post-extract {
</span> gpg.rc pgp5.rc smime.rc
}
post-destroot {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/etc/neomuttrc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/etc/neomuttrc.sample
</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> # install examples in ${prefix}/share/examples
xinstall -d ${destroot}${prefix}/share/examples
move ${destroot}${prefix}/share/doc/neomutt/samples \
${destroot}${prefix}/share/examples/neomutt
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f { mime.types neomuttrc } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${prefix}/etc/${f}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${prefix}/etc/${f}.sample \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/etc/${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>