aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamassassin/Makefile
blob: a2c484e9803894251e5a6ed3f291e9b28a88ed2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Matt <matt@xtaz.net>
# $FreeBSD$

PORTNAME=   clamassassin
PORTVERSION=    1.2.4
PORTREVISION=   5
CATEGORIES= security
MASTER_SITES=   http://jameslick.com/clamassassin/

MAINTAINER= chalpin@cs.wisc.edu
COMMENT=    Simple virus filter wrapper for ClamAV

BUILD_DEPENDS=  sigtool:${PORTSDIR}/security/clamav \
        formail:${PORTSDIR}/mail/procmail
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PLIST_FILES=    bin/clamassassin

GNU_CONFIGURE=  yes

OPTIONS_DEFINE= CLAMDSCAN SUBREWRITE
OPTIONS_DEFAULT=    CLAMDSCAN
CLAMDSCAN_DESC=     Scanning using clamd
SUBREWRITE_DESC=    Mail subject rewriting

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCLAMDSCAN}
CONFIGURE_ARGS+=    --enable-clamdscan
.endif

.if ${PORT_OPTIONS:MSUBREWRITE}
CONFIGURE_ARGS+=    --enable-subject-rewrite
.endif

.include <bsd.port.mk>