|
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> |