pkgsrc-wip/clamassassin/Makefile
Roland Illig 91a02fafba Ran "pkglint --autofix", which fixed some quoting issues in MAKE_ENV,
CONFIGURE_ARGS, FILES_SUBST and the like.
2005-12-05 22:27:44 +00:00

38 lines
1,013 B
Makefile

# $NetBSD: Makefile,v 1.4 2005/12/05 22:27:45 rillig Exp $
DISTNAME= clamassassin-1.2.2
CATEGORIES= mail
MASTER_SITES= http://drivel.com/clamassassin/
MAINTAINER= ura@jp.NetBSD.org
HOMEPAGE= http://drivel.com/clamassassin/
COMMENT= Simple virus filter wrapper for ClamAV
DEPENDS+= clamav>=0.84:../../mail/clamav
DEPENDS+= procmail>=3.22nb1:../../mail/procmail
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CONF_RM=${RM:Q}
CONFIGURE_ENV+= CONF_CAT=${CAT:Q}
CONFIGURE_ENV+= CONF_SED=${SED:Q}
CONFIGURE_ENV+= CONF_ECHO=${ECHO:Q}
PKG_OPTIONS_VAR= PKG_OPTIONS.clamassassin
PKG_SUPPORTED_OPTIONS= clamdscan subject_rewrite
PKG_SUGGESTED_OPTIONS= clamdscan
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mclamdscan)
CONFIGURE_ARGS+= --enable-clamdscan
.endif
.if !empty(PKG_OPTIONS:Msubject_rewrite)
.if empty(CLAMASSASSIN_SUBJECT_REWRITE)
CONFIGURE_ARGS+= --enable-subject-rewrite
.else
CONFIGURE_ARGS+= --enable-subject-rewrite=${CLAMASSASSIN_SUBJECT_REWRITE:Q}
.endif
.endif
.include "../../mk/bsd.pkg.mk"