summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-05 23:54:44 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-05 23:54:44 +0000
commitbda8ab68b05bed47e3db0f608a25e13686d56711 (patch)
treeb197f9621f38245634538669975ef4216702ab71 /www
parent3b0633e1f170c3e8c5c35d7fe9f7c1e8aa39c8f1 (diff)
downloadpkgsrc-bda8ab68b05bed47e3db0f608a25e13686d56711.tar.gz
Use SUBST framework.
Diffstat (limited to 'www')
-rw-r--r--www/sarg/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/sarg/Makefile b/www/sarg/Makefile
index db2280b5dcd..56f8db2b735 100644
--- a/www/sarg/Makefile
+++ b/www/sarg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/12/29 06:22:24 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2006/01/05 23:54:44 joerg Exp $
DISTNAME= sarg-1.4.1
CATEGORIES= www
@@ -29,13 +29,13 @@ SARG_REPORTSDIR?= /var/sarg
OWN_DIRS+= ${SARG_REPORTSDIR} ${CFLNG}
-FILES_SUBST+= SQUID_ACCESSLOG=${SQUID_ACCESSLOG:Q} \
- SARG_REPORTSDIR=${SARG_REPORTSDIR:Q}
SUBST_CLASSES+= sargconf
SUBST_MESSAGE.sargconf= "[Adjust values in SARG configuration files]"
SUBST_STAGE.sargconf= post-configure
SUBST_FILES.sargconf= sarg.conf sarg.1
-SUBST_SED.sargconf= ${FILES_SUBST_SED}
+SUBST_SED.sargconf= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
+SUBST_SED.sargconf+= -e 's,@SQUID_ACCESSLOG@,${SQUID_ACCESSLOG},g'
+SUBST_SED.sargconf+= -e 's,@SARG_REPORTSDIR@,${SARG_REPORTSDIR},g'
BUILD_DEFS+= SQUID_ACCESSLOG SARG_REPORTSDIR
MAKE_ENV+= PKG_FLAGS="-DSQUID_ACCESSLOG='\"${SQUID_ACCESSLOG}\"' \