1 | # $Id: Portfile,v 1.5 2003/07/04 05:02:09 rshaw Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | name procmail |
---|
4 | version 3.22 |
---|
5 | categories mail |
---|
6 | maintainers robert@or.homeip.net |
---|
7 | description A local mail delivery agent |
---|
8 | homepage http://www.procmail.org/ |
---|
9 | master_sites ftp://ftp.procmail.org/pub/procmail/ \ |
---|
10 | ftp://ftp.psg.com/pub/unix/procmail/ \ |
---|
11 | ftp://ftp.ucsb.edu/pub/mirrors/procmail/ \ |
---|
12 | ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/ \ |
---|
13 | ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/ \ |
---|
14 | ftp://ftp.net.ohio-state.edu/pub/networking/mail/procmail/ \ |
---|
15 | ftp://ftp.fdt.net/pub/unix/packages/procmail/ \ |
---|
16 | ftp://ftp.tamu.edu/pub/mirrors/procmail/ \ |
---|
17 | ftp://ftp.kfki.hu/pub/packages/mail/procmail/ \ |
---|
18 | ftp://giswitch.sggw.waw.pl/pub/unix/procmail/ \ |
---|
19 | ftp://ftp.solarisguide.com/pub/procmail/ \ |
---|
20 | ftp://ftp.win.ne.jp/pub/network/mail/procmail/ \ |
---|
21 | http://www.ring.gr.jp/archives/net/mail/procmail/ \ |
---|
22 | ftp://ftp.ring.gr.jp/pub/net/mail/procmail/ \ |
---|
23 | ftp://ftp.ayamura.org/pub/procmail/ \ |
---|
24 | ftp://sunsite.cnlab-switch.ch/mirror/procmail/ \ |
---|
25 | ftp://ftp.gigabell.net/pub/procmail/ \ |
---|
26 | ftp://ftp.linja.net/pub/mirrors/procmail/ \ |
---|
27 | ftp://ftp.stealth.net/pub/mirrors/ftp.procmail.org/pub/procmail/ \ |
---|
28 | ftp://ftp.mirror.ac.uk/sites/ftp.procmail.org/pub/procmail/ |
---|
29 | checksums md5 1678ea99b973eb77eda4ecf6acae53f1 |
---|
30 | platforms darwin |
---|
31 | configure { |
---|
32 | cd ${worksrcpath} |
---|
33 | system "mv INSTALL INSTALL.README" |
---|
34 | reinplace "s%^/\\*\\(#define\[ \t\]*DEF\[S\]*PATH\[ \t\]*\".*\\)\".*$%\\1:${prefix}/bin:/usr/X11R6/bin\"%" config.h |
---|
35 | reinplace "s%/etc/procmailrc%${prefix}/etc/procmailrc%" config.h |
---|
36 | reinplace "s%/usr/local%${prefix}%g" Makefile |
---|
37 | } |
---|
38 | build.args BASENAME=${destroot}${prefix} LOCKINGTEST=/tmp |
---|
39 | install.args BASENAME=${destroot}${prefix} LOCKINGTEST=/tmp install-suid |
---|
40 | |
---|
41 | long_description \ |
---|
42 | The procmail mail processing program can be used to create mail-servers, \ |
---|
43 | mailing lists, sort your incoming mail into separate folders/files (real \ |
---|
44 | convenient when subscribing to one or more mailing lists or for \ |
---|
45 | prioritising your mail), preprocess your mail, start any programs upon \ |
---|
46 | mail arrival (e.g. to generate different chimes on your workstation for \ |
---|
47 | different types of mail) or selectively forward certain incoming mail \ |
---|
48 | automatically to someone. \ |
---|
49 | \ |
---|
50 | Procmail can be used: \ |
---|
51 | - and installed by an unprivileged user (for himself only). \ |
---|
52 | - as a drop in replacement for the local delivery agent /bin/mail (with \ |
---|
53 | biff/comsat support). \ |
---|
54 | - as a general mailfilter for whole groups of messages (e.g. when called \ |
---|
55 | from within sendmail.cf rules). \ |
---|
56 | \ |
---|
57 | The accompanying formail program enables you to generate autoreplies, \ |
---|
58 | split up digests/mailboxes into the original messages, do some very \ |
---|
59 | simple header-munging/extraction, or force mail into mail-format (with \ |
---|
60 | leading From line). |
---|
61 | |
---|