2013-09-20 22:55:24 +00:00
|
|
|
# Created by: Milan Obuch
|
2006-01-15 15:24:16 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= clamcour
|
2006-11-13 10:17:09 +00:00
|
|
|
PORTVERSION= 0.3.8
|
2014-05-15 15:40:25 +00:00
|
|
|
PORTREVISION= 7
|
2006-01-15 15:24:16 +00:00
|
|
|
CATEGORIES= security mail
|
|
|
|
MASTER_SITES= http://www.becrux.com/pages/projects/clamcour/
|
|
|
|
|
|
|
|
MAINTAINER= bsd@dino.sk
|
|
|
|
COMMENT= ClamAV courier filter
|
|
|
|
|
|
|
|
BUILD_DEPENDS= courier-config:${PORTSDIR}/mail/courier
|
2014-05-15 14:02:38 +00:00
|
|
|
LIB_DEPENDS= libclamav.so:${PORTSDIR}/security/clamav
|
2007-03-11 09:04:11 +00:00
|
|
|
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2006-01-15 15:24:16 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-clamav-config=${LOCALBASE}/bin \
|
|
|
|
--with-courier-config=${LOCALBASE}/bin
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
|
|
|
|
|
2006-11-13 10:17:09 +00:00
|
|
|
PLIST_DIRS= etc/courier/clamcour
|
2014-05-15 14:02:38 +00:00
|
|
|
PLIST_DIRSTRY= etc/courier libexec/filters
|
|
|
|
PLIST_FILES= libexec/filters/clamcour man/man1/clamcour.1.gz
|
2006-01-15 15:24:16 +00:00
|
|
|
|
2009-03-27 11:53:07 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/^CXXFLAGS *=/CXXFLAGS?=/g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e '/cl_limits/d; s/cl_node/cl_engine/' \
|
|
|
|
${WRKSRC}/src/clam.h
|
|
|
|
|
2006-01-15 15:24:16 +00:00
|
|
|
.include <bsd.port.mk>
|