2013-06-04 17:16:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2013/06/04 15:16:42 tron Exp $
|
2009-04-20 23:27:40 +02:00
|
|
|
|
2013-05-23 22:21:28 +02:00
|
|
|
DISTNAME= squid-3.3.5
|
2013-06-04 17:16:42 +02:00
|
|
|
PKGREVISION= 2
|
2009-04-20 23:27:40 +02:00
|
|
|
CATEGORIES= www
|
2013-02-10 19:16:53 +01:00
|
|
|
MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PKGVERSION_NOREV:R}/ \
|
2009-07-20 01:05:38 +02:00
|
|
|
${SQUID_MASTER_SITES}
|
2013-02-10 19:16:53 +01:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2009-04-20 23:27:40 +02:00
|
|
|
|
2013-05-23 17:28:45 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2009-04-20 23:27:40 +02:00
|
|
|
HOMEPAGE= http://www.squid-cache.org/
|
|
|
|
COMMENT= Post-Harvest_cached WWW proxy cache and accelerator
|
2009-05-19 10:59:00 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2009-04-20 23:27:40 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_TOOLS+= perl gmake
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
.include "../../www/squid/Makefile.squid"
|
|
|
|
|
2011-02-28 19:55:53 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-strict-error-checking
|
2013-02-10 19:16:53 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-auth
|
2011-05-11 06:26:15 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-icap-client
|
2009-04-20 23:27:40 +02:00
|
|
|
CONFIGURE_ARGS+= --with-default-user=${SQUID_USER}
|
2009-05-05 00:29:41 +02:00
|
|
|
CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid
|
|
|
|
|
2013-02-10 19:16:53 +01:00
|
|
|
REPLACE_PERL+= tools/helper-mux.pl
|
|
|
|
|
2011-01-15 11:32:08 +01:00
|
|
|
EGFILES+= errors/errorpage.css
|
|
|
|
CONF_FILES+= ${PREFIX}/${EGDIR}/errorpage.css ${PKG_SYSCONFDIR}/errorpage.css
|
2009-04-20 23:27:40 +02:00
|
|
|
|
2011-01-15 11:32:08 +01:00
|
|
|
SQUID_BACKENDS?= ufs
|
|
|
|
SQUID_NTLM_AUTH_HELPERS?= fakeauth
|
2013-02-10 19:16:53 +01:00
|
|
|
.include "options.mk"
|
2009-04-20 23:27:40 +02:00
|
|
|
|
2013-03-19 02:43:05 +01:00
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5]*-i386)
|
|
|
|
GNU_ARCH.i386= i486
|
|
|
|
CFLAGS+= -march=i486
|
|
|
|
.endif
|
|
|
|
|
2009-04-20 23:27:40 +02:00
|
|
|
post-build:
|
2011-04-15 11:48:56 +02:00
|
|
|
cd ${WRKSRC}/src && ${CP} -pf squid.conf.documented squid.conf.default
|
2009-04-20 23:27:40 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|