1994-09-25 18:59:08 +00:00
|
|
|
# New ports collection makefile for: procmail
|
|
|
|
# Date created: 24 September 1994
|
|
|
|
# Whom: adam
|
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1994-09-25 18:59:08 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 20:01:08 +00:00
|
|
|
PORTNAME= procmail
|
2001-09-29 09:00:32 +00:00
|
|
|
PORTVERSION= 3.22
|
2002-11-10 23:14:28 +00:00
|
|
|
PORTREVISION= 1
|
1996-11-10 21:32:56 +00:00
|
|
|
CATEGORIES= mail
|
1999-03-07 18:02:17 +00:00
|
|
|
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \
|
2001-09-29 09:00:32 +00:00
|
|
|
ftp://ftp.psg.com/pub/unix/procmail/ \
|
|
|
|
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.fdt.net/pub/unix/packages/procmail/ \
|
|
|
|
ftp://ftp.tamu.edu/pub/mirrors/procmail/ \
|
|
|
|
ftp://ftp.kfki.hu/pub/packages/mail/procmail/ \
|
|
|
|
ftp://giswitch.sggw.waw.pl/pub/unix/procmail/ \
|
|
|
|
ftp://ftp.solarisguide.com/pub/procmail/ \
|
|
|
|
ftp://ftp.win.ne.jp/pub/network/mail/procmail/ \
|
|
|
|
http://www.ring.gr.jp/archives/net/mail/procmail/ \
|
|
|
|
ftp://ftp.ring.gr.jp/pub/net/mail/procmail/ \
|
|
|
|
ftp://ftp.ayamura.org/pub/procmail/ \
|
|
|
|
ftp://sunsite.cnlab-switch.ch/mirror/procmail/ \
|
|
|
|
ftp://ftp.gigabell.net/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/
|
1995-04-17 07:50:37 +00:00
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
MAINTAINER= ache@FreeBSD.org
|
1995-04-11 20:28:32 +00:00
|
|
|
|
2001-09-29 09:00:32 +00:00
|
|
|
# Global variables
|
|
|
|
#
|
1999-08-27 20:32:35 +00:00
|
|
|
|
2002-11-04 00:57:08 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
2001-06-05 11:20:56 +00:00
|
|
|
# It asks for list of directories to do test for file locking
|
1995-06-26 04:34:40 +00:00
|
|
|
# (defaults to /tmp and ".", so return should suffice in most cases).
|
2001-09-29 09:00:32 +00:00
|
|
|
.if !defined(BATCH) # handled in patch-aa
|
1994-11-09 03:36:12 +00:00
|
|
|
IS_INTERACTIVE= yes
|
1997-03-06 04:31:46 +00:00
|
|
|
.endif
|
2001-09-29 09:00:32 +00:00
|
|
|
|
|
|
|
INSTALL_TARGET= install-suid install.man
|
|
|
|
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= procmail.1 formail.1 lockfile.1
|
|
|
|
MAN5= procmailex.5 procmailrc.5 procmailsc.5
|
1994-09-25 18:59:08 +00:00
|
|
|
|
2001-09-29 09:00:32 +00:00
|
|
|
# Local variables
|
|
|
|
#
|
|
|
|
|
|
|
|
DOC_FILES= FAQ FEATURES HISTORY KNOWN_BUGS README
|
2001-06-14 14:18:22 +00:00
|
|
|
|
2001-09-29 09:00:32 +00:00
|
|
|
SAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
|
|
|
|
SAMPLE_FILES= 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \
|
|
|
|
advanced dirname forward local_procmail_lmtp.m4 mailstat
|
|
|
|
|
|
|
|
# Post-configure
|
|
|
|
#
|
|
|
|
|
|
|
|
post-configure: patch-config
|
|
|
|
|
|
|
|
patch-config:
|
2002-11-04 00:57:08 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
|
2001-09-29 09:00:32 +00:00
|
|
|
|
|
|
|
# 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:
|
|
|
|
.if !defined(NOPORTSDOC)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${DOC_FILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2001-06-14 14:18:22 +00:00
|
|
|
|
2001-09-29 09:00:32 +00:00
|
|
|
.include <bsd.port.mk>
|