blob: 64e482584ca2c487dffc0b440fc222c898950cfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: Adam David <adam@FreeBSD.org>
# $FreeBSD$
PORTNAME= procmail
PORTVERSION= 3.22
PORTREVISION= 7
CATEGORIES= mail
MASTER_SITES= ftp://ftp.ucsb.edu/pub/mirrors/procmail/ \
ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/ \
ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/ \
ftp://ftp.kfki.hu/pub/packages/mail/procmail/ \
http://www.ring.gr.jp/archives/net/mail/procmail/ \
ftp://ftp.ring.gr.jp/pub/net/mail/procmail/ \
ftp://ftp.mirrorservice.org/sites/ftp.procmail.org/pub/procmail/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Local mail delivery agent
INSTALL_TARGET= install-suid install.man
MAN1= formail.1 lockfile.1 procmail.1
MAN5= procmailex.5 procmailrc.5 procmailsc.5
PLIST_FILES= bin/formail bin/lockfile bin/mailstat bin/procmail
PORTDOCS= FAQ FEATURES HISTORY KNOWN_BUGS README
PORTEXAMPLES= 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \
advanced dirname forward local_procmail_lmtp.m4 mailstat
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
# Allow parallel builds (-jX) to work
@${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} ${REINPLACE_CMD} \
-E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|'
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|