f9ed6da750
that support the ICAP protocol to implement content adaptation and filtering services. Most of the commercial HTTP proxies must support the ICAP protocol. The open source Squid 3.x proxy server supports it.
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2011/05/11 04:29:18 adam Exp $
|
|
|
|
DISTNAME= c_icap-0.1.5
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=c-icap/}
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://c-icap.sourceforge.net/
|
|
COMMENT= Implementation of an ICAP server
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-large-files
|
|
|
|
EGDIR= ${PREFIX}/share/c-icap
|
|
CONF_FILES= ${EGDIR}/c-icap.conf.default ${PKG_SYSCONFDIR}/c-icap.conf
|
|
CONF_FILES+= ${EGDIR}/c-icap.magic.default ${PKG_SYSCONFDIR}/c-icap.magic
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
SUBST_CLASSES+= fix-path
|
|
SUBST_STAGE.fix-path= pre-configure
|
|
SUBST_MESSAGE.fix-path= Fixing paths.
|
|
SUBST_FILES.fix-path= c-icap.conf.in
|
|
SUBST_SED.fix-path= -e 's, @prefix@/var, ${VARBASE},g'
|
|
SUBST_SED.fix-path+= -e 's, /var, ${VARBASE},g'
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|