Changeset 152967


Ignore:
Timestamp:
Sep 21, 2016, 12:52:01 PM (3 years ago)
Author:
cal@…
Message:

mutt: replace w/neomutt to reduce maint. effort

Maintaining all our patches against mutt in the ports tree is considerable
effort; now that the NeoMutt project does this for us, replace our mutt port
with neomutt to avoid wasting our time.

Closes: #52297

Location:
trunk/dports/mail/mutt
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/mutt/Portfile

    r152763 r152967  
    66name                mutt
    77version             1.6.0
     8revision            1
    89categories          mail
    9 platforms           darwin
    10 license             GPL-2
    11 maintainers         nomaintainer
    1210
    13 description         The Mutt E-Mail Client
    14 long_description    Mutt is a small but very powerful text-based MIME \
    15                     mail client. Mutt is highly configurable, and is \
    16                     well suited to the mail power user with advanced \
    17                     features like key bindings, keyboard macros, mail \
    18                     threading, regular expression searches and \
    19                     a powerful pattern matching language for selecting \
    20                     groups of messages.
    21 homepage            http://www.mutt.org
     11replaced_by         neomutt
     12PortGroup           obsolete 1.0
    2213
    23 conflicts           neomutt
    24 depends_lib         port:gettext \
    25                     port:libiconv \
    26                     port:ncurses
    27 
    28 depends_run         path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
    29 
    30 master_sites        https://bitbucket.org/mutt/mutt/downloads/
    31 checksums           ${distfiles} \
    32                     rmd160  1ea7153ef05413d0068b5478acad87927e5cecdb \
    33                     sha256  29afb6238ab7a540c0e3a78ce25c970f975ab6c0f0bc9f919993aab772136c19
    34 
    35 patch.pre_args      -p1
    36 # Fix for handling emails from bad clients w.r.t smime
    37 # See https://trac.macports.org/ticket/39362 and http://dev.mutt.org/trac/ticket/3285
    38 patchfiles-append   patch-thunderbird-fix.diff
    39 
    40 configure.args      --disable-warnings \
    41                     --mandir=${prefix}/share/man \
    42                     --with-docdir=${prefix}/share/doc/mutt \
    43                     --with-libiconv-prefix=${prefix} \
    44                     --with-curses=${prefix} \
    45                     --disable-silent-rules
    46 
    47 default_variants    +pop +imap +idn
    48 
    49 if {![variant_isset db4] && ![variant_isset qdbm] && ![variant_isset tokyocabinet]} {
    50     variant_set     gdbm
    51 }
    52 
    53 # These variants' patches modify Makefile.am
    54 if {[variant_isset compress] || [variant_isset sidebar]} {
    55     use_autoreconf  yes
    56 }
    57 
    58 post-destroot {
    59     # delete pgpring to avoid a conflict with signing-party
    60     delete ${destroot}${prefix}/bin/pgpring ${destroot}${prefix}/share/man/man1/pgpring.1
    61     # delete horribly outdated ca bundle, I hope people weren't using that!
    62     delete ${destroot}${prefix}/share/doc/mutt/samples/ca-bundle.crt
    63 }
    64 
    65 variant idn description {Internationalized Domain Name support} {
    66     configure.args-append   --with-idn=${prefix}
    67     depends_lib-append      port:libidn port:zlib
    68 }
    69 
    70 variant pop description {POP support} {
    71     configure.args-append   --enable-pop
    72 }
    73 variant imap description {IMAP support} {
    74     configure.args-append   --enable-imap
    75 }
    76 variant ssl description {Secure Sockets Layer support} {
    77     configure.args-append   --with-ssl=${prefix}
    78     depends_lib-append      path:lib/libssl.dylib:openssl
    79 }
    80 variant sasl description {Simple Authentication and Security Layer support} {
    81     configure.args-append   --with-sasl=${prefix}
    82     depends_lib-append      port:cyrus-sasl2
    83 }
    84 
    85 variant debug description {Debugging support} {
    86     configure.args-append   --enable-debug
    87 }
    88 
    89 variant gnuregex description {Use the GNU regular expression library} {
    90     configure.args-append   --with-regex
    91 }
    92 
    93 variant compress description {Compressed folders} {
    94     configure.args-append   --enable-compressed
    95     patch_sites-append      http://www.mutt.org.ua/download/mutt-1.5.24/
    96     patchfiles-append       patch-1.5.24.rr.compressed.gz
    97     checksums-append        patch-1.5.24.rr.compressed.gz \
    98                             rmd160  2bf71a26de195ce11ed4ffa25403363cab7c9b72 \
    99                             sha256  c5eb9b53f7bd3feaa5ee03722575f64e43512b756c099ffe20db6fe5c958e3dc
    100 }
    101 
    102 variant headercache conflicts db4 description {Enable header caching (requires gdbm, qdbm, or tokyocabinet)} {
    103     configure.args-append       --enable-hcache
    104     configure.ldflags-append    "-L/usr/lib"
    105 }
    106 
    107 variant qdbm conflicts db4 gdbm tokyocabinet description {Use QDBM database} {
    108     depends_lib-append      port:qdbm
    109     configure.args-append   --with-qdbm \
    110                             --without-bdb \
    111                             --without-gdbm \
    112                             --without-tokyocabinet
    113 }
    114 
    115 variant gdbm conflicts db4 qdbm tokyocabinet description {Use GNU dbm database} {
    116     depends_lib-append      port:gdbm
    117     configure.args-append   --with-gdbm \
    118                             --without-bdb \
    119                             --without-qdbm \
    120                             --without-tokyocabinet
    121 }
    122 
    123 variant db4 conflicts qdbm gdbm tokyocabinet description {Use Berkeley DB database} {
    124     depends_lib-append          port:db44
    125     configure.args-append       --with-bdb=${prefix} \
    126                                 --without-qdbm \
    127                                 --without-gdbm \
    128                                 --without-tokyocabinet
    129     configure.cppflags-append   "-I${prefix}/include/db44"
    130     configure.ldflags-append    "-L${prefix}/lib/db44"
    131 }
    132 
    133 variant tokyocabinet conflicts db4 gdbm qdbm description {Use Tokyo Cabinet database} {
    134     depends_lib-append      port:tokyocabinet
    135     configure.args-append   --with-tokyocabinet \
    136                             --without-bdb \
    137                             --without-gdbm \
    138                             --without-qdbm
    139 }
    140 
    141 # The patches for nntp and sidebar conflict, see ticket #15135
    142 variant nntp conflicts sidebar description {NNTP support} {
    143     configure.args-append   --enable-nntp
    144     patch_sites-append      http://www.mutt.org.ua/download/mutt-1.5.24/
    145     patchfiles-append       patch-1.5.24.vvv.nntp.gz
    146     checksums-append        patch-1.5.24.vvv.nntp.gz \
    147                             rmd160  028b86c3864ec2b8a485b998ce42d55fbb98e205 \
    148                             sha256  d34be4542d549aab6de9f7038c88b3eeefe826db643c92b27e1e65ab5f7d573e
    149 }
    150 
    151 variant deepif description {Allow nested if-else sequences in strings} {
    152     patch_sites-append      http://home.uchicago.edu/~dgc/sw/mutt/
    153     patchfiles-append       patch-1.5.8.dgc.deepif.1
    154     checksums-append        patch-1.5.8.dgc.deepif.1 \
    155                             rmd160  9372934147e8b832390c45833d0b8ce6c704dd24 \
    156                             sha256  570c343a440f5957e8e4639bda598c861cfaeae065a380a2c01ccb17d373ce6b
    157 }
    158 
    159 variant date_conditional requires deepif description \
    160     {Allow the format of dates in the index to vary based on how recent the message is} {
    161     # original, but now dgc hosts it with -p1
    162     #patch_sites-append http://www.schrab.com/aaron/mutt/
    163     patch_sites-append      http://home.uchicago.edu/~dgc/sw/mutt/
    164     patchfiles-append       patch-1.5.8.ats.date_conditional.1
    165     checksums-append        patch-1.5.8.ats.date_conditional.1 \
    166                             rmd160  fc3703edc66b5043227a7abcfed10a9c44873fd0 \
    167                             sha256  9e81f9f52577eb572e29651402ded3690e470d1628a890af9f3ad25b665d600f
    168 }
    169 
    170 variant xlabel description {Custom message-tagging - X-Label:} {
    171     patchfiles-append       patch-1.5.21.mp.xlabel_ext.9
    172 }
    173 
    174 variant smtp description {Include internal SMTP relay support} {
    175     configure.args-append   --enable-smtp
    176 }
    177 
    178 variant sidebar conflicts nntp trash description {Add a sidebar with a list of folders} {
    179     # http://www.lunar-linux.org/mutt-sidebar/
    180     #patch_sites-append      http://lunar-linux.org/~tchan/mutt:sidebar-patch
    181     patchfiles-append       patch-1.6.0.sidebar.20160408.macports.diff \
    182                             1-Make_hierarchy_separator_for_folder_indentation_configurable.patch \
    183                             2-Support_long_er__folder_names_in_sidebar.patch
    184     #checksums-append        patch-1.5.24.sidebar.20151111.txt \
    185     #                        rmd160  521938ab47440e93f73bc5ae358e867ab3d3212c \
    186     #                        sha256  66441edf056032119f854fc5ee86c73eece8b95dc998c0cfae5ed05b0b035070
    187 }
    188 
    189 # Trash patch from https://trac.macports.org/ticket/20412 conflicts with sidebar patch on global.h
    190 variant trash conflicts sidebar description {Add a Trash folder} {
    191     patchfiles-append       patch-1.5.24-trash_folder-purge_message.diff
    192 }
    193 
    194 variant gpgme description {Enable GPGME crypto support} {
    195     configure.args-append   --enable-gpgme \
    196                             --with-gpgme-prefix=${prefix}
    197     depends_lib-append      port:gpgme
    198 }
    199 
    200 notes "This port no longer installs the pgpring binary. Please install the signing-party port if you need it."
    201 
    202 livecheck.url       ${homepage}/download.html
    203 livecheck.type      regex
    204 livecheck.regex     {The current stable public release version is (\d+(?:\.\d+)*)}
Note: See TracChangeset for help on using the changeset viewer.