openbsd-ports/www/squid/Makefile

40 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2000/04/09 17:38:40 espie Exp $
DISTNAME= squid-2.2.STABLE5
PKGNAME= squid-2.2
CATEGORIES= www
NEED_VERSION= 1.218
FAKE=No
MASTER_SITES= http://www.squid-cache.org/Versions/v2/2.2/
MASTER_SITES0= http://www.squid-cache.org/Versions/v2/2.2/bugs/
EXTRACT_SUFX= -src.tar.gz
DIST_SUBDIR= squid
PATCHFILES= squid-2.2.stable5-no_cache.patch:0 \
squid-2.2.stable5-ipcache_negative.patch:0 \
squid-2.2.stable5-newlines_in_auth.patch:0 \
squid-2.2.stable5-domain-match.patch:0
.if defined(PATCH_DEBUG) && ${PATCH_DEBUG:U} == YES
PATCH_DIST_ARGS=-d ${WRKSRC}/src -E ${PATCH_DIST_STRIP}
.else
PATCH_DIST_ARGS=-d ${WRKSRC}/src --forward --quiet -E ${PATCH_DIST_STRIP}
.endif
MAINTAINER= brad@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SYSCONFDIR= /etc/squid
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir="/var/squid"
MAKE_FILE= makefile
post-install:
@PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
.include <bsd.port.mk>