freebsd-ports/www/c-icap-modules/Makefile
Rodrigo Osorio c766e678a0 www/c-icap-modules: update to 0.5.6
Major changes:
  * Fixes to compile and run with c-icap-0.6.x releases
  * Other minor fixes

Reorder and format Makefile to make linters happy
2023-11-07 09:47:59 +01:00

32 lines
737 B
Makefile

PORTNAME= c-icap
PORTVERSION= 0.5.6
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
CFLAGS+= -DHAVE_STRNSTR
DATADIR= ${PREFIX}/share/c_icap
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/c-icap
.include <bsd.port.mk>