Skip to content
Permalink
Browse files

updated portfile, revision 1 added

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3006 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum
Michael Maibaum committed Jul 4, 2003
1 parent c0c3278 commit d3c3d32e540a1df3e59871ffe189fa449d0632bb
Showing with 25 additions and 40 deletions.
  1. +25 −40 mail/procmail/Portfile
@@ -1,7 +1,8 @@
# $Id: Portfile,v 1.1 2003/07/01 11:56:42 michaelm Exp $
# $Id: Portfile,v 1.2 2003/07/04 09:34:58 michaelm Exp $
PortSystem 1.0
name procmail
version 3.22
revision 1
categories mail
maintainers robert@or.homeip.net
description A local mail delivery agent
@@ -26,52 +27,36 @@ master_sites ftp://ftp.procmail.org/pub/procmail/ \
ftp://ftp.linja.net/pub/mirrors/procmail/ \
ftp://ftp.stealth.net/pub/mirrors/ftp.procmail.org/pub/procmail/ \
ftp://ftp.mirror.ac.uk/sites/ftp.procmail.org/pub/procmail/

checksums md5 1678ea99b973eb77eda4ecf6acae53f1
patchfiles patch-config.h patch-Makefile patch-Makefile.1
platforms darwin
configure {
cd ${worksrcpath}
system "mv INSTALL INSTALL.README"
reinplace "s|@PREFIX@|${prefix}|g" config.h
}
build.args PREFIX=${prefix}
install.args PREFIX=${prefix}
install.target install install-suid
post-install {
cd ${worksrcpath}
system "install -m 755 -d \
${destroot}${prefix}/share/${portname}"
system "install -m 644 FAQ FEATURES HISTORY KNOWN_BUGS README \
${destroot}${prefix}/share/${portname}/"
system "install -m 755 -d \
${destroot}${prefix}/share/${portname}/examples"
system "install -m 644 examples/* \
${destroot}${prefix}/share/${portname}/examples/"
reinplace "s%^/\\*\\(#define\[ \t\]*DEF\[S\]*PATH\[ \t\]*\".*\\)\".*$%\\1:${prefix}/bin:/usr/X11R6/bin\"%" config.h
reinplace "s%/etc/procmailrc%${prefix}/etc/procmailrc%" config.h
reinplace "s%/usr/local%${prefix}%g" Makefile
}
build.args BASENAME=${destroot}${prefix} LOCKINGTEST=/tmp
install.args BASENAME=${destroot}${prefix} LOCKINGTEST=/tmp install-suid

long_description \
The procmail mail processing program can be used \
to create mail-servers, mailing lists, sort your \
incoming mail into separate folders/files (real \
convenient when subscribing to one or more mailing \
lists or for prioritising your mail), preprocess \
your mail, start any programs upon mail arrival \
(e.g. to generate different chimes on your \
workstation for different types of mail) or \
selectively forward certain incoming mail \
automatically to someone. \
The procmail mail processing program can be used to create mail-servers, \
mailing lists, sort your incoming mail into separate folders/files (real \
convenient when subscribing to one or more mailing lists or for \
prioritising your mail), preprocess your mail, start any programs upon \
mail arrival (e.g. to generate different chimes on your workstation for \
different types of mail) or selectively forward certain incoming mail \
automatically to someone. \
\
Procmail can be used: \
- and installed by an unprivileged user (for \
himself only). \
- as a drop in replacement for the local delivery \
agent /bin/mail (with biff/comsat support). \
- as a general mailfilter for whole groups of \
messages (e.g. when called from within sendmail.cf \
rules). \
- and installed by an unprivileged user (for himself only). \
- as a drop in replacement for the local delivery agent /bin/mail (with \
biff/comsat support). \
- as a general mailfilter for whole groups of messages (e.g. when called \
from within sendmail.cf rules). \
\
The accompanying formail program enables you to \
generate autoreplies, split up digests/mailboxes \
into the original messages, do some very simple \
header-munging/extraction, or force mail into \
mail-format (with leading From line).
The accompanying formail program enables you to generate autoreplies, \
split up digests/mailboxes into the original messages, do some very \
simple header-munging/extraction, or force mail into mail-format (with \
leading From line).

0 comments on commit d3c3d32

Please sign in to comment.
You can’t perform that action at this time.