aboutsummaryrefslogtreecommitdiff
path: root/mail/spamd
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2004-03-09 00:06:49 +0000
committerOliver Braun <obraun@FreeBSD.org>2004-03-09 00:06:49 +0000
commit37383a75959a154195c4d1aea3bd2c046d260be4 (patch)
treed7367abc7fd2720c3933ff0e2b81d3df2b8246da /mail/spamd
parentc45b08e14765f05fc227c2cc18cad4404e18972b (diff)
downloadports-37383a75959a154195c4d1aea3bd2c046d260be4.tar.gz
ports-37383a75959a154195c4d1aea3bd2c046d260be4.zip
Notes
Diffstat (limited to 'mail/spamd')
-rw-r--r--mail/spamd/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile
index bf56f4cf6418..f2320dd07253 100644
--- a/mail/spamd/Makefile
+++ b/mail/spamd/Makefile
@@ -14,10 +14,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= max@love2party.net
COMMENT= Traps spammers with a very slow smtp-login and return 4xx error
-RUN_DEPENDS= ${LOCALBASE}/sbin/pfctl:${PORTSDIR}/security/pf
-
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
-IS_INTERACTIVE= yes
+IS_INTERACTIVE= yes
.endif
MAN5= spamd.conf.5
@@ -25,7 +23,7 @@ MAN8= spamd.8 spamd-setup.8
MANCOMPRESSED= maybe
-MAKE_ARGS= MANDIR="${PREFIX}/man/man"
+MAKE_ARGS= MANDIR="${PREFIX}/man/man"
SAMPLE_SPAMD_CONF= ${PREFIX}/etc/spamd.conf.sample
SAMPLE_SPAMD_RC= ${PREFIX}/etc/rc.d/spamd.sh
@@ -36,6 +34,10 @@ SAMPLE_SPAMD_RC= ${PREFIX}/etc/rc.d/spamd.sh
IGNORE= "Only for 5.0 and above"
.endif
+.if ${OSVERSION} < 502106
+RUN_DEPENDS= ${LOCALBASE}/sbin/pfctl:${PORTSDIR}/security/pf
+.endif
+
post-patch:
${SED} -e 's!%%LOCALBASE%%!${LOCALBASE}!' \
${PATCHDIR}/local-patch.sed | ${PATCH} \