[152763] trunk/dports/mail
dluke at macports.org
dluke at macports.org
Fri Sep 16 14:49:53 PDT 2016
Revision: 152763
https://trac.macports.org/changeset/152763
Author: dluke at macports.org
Date: 2016-09-16 14:49:53 -0700 (Fri, 16 Sep 2016)
Log Message:
-----------
neomutt: add new port (#52264)
Modified Paths:
--------------
trunk/dports/mail/mutt/Portfile
Added Paths:
-----------
trunk/dports/mail/neomutt/
trunk/dports/mail/neomutt/Portfile
Modified: trunk/dports/mail/mutt/Portfile
===================================================================
--- trunk/dports/mail/mutt/Portfile 2016-09-16 21:19:15 UTC (rev 152762)
+++ trunk/dports/mail/mutt/Portfile 2016-09-16 21:49:53 UTC (rev 152763)
@@ -20,6 +20,7 @@
groups of messages.
homepage http://www.mutt.org
+conflicts neomutt
depends_lib port:gettext \
port:libiconv \
port:ncurses
Added: trunk/dports/mail/neomutt/Portfile
===================================================================
--- trunk/dports/mail/neomutt/Portfile (rev 0)
+++ trunk/dports/mail/neomutt/Portfile 2016-09-16 21:49:53 UTC (rev 152763)
@@ -0,0 +1,133 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name neomutt
+version 20160910
+categories mail
+platforms darwin
+license GPL-2
+maintainers schenkel.net:leonardo
+
+description The Mutt E-Mail Client (patched version with added features)
+long_description Mutt is a small but very powerful text-based MIME \
+ mail client. Mutt is highly configurable, and is \
+ well suited to the mail power user with advanced \
+ features like key bindings, keyboard macros, mail \
+ threading, regular expression searches and \
+ a powerful pattern matching language for selecting \
+ groups of messages.
+homepage https://www.neomutt.org
+
+conflicts mutt
+depends_lib port:gettext \
+ port:libiconv \
+ port:ncurses
+
+depends_run path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
+
+master_sites https://github.com/neomutt/neomutt/archive/
+checksums ${distfiles} \
+ rmd160 f5a7d0c3d224ae9eeaa29a4bb9aa9b88d224258b \
+ sha256 cc1159c7210a706db765b7198ac53405d25e7577ff9e5cd2f1d062964213798b
+
+worksrcdir neomutt-neomutt-${version}
+use_autoreconf yes
+configure.args --disable-warnings \
+ --mandir=${prefix}/share/man \
+ --with-docdir=${prefix}/share/doc/mutt \
+ --with-libiconv-prefix=${prefix} \
+ --with-curses=${prefix} \
+ --disable-silent-rules
+
+default_variants +idn +imap +pop +ssl
+
+if {![variant_isset db4] && ![variant_isset qdbm] && ![variant_isset tokyocabinet]} {
+ variant_set gdbm
+}
+
+post-destroot {
+ # delete pgpring to avoid a conflict with signing-party
+ delete ${destroot}${prefix}/bin/pgpring ${destroot}${prefix}/share/man/man1/pgpring.1
+ # delete horribly outdated ca bundle, I hope people weren't using that!
+ delete ${destroot}${prefix}/share/doc/mutt/samples/ca-bundle.crt
+}
+
+variant compress description {Compressed folders} {
+ configure.args-append --enable-compressed
+}
+variant db4 conflicts qdbm gdbm tokyocabinet description {Use Berkeley DB database} {
+ depends_lib-append port:db44
+ configure.args-append --with-bdb=${prefix} \
+ --without-qdbm \
+ --without-gdbm \
+ --without-tokyocabinet
+ configure.cppflags-append "-I${prefix}/include/db44"
+ configure.ldflags-append "-L${prefix}/lib/db44"
+}
+variant debug description {Debugging support} {
+ configure.args-append --enable-debug
+}
+variant gdbm conflicts db4 qdbm tokyocabinet description {Use GNU dbm database} {
+ depends_lib-append port:gdbm
+ configure.args-append --with-gdbm \
+ --without-bdb \
+ --without-qdbm \
+ --without-tokyocabinet
+}
+variant gnuregex description {Use the GNU regular expression library} {
+ configure.args-append --with-regex
+}
+variant gpgme description {Enable GPGME crypto support} {
+ configure.args-append --enable-gpgme \
+ --with-gpgme-prefix=${prefix}
+ depends_lib-append port:gpgme
+}
+variant headercache conflicts db4 description {Enable header caching (requires gdbm, qdbm, or tokyocabinet)} {
+ configure.args-append --enable-hcache
+ configure.ldflags-append "-L/usr/lib"
+}
+variant idn description {Internationalized Domain Name support} {
+ configure.args-append --with-idn=${prefix}
+ depends_lib-append port:libidn port:zlib
+}
+variant imap description {IMAP support} {
+ configure.args-append --enable-imap
+}
+variant nntp description {NNTP support} {
+ configure.args-append --enable-nntp
+}
+variant pop description {POP support} {
+ configure.args-append --enable-pop
+}
+variant qdbm conflicts db4 gdbm tokyocabinet description {Use QDBM database} {
+ depends_lib-append port:qdbm
+ configure.args-append --with-qdbm \
+ --without-bdb \
+ --without-gdbm \
+ --without-tokyocabinet
+}
+variant sasl description {Simple Authentication and Security Layer support} {
+ configure.args-append --with-sasl=${prefix}
+ depends_lib-append port:cyrus-sasl2
+}
+variant sidebar description {Add a sidebar with a list of folders} {
+ configure.args-append --enable-sidebar
+}
+variant smtp description {Include internal SMTP relay support} {
+ configure.args-append --enable-smtp
+}
+variant ssl description {Secure Sockets Layer support} {
+ configure.args-append --with-ssl=${prefix}
+ depends_lib-append path:lib/libssl.dylib:openssl
+}
+variant tokyocabinet conflicts db4 gdbm qdbm description {Use Tokyo Cabinet database} {
+ depends_lib-append port:tokyocabinet
+ configure.args-append --with-tokyocabinet \
+ --without-bdb \
+ --without-gdbm \
+ --without-qdbm
+}
+
+notes "This port does not install the pgpring binary. Please install the signing-party port if you need it."
Property changes on: trunk/dports/mail/neomutt/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160916/36ba74dd/attachment.html>
More information about the macports-changes
mailing list