aboutsummaryrefslogtreecommitdiff
path: root/mail/procmail
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-02-24 10:40:29 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-02-24 10:40:29 +0000
commit4fe00b869b07fe04691b2773c34a6753041632f9 (patch)
tree9a4537224b18193f64c6f813002b8fdc0533541c /mail/procmail
parent0b554325147f16e21aa210ce1e71c9319d2d6526 (diff)
downloadports-4fe00b869b07fe04691b2773c34a6753041632f9.tar.gz
ports-4fe00b869b07fe04691b2773c34a6753041632f9.zip
Notes
Diffstat (limited to 'mail/procmail')
-rw-r--r--mail/procmail/Makefile16
-rw-r--r--mail/procmail/files/patch-src-autoconf (renamed from mail/procmail/files/patch-src:autoconf)0
-rw-r--r--mail/procmail/files/patch-src-mailfold.c (renamed from mail/procmail/files/patch-src:mailfold.c)0
3 files changed, 6 insertions, 10 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile
index e83670b30087..519502e0bb1c 100644
--- a/mail/procmail/Makefile
+++ b/mail/procmail/Makefile
@@ -17,6 +17,8 @@ MASTER_SITES= ftp://ftp.ucsb.edu/pub/mirrors/procmail/ \
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Local mail delivery agent
+OPTIONS_DEFINE= DOCS EXAMPLES
+
INSTALL_TARGET= install-suid install.man
PLIST_FILES= bin/formail bin/lockfile bin/mailstat bin/procmail \
@@ -27,20 +29,14 @@ 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|'
+ @${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} ${REINPLACE_CMD} -E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|'
post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${EXAMPLESDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>
diff --git a/mail/procmail/files/patch-src:autoconf b/mail/procmail/files/patch-src-autoconf
index ef615cb599ba..ef615cb599ba 100644
--- a/mail/procmail/files/patch-src:autoconf
+++ b/mail/procmail/files/patch-src-autoconf
diff --git a/mail/procmail/files/patch-src:mailfold.c b/mail/procmail/files/patch-src-mailfold.c
index a95d5eb24802..a95d5eb24802 100644
--- a/mail/procmail/files/patch-src:mailfold.c
+++ b/mail/procmail/files/patch-src-mailfold.c