source: trunk/dports/mail/mutt/Portfile @ 99411

Last change on this file since 99411 was 99411, checked in by ryandesign@…, 7 years ago

mutt: fix compress and nntp variants (#17877)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.4 KB
Line 
1# $Id: Portfile 99411 2012-11-04 14:02:24Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                mutt
6version             1.4.2.3
7revision            1
8categories          mail
9license             GPL-2+
10platforms           darwin linux
11maintainers         nomaintainer
12description         Mongrel of Mail User Agents (part Elm, Pine, Mush, mh, etc)
13long_description    Mutt -- "The Mongrel of Mail User Agents" (part Elm, \
14                    part Pine, part mh, part slrn, part everything else) is \
15                    an interactive screen-oriented mailer program that \
16                    supersedes Elm, Pine, mail and mailx.  Features include \
17                    color support, message threading, MIME support \
18                    (including RFC1522 support for encoded headers), \
19                    customizable key bindings, POP3, Delivery Status \
20                    Notification (DSN) support, PGP/MIME, and S/MIME.
21
22homepage            http://www.mutt.org/
23master_sites        ftp://ftp.mutt.org/mutt/
24checksums           ${distfiles} \
25                        md5 dcb94661827dd090fa813e73e122ea0c \
26                        sha1 b23e46873f0247e85a4417cf338d64ea698c9b2c \
27                        rmd160 59e66c308cd4967e587ad1dc73dd76c7f0d06ef1
28
29depends_lib         port:gettext \
30                    port:libiconv \
31                    port:ncurses
32
33patch.args          -p1
34
35configure.args      --disable-warnings \
36                    --mandir=${prefix}/share/man \
37                    --with-docdir=${prefix}/share/doc/mutt
38
39platform darwin {
40    configure.args-append   --with-libiconv-prefix=${prefix}
41    depends_lib             port:gettext
42}
43
44platform linux {
45    configure.cflags    -I/usr/kerberos/include
46}
47
48variant pop description {POP support} {
49    configure.args-append   --enable-pop
50}
51variant imap description {IMAP support} {
52    configure.args-append   --enable-imap
53}
54variant ssl description {Secure Sockets Layer support} {
55    configure.args-append   --with-ssl
56    depends_lib-append      port:openssl
57}
58
59variant debug description {Debugging support} {
60    configure.args-append   --enable-debug
61}
62
63# use file size attribute instead of access time
64variant buffy {
65    configure.args-append   --enable-buffy-size
66}
67
68variant compress description {Compressed folders} {
69    depends_build-append    port:automake17 port:autoconf
70    configure.args-append   --enable-compressed
71
72    pre-configure {
73        system -W ${worksrcpath} "aclocal-17 -I m4; autoheader;
74                cd m4; make -f Makefile.am.in; cd ..;
75                automake-17 --foreign; autoconf"
76    }
77
78    patch_sites-append      http://www.spinnaker.de/mutt/compressed/
79    patchfiles-append       patch-1.4.2.3.rr.compressed.1.gz
80    checksums-append        patch-1.4.2.3.rr.compressed.1.gz md5 \
81                                e681845be515a02f4607db66d7bed919
82}
83
84variant nntp conflicts compress description {NNTP support} {
85    depends_build-append    port:automake17 port:autoconf
86    configure.args-append   --enable-nntp
87
88    pre-configure {
89        system -W ${worksrcpath} "aclocal-17 -I m4; autoheader;
90                cd m4; make -f Makefile.am.in; cd ..;
91                automake-17 --foreign; autoconf"
92    }
93
94    patch_sites-append      http://www.mutt.org.ua/download/mutt-1.4.2.3/
95    patchfiles-append       patch-1.4.2.3.vvv.nntp.gz
96    checksums-append        patch-1.4.2.3.vvv.nntp.gz md5 \
97                                94344bf43c12c771e234a6675d3acdc7
98}
Note: See TracBrowser for help on using the repository browser.