1 | # $Id: Portfile,v 1.8 2005/08/05 16:12:18 yeled Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name mutt-devel |
---|
5 | version 1.5.9 |
---|
6 | categories mail |
---|
7 | maintainers mij@opendarwin.org |
---|
8 | description Mongrel of Mail User Agents (part Elm, Pine, Mush, mh, etc) |
---|
9 | homepage http://www.mutt.org/ |
---|
10 | platforms darwin linux |
---|
11 | |
---|
12 | long_description Mutt -- "The Mongrel of Mail User Agents" (part Elm, part \ |
---|
13 | Pine, part mh, part slrn, part everything else) is an \ |
---|
14 | interactive screen-oriented mailer program that supersedes \ |
---|
15 | Elm, Pine, mail and mailx. Features include color support, \ |
---|
16 | message threading, MIME support (including RFC1522 support \ |
---|
17 | for encoded headers), customizable key bindings, POP3, \ |
---|
18 | Delivery Status Notification (DSN) support, and PGP/MIME. |
---|
19 | |
---|
20 | master_sites ftp://ftp.mutt.org/mutt/devel/ |
---|
21 | distname mutt-${portversion}i |
---|
22 | checksums ${distfiles} md5 c5318eba3404ebd78a15c680fa1b6056 |
---|
23 | patch.args -p1 |
---|
24 | |
---|
25 | worksrcdir mutt-${portversion} |
---|
26 | |
---|
27 | depends_build bin:XXX:autoconf |
---|
28 | |
---|
29 | configure.args --disable-warnings \ |
---|
30 | --mandir=${prefix}/share/man \ |
---|
31 | --with-docdir=${prefix}/share/doc/mutt \ |
---|
32 | |
---|
33 | variant darwin { |
---|
34 | configure.args-append --with-libiconv-prefix=${prefix} |
---|
35 | depends_lib lib:libiconv.2:libiconv lib:libintl.3:gettext |
---|
36 | } |
---|
37 | |
---|
38 | variant idn { |
---|
39 | configure.args-append --with-idn=${prefix} |
---|
40 | depends_lib lib:libidn.11:libidn |
---|
41 | } |
---|
42 | |
---|
43 | variant linux { |
---|
44 | configure.env CFLAGS=-I/usr/kerberos/include |
---|
45 | } |
---|
46 | |
---|
47 | variant pop { configure.args-append --enable-pop } |
---|
48 | variant imap { configure.args-append --enable-imap } |
---|
49 | variant ssl { configure.args-append --with-ssl } |
---|
50 | variant debug { configure.args-append --enable-debug } |
---|
51 | # use file size attribute instead of access time |
---|
52 | variant buffy { configure.args-append --enable-buffy-size } |
---|
53 | |
---|
54 | variant cvs { |
---|
55 | fetch.type cvs |
---|
56 | cvs.root :pserver:anonymous@cvs.mutt.org:/home/roessler/cvs |
---|
57 | cvs.module mutt |
---|
58 | cvs.password anonymous |
---|
59 | worksrcdir mutt |
---|
60 | configure.cmd ${worksrcpath}/prepare |
---|
61 | } |
---|
62 | |
---|
63 | variant compress { |
---|
64 | configure.args-append --enable-compressed |
---|
65 | patch_sites-append http://www.spinnaker.de/mutt/compressed/ |
---|
66 | patchfiles-append patch-1.5.9.rr.compressed.1.gz |
---|
67 | checksums-append patch-1.5.9.rr.compressed.1.gz md5 \ |
---|
68 | f372bd436424d8061440ecc8796a5978 |
---|
69 | } |
---|
70 | |
---|
71 | variant headercache { |
---|
72 | configure.args-append --enable-hcache |
---|
73 | depends_lib lib:libdb-4:db4 |
---|
74 | configure.env-append CPPFLAGS="-I${prefix}/include/db4" \ |
---|
75 | LDFLAGS="-L${prefix}/lib -L/usr/lib" |
---|
76 | use_autoconf yes |
---|
77 | } |
---|
78 | |
---|
79 | variant nntp { |
---|
80 | configure.args-append --enable-nntp |
---|
81 | patch_sites-append http://www.mutt.org.ua/download/mutt-1.5.9/ |
---|
82 | patchfiles-append patch-1.5.9.vvv.nntp.gz |
---|
83 | checksums-append patch-1.5.9.vvv.nntp.gz md5 \ |
---|
84 | f7cf37af82169eefe94c6c42c6f3b9cd |
---|
85 | } |
---|
86 | |
---|
87 | variant deepif { |
---|
88 | patch_sites-append http://home.uchicago.edu/~dgc/sw/mutt/ |
---|
89 | patchfiles-append patch-1.5.1.dgc.deepif.1 |
---|
90 | checksums-append patch-1.5.1.dgc.deepif.1 md5 \ |
---|
91 | d106063ac67b8afe107ed62abff79976 |
---|
92 | } |
---|
93 | |
---|
94 | # this is the trouble patch that doesn't adhere to -p1 "standard" |
---|
95 | variant date_conditional { |
---|
96 | patch.pre_args -p0 |
---|
97 | patch_sites-append http://www.shrab.com/aaron/mutt/ |
---|
98 | patchfiles-append patch-1.5.1.ats.date_conditional.1 |
---|
99 | checksums-append patch-1.5.1.ats.date_conditional.1 md5 \ |
---|
100 | a05034407ea0b489e429698dfdc04c17 |
---|
101 | } |
---|