blob: 961d334b4c73e8b1a2c7a4c8ed154b8ce83b0d7b (
plain)
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
34
35
36
37
|
# $NetBSD: Makefile,v 1.39 2012/10/03 21:59:04 wiz Exp $
DISTNAME= squid-3.1.20
PKGNAME= ${DISTNAME} # Necessary for "pkgsrc/www/squid/options.mk"
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.squid-cache.org/Versions/v3/3.1/ \
${SQUID_MASTER_SITES}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://www.squid-cache.org/
COMMENT= Post-Harvest_cached WWW proxy cache and accelerator
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
USE_TOOLS+= perl gmake
GNU_CONFIGURE= yes
.include "../../www/squid/Makefile.squid"
CONFIGURE_ARGS+= --disable-strict-error-checking
CONFIGURE_ARGS+= --enable-icap-client
CONFIGURE_ARGS+= --with-default-user=${SQUID_USER}
CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid
EGFILES+= errors/errorpage.css
CONF_FILES+= ${PREFIX}/${EGDIR}/errorpage.css ${PKG_SYSCONFDIR}/errorpage.css
SQUID_BACKENDS?= ufs
SQUID_NTLM_AUTH_HELPERS?= fakeauth
.include "../../www/squid/options.mk"
post-build:
cd ${WRKSRC}/src && ${CP} -pf squid.conf.documented squid.conf.default
.include "../../mk/bsd.pkg.mk"
|