2012-09-24 18:26:51 +00:00
|
|
|
# $NetBSD: Makefile,v 1.10 2012/09/24 18:26:54 asau Exp $
|
2005-06-02 07:49:29 +00:00
|
|
|
|
|
|
|
DISTNAME= clamassassin-1.2.2
|
|
|
|
CATEGORIES= mail
|
2007-06-11 10:50:11 +00:00
|
|
|
MASTER_SITES= http://jameslick.com/clamassassin/
|
2005-06-02 07:49:29 +00:00
|
|
|
|
|
|
|
MAINTAINER= ura@jp.NetBSD.org
|
2020-01-27 19:56:27 +00:00
|
|
|
HOMEPAGE= https://jameslick.com/clamassassin/
|
2005-06-02 07:49:29 +00:00
|
|
|
COMMENT= Simple virus filter wrapper for ClamAV
|
|
|
|
|
2012-01-31 02:17:33 +00:00
|
|
|
DEPENDS+= clamav>=0.84:../../security/clamav
|
2005-06-02 18:11:52 +00:00
|
|
|
DEPENDS+= procmail>=3.22nb1:../../mail/procmail
|
2005-06-02 07:49:29 +00:00
|
|
|
|
2012-09-24 18:26:51 +00:00
|
|
|
|
2005-06-02 07:49:29 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-09-28 08:02:28 +00:00
|
|
|
CONFIGURE_ENV+= CONF_RM=${RM:Q}
|
|
|
|
CONFIGURE_ENV+= CONF_CAT=${CAT:Q}
|
|
|
|
CONFIGURE_ENV+= CONF_SED=${SED:Q}
|
2018-01-28 20:38:32 +00:00
|
|
|
CONFIGURE_ENV+= CONF_ECHO=${TOOLS_ECHO}
|
2005-06-02 07:49:29 +00:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.clamassassin
|
2006-10-29 08:32:37 +00:00
|
|
|
PKG_SUPPORTED_OPTIONS= clamdscan subject_rewrite
|
|
|
|
PKG_SUGGESTED_OPTIONS= clamdscan
|
2005-06-02 07:49:29 +00:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mclamdscan)
|
|
|
|
CONFIGURE_ARGS+= --enable-clamdscan
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Msubject_rewrite)
|
2006-11-10 23:07:17 +00:00
|
|
|
. if empty(CLAMASSASSIN_SUBJECT_REWRITE)
|
2005-06-02 07:49:29 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-subject-rewrite
|
2006-11-10 23:07:17 +00:00
|
|
|
. else
|
2005-12-05 22:27:44 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-subject-rewrite=${CLAMASSASSIN_SUBJECT_REWRITE:Q}
|
2006-11-10 23:07:17 +00:00
|
|
|
. endif
|
2005-06-02 07:49:29 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|