freebsd-ports/security/clamcour/Makefile

39 lines
959 B
Makefile
Raw Normal View History

# New ports collection makefile for: clamcour
# Whom: Milan Obuch
# Date created: January 13 2006
#
# $FreeBSD$
#
PORTNAME= clamcour
PORTVERSION= 0.3.8
2010-04-06 14:01:56 +02:00
PORTREVISION= 6
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
2010-04-06 14:01:56 +02:00
LIB_DEPENDS= clamav.7:${PORTSDIR}/security/clamav
2007-03-11 10:04:11 +01:00
GNU_CONFIGURE= yes
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
MAN1= clamcour.1
PLIST_DIRS= etc/courier/clamcour
PLIST_FILES= libexec/filters/clamcour
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
.include <bsd.port.mk>