2013-07-30 22:20:40 +02:00
|
|
|
# Created by: Martin Matuska <mm@FreeBSD.org>
|
2013-05-05 00:48:03 +02:00
|
|
|
# $FreeBSD$
|
2012-08-15 03:19:53 +02:00
|
|
|
|
|
|
|
PORTNAME= c-icap
|
2013-07-30 22:20:40 +02:00
|
|
|
PORTVERSION= 0.2.4
|
2012-08-15 03:42:54 +02:00
|
|
|
CATEGORIES= www security
|
2012-08-15 03:19:53 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/0.2.x/
|
|
|
|
PKGNAMESUFFIX= -modules
|
2012-08-15 03:42:54 +02:00
|
|
|
DISTNAME= c_icap_modules-${PORTVERSION}
|
2012-08-15 03:19:53 +02:00
|
|
|
|
|
|
|
MAINTAINER= mm@FreeBSD.org
|
|
|
|
COMMENT= c-icap modules virus_scan and srv_url_check
|
|
|
|
|
2012-08-15 03:47:11 +02:00
|
|
|
LICENSE= GPLv2
|
2012-08-15 03:19:53 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS+= icapapi:${PORTSDIR}/www/c-icap \
|
|
|
|
clamav:${PORTSDIR}/security/clamav
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
DATADIR= ${PREFIX}/share/c_icap
|
|
|
|
|
|
|
|
CFLAGS+= -DHAVE_STRNSTR
|
|
|
|
|
|
|
|
MAN8= c-icap-mods-sguardDB.8
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-static \
|
|
|
|
--with-c-icap=${LOCALBASE} \
|
|
|
|
--with-clamav=${LOCALBASE}
|
|
|
|
|
2013-09-21 01:36:50 +02:00
|
|
|
NO_STAGE= yes
|
2012-08-15 03:19:53 +02:00
|
|
|
post-install:
|
|
|
|
@${CP} -np ${PREFIX}/etc/c-icap/srv_url_check.conf.default \
|
2013-05-05 00:48:03 +02:00
|
|
|
${PREFIX}/etc/c-icap/srv_url_check.conf || ${TRUE}
|
2012-08-15 03:19:53 +02:00
|
|
|
@${CP} -np ${PREFIX}/etc/c-icap/virus_scan.conf.default \
|
2013-05-05 00:48:03 +02:00
|
|
|
${PREFIX}/etc/c-icap/virus_scan.conf || ${TRUE}
|
2012-08-15 03:19:53 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|