1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/security/clamcour/Makefile
Renato Botelho 44a6f9affb . Add USES=libtool on security/clamav
. Drop .la files
. Since lib version was downgraded, bump portrevision on ports that depends of clamav
. Fix REQUIRE names on rc.d scripts
2014-05-15 15:40:25 +00:00

35 lines
928 B
Makefile

# Created by: Milan Obuch
# $FreeBSD$
PORTNAME= clamcour
PORTVERSION= 0.3.8
PORTREVISION= 7
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
LIB_DEPENDS= libclamav.so:${PORTSDIR}/security/clamav
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
PLIST_DIRS= etc/courier/clamcour
PLIST_DIRSTRY= etc/courier libexec/filters
PLIST_FILES= libexec/filters/clamcour man/man1/clamcour.1.gz
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>