View | Details | Raw Unified | Return to bug 30881
Collapse All | Expand All

(-)Makefile (-8 / +61 lines)
Lines 6-31 Link Here
6
#
6
#
7
7
8
PORTNAME=	procmail
8
PORTNAME=	procmail
9
PORTVERSION=    3.21
9
PORTVERSION=    3.22
10
CATEGORIES=	mail
10
CATEGORIES=	mail
11
MASTER_SITES=	ftp://ftp.procmail.org/pub/procmail/ \
11
MASTER_SITES=	ftp://ftp.procmail.org/pub/procmail/ \
12
		ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/
12
		ftp://ftp.psg.com/pub/unix/procmail/ \
13
		ftp://ftp.ucsb.edu/pub/mirrors/procmail/ \
14
		ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/ \
15
		ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/ \
16
		ftp://ftp.net.ohio-state.edu/pub/networking/mail/procmail/ \
17
		ftp://ftp.fdt.net/pub/unix/packages/procmail/ \
18
		ftp://ftp.tamu.edu/pub/mirrors/procmail/ \
19
		ftp://ftp.kfki.hu/pub/packages/mail/procmail/ \
20
		ftp://giswitch.sggw.waw.pl/pub/unix/procmail/ \
21
		ftp://ftp.solarisguide.com/pub/procmail/ \
22
		ftp://ftp.win.ne.jp/pub/network/mail/procmail/ \
23
		http://www.ring.gr.jp/archives/net/mail/procmail/ \
24
		ftp://ftp.ring.gr.jp/pub/net/mail/procmail/ \
25
		ftp://ftp.ayamura.org/pub/procmail/ \
26
		ftp://sunsite.cnlab-switch.ch/mirror/procmail/ \
27
		ftp://ftp.gigabell.net/pub/procmail/ \
28
		ftp://ftp.linja.net/pub/mirrors/procmail/ \
29
		ftp://ftp.stealth.net/pub/mirrors/ftp.procmail.org/pub/procmail/ \
30
		ftp://ftp.mirror.ac.uk/sites/ftp.procmail.org/pub/procmail/
13
31
14
MAINTAINER=	ache@FreeBSD.org
32
MAINTAINER=	ache@FreeBSD.org
15
33
16
INSTALL_TARGET=	install-suid install.man
34
# Global variables
35
#
17
36
18
# It asks for list of directories to do test for file locking
37
# It asks for list of directories to do test for file locking
19
# (defaults to /tmp and ".", so return should suffice in most cases).
38
# (defaults to /tmp and ".", so return should suffice in most cases).
20
.if !defined(PACKAGE_BUILDING) # handled in patch-aa
39
.if !defined(BATCH) # handled in patch-aa
21
IS_INTERACTIVE=	yes
40
IS_INTERACTIVE=	yes
22
.endif
41
.endif
42
43
INSTALL_TARGET=	install-suid install.man
44
23
MAN1=		procmail.1 formail.1 lockfile.1
45
MAN1=		procmail.1 formail.1 lockfile.1
24
MAN5=		procmailex.5 procmailrc.5 procmailsc.5
46
MAN5=		procmailex.5 procmailrc.5 procmailsc.5
47
48
# Local variables
49
#
50
51
DOC_FILES=	FAQ FEATURES HISTORY KNOWN_BUGS README
52
53
SAMPLESDIR=	${PREFIX}/share/examples/${PORTNAME}
54
SAMPLE_FILES=	1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \
55
		advanced dirname forward local_procmail_lmtp.m4 mailstat
25
56
26
.include <bsd.port.pre.mk>
57
# Post-configure
58
#
27
59
28
post-configure:
60
post-configure: patch-config
29
	@${PERL} -pi -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/config.h
61
62
patch-config:
63
	@${PERL} -pi.fbsd -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
64
65
# Post-install
66
#
67
68
post-install: install-sample install-doc
69
70
install-sample:
71
	@${MKDIR} ${SAMPLESDIR}
72
.for file in ${SAMPLE_FILES}
73
	@${INSTALL_DATA} ${WRKSRC}/examples/${file} ${SAMPLESDIR}
74
.endfor
75
76
install-doc:
77
.if !defined(NOPORTSDOC)
78
	@${MKDIR} ${DOCSDIR}
79
.for file in ${DOC_FILES}
80
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
81
.endfor
82
.endif
30
83
31
.include <bsd.port.post.mk>
84
.include <bsd.port.mk>
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (procmail-3.21.tar.gz) = 2a0491030e7bff3292257d02a93cbe91
1
MD5 (procmail-3.22.tar.gz) = 1678ea99b973eb77eda4ecf6acae53f1
(-)pkg-descr (-1 / +19 lines)
Lines 1-3 Link Here
1
This is ProcMail, the ultimate incoming mail processor.
1
The procmail mail processing program can be used to create mail-servers,
2
mailing lists, sort your incoming mail into separate folders/files (real
3
convenient when subscribing to one or more mailing lists or for prioritising
4
your mail), preprocess your mail, start any programs upon mail arrival
5
(e.g. to generate different chimes on your workstation for different
6
types of mail) or selectively forward certain incoming mail automatically
7
to someone.
8
9
Procmail can be used:
10
        - and installed by an unprivileged user (for himself only).
11
        - as a drop in replacement for the local delivery agent /bin/mail
12
          (with biff/comsat support).
13
        - as a general mailfilter for whole groups of messages (e.g. when
14
          called from within sendmail.cf rules).
15
16
The accompanying formail program enables you to generate autoreplies,
17
split up digests/mailboxes into the original messages, do some very
18
simple header-munging/extraction, or force mail into mail-format (with
19
leading From line).
2
20
3
WWW: http://www.procmail.org/
21
WWW: http://www.procmail.org/
(-)pkg-plist (+19 lines)
Lines 1-4 Link Here
1
@comment $FreeBSD$
1
bin/procmail
2
bin/procmail
2
bin/formail
3
bin/formail
3
bin/lockfile
4
bin/lockfile
4
bin/mailstat
5
bin/mailstat
6
%%PORTDOCS%%share/doc/procmail/FAQ
7
%%PORTDOCS%%share/doc/procmail/FEATURES
8
%%PORTDOCS%%share/doc/procmail/HISTORY
9
%%PORTDOCS%%share/doc/procmail/KNOWN_BUGS
10
%%PORTDOCS%%share/doc/procmail/README
11
share/examples/procmail/1procmailrc
12
share/examples/procmail/1rmail
13
share/examples/procmail/2procmailrc
14
share/examples/procmail/2rmail
15
share/examples/procmail/3procmailrc
16
share/examples/procmail/3rmail
17
share/examples/procmail/advanced
18
share/examples/procmail/dirname
19
share/examples/procmail/forward
20
share/examples/procmail/local_procmail_lmtp.m4
21
share/examples/procmail/mailstat
22
@dirrm share/examples/procmail
23
%%PORTDOCS%%@dirrm share/doc/procmail
(-)files/patch-aa (-1 / +1 lines)
Lines 23-29 Link Here
23
  
23
  
24
  # Makefile.0 - mark, don't (re)move this, a sed script needs it
24
  # Makefile.0 - mark, don't (re)move this, a sed script needs it
25
  
25
  
26
+ .if defined(PACKAGE_BUILDING)
26
+ .if defined(BATCH)
27
+ LOCKINGTEST=/tmp .
27
+ LOCKINGTEST=/tmp .
28
+ .else
28
+ .else
29
  LOCKINGTEST=__defaults__
29
  LOCKINGTEST=__defaults__
(-)files/patch-ab (-2 / +2 lines)
Lines 38-48 Link Here
38
  	is not found, maildelivery will proceed as normal to the default
38
  	is not found, maildelivery will proceed as normal to the default
39
  	system mailbox. */
39
  	system mailbox. */
40
  
40
  
41
! #define ETCRC   "/usr/local/etc/procmailrc"       /* optional global procmailrc startup
41
! #define ETCRC   "%%PREFIX%%/etc/procmailrc"       /* optional global procmailrc startup
42
  					   file (will only be read if procmail
42
  					   file (will only be read if procmail
43
  	is started with no rcfile on the command line). */
43
  	is started with no rcfile on the command line). */
44
  
44
  
45
! #define ETCRCS  "/usr/local/etc/procmailrcs/"     /* optional trusted path prefix for
45
! #define ETCRCS  "%%PREFIX%%/etc/procmailrcs/"     /* optional trusted path prefix for
46
  					   rcfiles which will be executed with
46
  					   rcfiles which will be executed with
47
  	the uid of the owner of the rcfile (this only happens if procmail is
47
  	the uid of the owner of the rcfile (this only happens if procmail is
48
  	called with the -m option, without variable assignments on the command
48
  	called with the -m option, without variable assignments on the command

Return to bug 30881