brad f774579827 It's a bit unusual when I see in the Squid log that I'm supposedly running
i386-unknown-freebsd3.5 when I'm actually on a powerpc-unknown-openbsd3.0
system, turns out there is a stale auto-generated autoconf.h in the
distfile.
2002-03-16 19:05:26 +00:00

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.40 2002/03/16 19:05:26 brad Exp $
COMMENT= "WWW and FTP proxy cache and accelerator"
DISTNAME= squid-2.5.PRE4
CATEGORIES= www
NEED_VERSION= 1.500
MASTER_SITES= http://www.squid-cache.org/Versions/v2/2.5/
DIST_SUBDIR= squid
HOMEPAGE= http://www.squid-cache.org/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SYSCONFDIR= /etc/squid
SQUIDDIR?= /var/squid
SUBST_VARS= SQUIDDIR
FLAVORS= transparent
FLAVOR?=
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= autoconf
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/cfgaux
CONFIGURE_ARGS= --enable-removal-policies="lru heap" \
--enable-storeio="ufs diskd" \
--datadir="${PREFIX}/share/squid" \
--localstatedir="${SQUIDDIR}"
# --enable-truncate \
# --disable-unlinkd \
.if ${FLAVOR:L:Mtransparent}
CONFIGURE_ARGS+= --enable-pf-transparent
.endif
# remove stale autoconf.h left in the distfile
post-extract:
@rm -f ${WRKSRC}/include/autoconf.h
post-install:
@chown -R root:wheel ${PREFIX}/share/examples/squid
.include <bsd.port.mk>