diff options
author | Martin Matuska <mm@FreeBSD.org> | 2012-08-15 01:41:41 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2012-08-15 01:41:41 +0000 |
commit | 645f7ec2cb542882eb0f4372ae5bd489f6c01b9b (patch) | |
tree | 5ab0b4c7a3481d93e32aa39606a9ea5a893f2334 /www/squidclamav/Makefile | |
parent | 5ffb242c015bc9ce2fe260470b98465595ebf3b8 (diff) |
Notes
Diffstat (limited to 'www/squidclamav/Makefile')
-rw-r--r-- | www/squidclamav/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/www/squidclamav/Makefile b/www/squidclamav/Makefile new file mode 100644 index 000000000000..f886cdeee6da --- /dev/null +++ b/www/squidclamav/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: squidclamav +# Date created: 15 August 2012 +# Whom: Martin Matuska <mm@FreeBSD.org> +# +# $FreeBSD: ports/www/c-icap/Makefile,v 1.22 2011/09/23 22:25:54 amdmi3 Exp $ +# + +PORTNAME= squidclamav +PORTVERSION= 6.8 +CATEGORIES= www security +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ + +MAINTAINER= mm@FreeBSD.org +COMMENT= Clamav c-icap service and redirector for Squid + +LICENSE= GPLv3 + +LIB_DEPENDS+= icapapi:${PORTSDIR}/www/c-icap + +GNU_CONFIGURE= yes +CFLAGS+= -DHAVE_STRNSTR + +MAN1= squidclamav.1 + +CONFIGURE_ARGS+= --enable-static \ + --sysconfdir="${PREFIX}/etc/c-icap" \ + --with-c-icap=${LOCALBASE} + +post-patch: + @${REINPLACE_CMD} -e 's|CFGDIR=.*|CFGDIR="${PREFIX}/etc/c-icap"|g' \ + ${WRKSRC}/configure.in ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|/etc/squidclamav.conf|${PREFIX}/etc/c\\-icap/squidclamav.conf|g' \ + ${WRKSRC}/doc/squidclamav.1 + +.include <bsd.port.mk> |