aboutsummaryrefslogtreecommitdiff
path: root/security/amavisd
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-11-21 09:39:40 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-11-21 09:39:40 +0000
commitf84705ee58b847ec8a242d6ca3e0c5faeeab196c (patch)
treea986d5f27b1edd8a2558976844f0dd91b3c1964b /security/amavisd
parenta27e27b75330c9fecbff60052afe1525e87edb9b (diff)
downloadports-f84705ee58b847ec8a242d6ca3e0c5faeeab196c.tar.gz
ports-f84705ee58b847ec8a242d6ca3e0c5faeeab196c.zip
Notes
Diffstat (limited to 'security/amavisd')
-rw-r--r--security/amavisd/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/amavisd/Makefile b/security/amavisd/Makefile
index b043e8d52b8c..fef244fa26e3 100644
--- a/security/amavisd/Makefile
+++ b/security/amavisd/Makefile
@@ -54,6 +54,10 @@ CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc \
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+.if !defined(WITHOUT_UVSCAN)
+BUILD_DEPENDS+= uvscan:${PORTSDIR}/security/vscan
+.endif
+
.if defined(BATCH) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --enable-all
.endif
@@ -76,6 +80,13 @@ CONFIGURE_ARGS+= --enable-sendmail
MTA?= sendmail
.endif
+pre-fetch:
+.if !defined(WITHOUT_UVSCAN)
+ @${ECHO}
+ @${ECHO} "Type \"make WITHOUT_UVSCAN=yes\" if you DONT use UVSCAN."
+ @${ECHO}
+.endif
+
post-patch:
@${SED} 's,%%AMAVISUSER%%,${AMAVISUSER},g' ${FILESDIR}/${STARTSCRIPT} > ${WRKSRC}/${STARTSCRIPT}
@${PERL} -pi.orig -e 's|/etc/amavisd.conf|${PREFIX}/etc/amavisd.conf|g' ${WRKSRC}/configure ${WRKSRC}/amavis/amavisd.in ${WRKSRC}/amavis/Makefile.in