2002-05-01 22:37:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.43 2002/05/02 02:37:04 brad Exp $
|
2001-05-06 00:22:45 -04:00
|
|
|
|
|
|
|
COMMENT= "WWW and FTP proxy cache and accelerator"
|
1998-09-13 21:36:52 -04:00
|
|
|
|
2002-05-01 22:37:04 -04:00
|
|
|
DISTNAME= squid-2.5.PRE7
|
1998-09-13 21:36:52 -04:00
|
|
|
CATEGORIES= www
|
2002-04-17 14:03:21 -04:00
|
|
|
NEED_VERSION= 1.522
|
2002-02-19 20:17:03 -05:00
|
|
|
MASTER_SITES= http://www.squid-cache.org/Versions/v2/2.5/
|
2000-03-30 16:59:26 -05:00
|
|
|
DIST_SUBDIR= squid
|
1998-09-13 21:36:52 -04:00
|
|
|
|
2000-06-10 02:27:25 -04:00
|
|
|
HOMEPAGE= http://www.squid-cache.org/
|
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
1998-09-13 21:36:52 -04:00
|
|
|
|
2000-03-30 16:59:26 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
1999-03-16 22:59:28 -05:00
|
|
|
SYSCONFDIR= /etc/squid
|
2002-02-19 20:17:03 -05:00
|
|
|
SQUIDDIR?= /var/squid
|
|
|
|
SUBST_VARS= SQUIDDIR
|
1999-12-09 14:48:17 -05:00
|
|
|
|
2002-02-19 20:17:03 -05:00
|
|
|
FLAVORS= transparent
|
|
|
|
FLAVOR?=
|
2001-01-16 21:38:20 -05:00
|
|
|
|
2002-03-16 13:18:30 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2002-02-19 20:17:03 -05:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/cfgaux
|
2002-03-16 13:18:30 -05:00
|
|
|
CONFIGURE_ARGS= --enable-removal-policies="lru heap" \
|
|
|
|
--enable-storeio="ufs diskd" \
|
|
|
|
--datadir="${PREFIX}/share/squid" \
|
|
|
|
--localstatedir="${SQUIDDIR}"
|
|
|
|
|
|
|
|
# --enable-truncate \
|
|
|
|
# --disable-unlinkd \
|
2002-02-19 20:17:03 -05:00
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mtransparent}
|
|
|
|
CONFIGURE_ARGS+= --enable-pf-transparent
|
|
|
|
.endif
|
|
|
|
|
2002-03-16 14:05:26 -05:00
|
|
|
# remove stale autoconf.h left in the distfile
|
|
|
|
post-extract:
|
|
|
|
@rm -f ${WRKSRC}/include/autoconf.h
|
|
|
|
|
2002-02-19 20:17:03 -05:00
|
|
|
post-install:
|
2002-04-17 14:03:21 -04:00
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/squid
|
1998-09-13 21:36:52 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|