summaryrefslogtreecommitdiff
path: root/mail/procmail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/procmail/Makefile')
-rw-r--r--mail/procmail/Makefile63
1 files changed, 16 insertions, 47 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile
index b7d4c35f9fe1..2eaf7521e3eb 100644
--- a/mail/procmail/Makefile
+++ b/mail/procmail/Makefile
@@ -9,69 +9,38 @@ PORTNAME= procmail
PORTVERSION= 3.22
PORTREVISION= 7
CATEGORIES= mail
-MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \
- ftp://ftp.psg.com/pub/unix/procmail/ \
- ftp://ftp.ucsb.edu/pub/mirrors/procmail/ \
+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.net.ohio-state.edu/pub/networking/mail/procmail/ \
ftp://ftp.kfki.hu/pub/packages/mail/procmail/ \
- ftp://giswitch.sggw.waw.pl/pub/unix/procmail/ \
http://www.ring.gr.jp/archives/net/mail/procmail/ \
ftp://ftp.ring.gr.jp/pub/net/mail/procmail/ \
- ftp://sunsite.cnlab-switch.ch/mirror/procmail/ \
- ftp://ftp.mirrorservice.org/sites/ftp.procmail.org/pub/procmail/
+ ftp://ftp.mirrorservice.org/sites/ftp.procmail.org/pub/procmail/ \
+ LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= A local mail delivery agent
-MAKE_JOBS_UNSAFE= yes
-
-#.if defined(WITH_COURIER_MAILDIR_KLUDGE)
-#PATCH_SITES= http://www.john.net.au/pub/procmail-courier/
-#PATCHFILES= procmail-authenticate.c-userMaildir.patch
-#PATCH_DIST_STRIP=-p
-#.endif
-
INSTALL_TARGET= install-suid install.man
+MAKE_JOBS_UNSAFE= yes
-MAN1= procmail.1 formail.1 lockfile.1
-MAN5= procmailex.5 procmailrc.5 procmailsc.5
-
-# Local variables
-#
-
-DOC_FILES= FAQ FEATURES HISTORY KNOWN_BUGS README
-
-SAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
-SAMPLE_FILES= 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \
+DOCS= FAQ FEATURES HISTORY KNOWN_BUGS README
+EXAMPLES= 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \
advanced dirname forward local_procmail_lmtp.m4 mailstat
+MAN1= formail.1 lockfile.1 procmail.1
+MAN5= procmailex.5 procmailrc.5 procmailsc.5
-# Post-configure
-#
-
-post-configure: patch-config
-
-patch-config:
+post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
-# Post-install
-#
-
-post-install: install-sample install-doc
-
-install-sample:
- @${MKDIR} ${SAMPLESDIR}
-.for file in ${SAMPLE_FILES}
- @${INSTALL_DATA} ${WRKSRC}/examples/${file} ${SAMPLESDIR}
-.endfor
-
-install-doc:
+post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+ ${MKDIR} ${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}/
+ cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>