summaryrefslogtreecommitdiff
path: root/mail/mailscanner
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-04 09:13:49 +0000
committerrillig <rillig@pkgsrc.org>2006-07-04 09:13:49 +0000
commit03cdaec53e9dc9fa8c0a84a3235fa01289a2b285 (patch)
treee1ae9a6bb4555df7a9f0da8623881f9b828a16ad /mail/mailscanner
parentf7f520b592577de84bda331479f5793a2dcf77fd (diff)
downloadpkgsrc-03cdaec53e9dc9fa8c0a84a3235fa01289a2b285.tar.gz
Fixed those pkglint warnings that concern the SUBST blocks.
Diffstat (limited to 'mail/mailscanner')
-rw-r--r--mail/mailscanner/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile
index d55e0897194..d30203fcfb0 100644
--- a/mail/mailscanner/Makefile
+++ b/mail/mailscanner/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/02/05 23:09:56 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2006/07/04 09:13:49 rillig Exp $
#
DISTNAME= MailScanner-4.30.3-2
@@ -52,13 +52,11 @@ CONF_FILES+= ${EGDIR}/${_f_} ${PKG_SYSCONFDIR}/${_f_}
RCD_SCRIPTS= mailscanner
-SUBST_CLASSES+= paths sendmail systemdefs
-
+SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= bin/MailScanner etc/MailScanner.conf
SUBST_FILES.paths+= etc/virus.scanners.conf bin/update_virus_scanners
SUBST_FILES.paths+= lib/MailScanner/ConfigDefs.pl
-
SUBST_SED.paths= -e s,/opt/MailScanner/lib/MailScanner/CustomFunctions,${PKG_SYSCONFDIR}/CustomFunctions,g
SUBST_SED.paths+= -e s,/opt/MailScanner/lib,${LIBDIR},g
SUBST_SED.paths+= -e s,/opt/MailScanner/etc/reports,${EGDIR}/reports,g
@@ -70,6 +68,7 @@ SUBST_SED.paths+= -e s,/opt/MailScanner/bin,${PREFIX}/bin,g
# XXX this could use some improvement
.if ${OPSYS} == "NetBSD"
+SUBST_CLASSES+= sendmail
SUBST_STAGE.sendmail= post-patch
SUBST_FILES.sendmail= bin/MailScanner etc/MailScanner.conf
SUBST_FILES.sendmail+= etc/virus.scanners.conf bin/update_virus_scanners
@@ -77,12 +76,12 @@ SUBST_FILES.sendmail+= lib/MailScanner/ConfigDefs.pl
SUBST_SED.sendmail= -e s,/usr/lib/sendmail,/usr/sbin/mailwrapper,g
.endif
+SUBST_CLASSES+= systemdefs
SUBST_STAGE.systemdefs= post-patch
SUBST_FILES.systemdefs= lib/MailScanner/SystemDefs.pm
SUBST_SED.systemdefs= -e s,/bin/cat,${CAT},g
SUBST_SED.systemdefs= -e s,/bin/cp,${CP},g
SUBST_SED.systemdefs= -e s,/bin/rm,${RM},g
-
# we can't use sed from pkgsrc as it won't be registered as a
# dependency. XXX tools.mk needs a way to tell us about this dependency.
.if empty(SED:M${LOCALBASE}*)