diff --git a/www/c-icap-modules/Makefile b/www/c-icap-modules/Makefile index 2ff980f404ec..20febacdaaea 100644 --- a/www/c-icap-modules/Makefile +++ b/www/c-icap-modules/Makefile @@ -1,32 +1,34 @@ PORTNAME= c-icap PORTVERSION= 0.5.6 +PORTREVISION= 1 CATEGORIES= www security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/0.5.x/ PKGNAMESUFFIX= -modules DISTNAME= c_icap_modules-${PORTVERSION} MAINTAINER= rodrigo@FreeBSD.org COMMENT= Modules for c-icap: virus_scan and srv_url_check WWW= https://c-icap.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libclamav.so:security/clamav \ libicapapi.so:www/c-icap -USES= libtool -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-static \ - --with-c-icap=${LOCALBASE} \ - --with-clamav=${LOCALBASE} -INSTALL_TARGET= install-strip +USES= libtool +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share +CONFIGURE_ARGS= --enable-static \ + --with-c-icap=${LOCALBASE} \ + --with-clamav=${LOCALBASE} +INSTALL_TARGET= install-strip CFLAGS+= -DHAVE_STRNSTR DATADIR= ${PREFIX}/share/c_icap pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/c-icap .include diff --git a/www/c-icap-modules/pkg-plist b/www/c-icap-modules/pkg-plist index d4b594d937db..ffcff717a8db 100644 --- a/www/c-icap-modules/pkg-plist +++ b/www/c-icap-modules/pkg-plist @@ -1,23 +1,23 @@ @sample etc/c-icap/clamav_mod.conf.default etc/c-icap/clamav_mod.conf @sample etc/c-icap/clamd_mod.conf.default etc/c-icap/clamd_mod.conf @sample etc/c-icap/srv_content_filtering.conf.default etc/c-icap/srv_content_filtering.conf @sample etc/c-icap/srv_url_check.conf.default etc/c-icap/srv_url_check.conf @sample etc/c-icap/virus_scan.conf.default etc/c-icap/virus_scan.conf lib/c_icap/clamav_mod.a lib/c_icap/clamav_mod.so lib/c_icap/clamd_mod.a lib/c_icap/clamd_mod.so lib/c_icap/srv_content_filtering.a lib/c_icap/srv_content_filtering.so lib/c_icap/srv_url_check.a lib/c_icap/srv_url_check.so lib/c_icap/virus_scan.a lib/c_icap/virus_scan.so -man/man8/c-icap-mods-sguardDB.8.gz +share/man/man8/c-icap-mods-sguardDB.8.gz %%DATADIR%%/templates/srv_content_filtering/en/BLOCK %%DATADIR%%/templates/srv_url_check/en/DENY %%DATADIR%%/templates/virus_scan/en/VIR_MODE_HEAD %%DATADIR%%/templates/virus_scan/en/VIR_MODE_PROGRESS %%DATADIR%%/templates/virus_scan/en/VIR_MODE_TAIL %%DATADIR%%/templates/virus_scan/en/VIR_MODE_VIRUS_FOUND %%DATADIR%%/templates/virus_scan/en/VIRUS_FOUND