openbsd-ports/www/squid/Makefile

54 lines
1.3 KiB
Makefile
Raw Normal View History

2003-10-17 14:03:54 -04:00
# $OpenBSD: Makefile,v 1.56 2003/10/17 18:03:54 brad Exp $
COMMENT= "WWW and FTP proxy cache and accelerator"
1998-09-13 21:36:52 -04:00
2003-10-17 14:03:54 -04:00
DISTNAME= squid-2.5.STABLE4
1998-09-13 21:36:52 -04:00
CATEGORIES= www
MASTER_SITES= http://www.squid-cache.org/Versions/v2/2.5/
MASTER_SITES0= http://www.squid-cache.org/Versions/v2/2.5/bugs/
DIST_SUBDIR= squid
1998-09-13 21:36:52 -04:00
PATCH_DIST_STRIP= -p1
2003-10-17 14:03:54 -04:00
PATCHFILES= squid-2.5.STABLE4-reconfigure_message.patch:0 \
squid-2.5.STABLE4-digest_auth_pwchange.patch:0 \
squid-2.5.STABLE4-redirect_login_space.patch:0 \
squid-2.5.STABLE4-fqdnnegcache.patch:0
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
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
SQUIDDIR?= /var/squid
SUBST_VARS= SQUIDDIR
FLAVORS= transparent
FLAVOR?=
# Gcc 3
2003-10-17 14:03:54 -04:00
MODULES+= gcc3
MODGCC3_ARCHES= sparc64
2002-03-16 13:18:30 -05:00
SEPARATE_BUILD= concurrent
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" \
--enable-ssl \
2002-03-16 13:18:30 -05:00
--datadir="${PREFIX}/share/squid" \
--localstatedir="${SQUIDDIR}"
.if ${FLAVOR:L:Mtransparent}
CONFIGURE_ARGS+= --enable-pf-transparent
.endif
post-install:
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/squid
1998-09-13 21:36:52 -04:00
.include <bsd.port.mk>