diff options
author | grant <grant@pkgsrc.org> | 2002-08-26 06:42:10 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-08-26 06:42:10 +0000 |
commit | e2b0ec1e592d36d13509f477c51ecac355a9bb59 (patch) | |
tree | 2227453b651e4b7939c547ff1519ac3bf1f26b87 /www | |
parent | faf92a14facf07cd0abbdbfe1645941033126fb8 (diff) | |
download | pkgsrc-e2b0ec1e592d36d13509f477c51ecac355a9bb59.tar.gz |
deprecate SQUID_SYSCONFDIR in favour of PKG_SYSCONFDIR.squid
Diffstat (limited to 'www')
-rw-r--r-- | www/squid/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile index 8bf55f7364e..98aaae102fb 100644 --- a/www/squid/Makefile +++ b/www/squid/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.65 2002/07/24 19:45:32 jlam Exp $ +# $NetBSD: Makefile,v 1.66 2002/08/26 06:42:12 grant Exp $ DISTNAME= squid-2.4.STABLE7-src PKGNAME= squid-2.4.7 @@ -13,19 +13,22 @@ COMMENT= Post-Harvest_cached WWW proxy cache and accelerator USE_PERL5= build +# Configuration directory location which can be overwritten by the user. +PKG_SYSCONFSUBDIR?= squid + .include "../../mk/bsd.prefs.mk" + GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --sysconfdir=${SQUID_SYSCONFDIR} \ +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} \ --localstatedir=/var/squid \ ${SQUID_CONFIGURE_ARGS} CONFIGURE_ENV+= PERL=${PERL5} -BUILD_DEFS+= SQUID_CONFIGURE_ARGS SQUID_SYSCONFDIR +BUILD_DEFS+= SQUID_CONFIGURE_ARGS MAKEFILE= makefile MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}" PKG_PREFIX="${PREFIX}" INSTALL_FILE= ${WRKDIR}/INSTALL PLIST_SRC= ${WRKDIR}/PLIST -PLIST_SUBST+= SQUID_SYSCONFDIR=${SQUID_SYSCONFDIR} WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//} # Configuration options which can be overwritten by the user. @@ -38,19 +41,15 @@ SQUID_CONFIGURE_ARGS?= --disable-internal-dns \ --enable-underscores \ --enable-storeio=ufs,diskd -# Configuration directory location which can be overwritten by the user. -PKG_SYSCONFSUBDIR?= squid -SQUID_SYSCONFDIR?= ${PKG_SYSCONFDIR} - OPTIONAL_FILES= libexec/diskd libexec/dnsserver libexec/pinger libexec/unlinkd post-build: ${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/squid.sh >${WRKDIR}/squid.sh - ${SED} s#@SYSCONFDIR@#${SQUID_SYSCONFDIR}#g <${PKGDIR}/INSTALL \ + ${SED} s#@SYSCONFDIR@#${PKG_SYSCONFDIR}#g <${PKGDIR}/INSTALL \ >${WRKDIR}/INSTALL pre-install: - @${INSTALL_DATA_DIR} ${SQUID_SYSCONFDIR} + @${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR} @${INSTALL_DATA_DIR} ${PREFIX}/share/examples/squid @${INSTALL_DATA_DIR} ${PREFIX}/share/squid @${INSTALL_DATA_DIR} ${PREFIX}/share/squid/errors |