aboutsummaryrefslogtreecommitdiffstats
path: root/www/c-icap-modules/Makefile
blob: 5607cbdfa017c2bd0e5fe25e803120d975c54743 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   c-icap
PORTVERSION=    0.4.5
CATEGORIES= www security
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/0.4.x/
PKGNAMESUFFIX=  -modules
DISTNAME=   c_icap_modules-${PORTVERSION}

MAINTAINER= rodrigo@FreeBSD.org
COMMENT=    Modules for c-icap: virus_scan and srv_url_check

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libicapapi.so:www/c-icap \
        libclamav.so:security/clamav

USES=       libtool
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-static \
        --with-c-icap=${LOCALBASE} \
        --with-clamav=${LOCALBASE}
INSTALL_TARGET= install-strip
DATADIR=    ${PREFIX}/share/c_icap

CFLAGS+=    -DHAVE_STRNSTR

pre-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/etc/c-icap

.include <bsd.port.mk>