mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
750d38b4e8
PR: 189893 Submitted by: maintainer
42 lines
961 B
Makefile
42 lines
961 B
Makefile
# 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
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BUILD_DEPENDS= sigtool:${PORTSDIR}/security/clamav \
|
|
formail:${PORTSDIR}/mail/procmail
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
PLIST_FILES= bin/clamassassin
|
|
|
|
GNU_CONFIGURE= yes
|
|
# Woky configure script doesn't actually respect prefix
|
|
# Instead, it looks for 'bindir'... so set that.
|
|
CONFIGURE_ARGS= --bindir=${STAGEDIR}${PREFIX}/bin
|
|
|
|
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>
|