pkgsrc/www/squid/Makefile.common
taca c8b700c662 - Rename DATADIR to SQUID_DATADIR.
- Move some common parameter to Makefile.common; squid's user, group and
  data directory.
- Add LOGDIR to Makefile.common.

These changes have no functional change but make it possible for
squidGuard package to share parameters.
2007-12-20 03:17:14 +00:00

17 lines
377 B
Text

# $NetBSD: Makefile.common,v 1.1 2007/12/20 03:17:14 taca Exp $
SQUID_DATADIR= ${VARBASE}/squid
LOGDIR?= ${SQUID_DATADIR}/logs
PKG_SYSCONFSUBDIR?= squid
SQUID_USER?= squid
SQUID_GROUP?= squid
PKG_GROUPS_VARS+= SQUID_GROUP
PKG_USERS_VARS+= SQUID_USER
PKG_GROUPS= ${SQUID_GROUP}
PKG_USERS= ${SQUID_USER}:${SQUID_GROUP}
PKG_GECOS.${SQUID_USER}= Squid Web-Cache pseudo-user