diff options
author | joerg <joerg> | 2006-01-05 23:54:44 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-05 23:54:44 +0000 |
commit | 215b28bf4160297cd74189a0dc5501dfd57ea40a (patch) | |
tree | b197f9621f38245634538669975ef4216702ab71 /www/sarg | |
parent | a7ca01321040444754e7fc1c97bf6b8948b2b579 (diff) | |
download | pkgsrc-215b28bf4160297cd74189a0dc5501dfd57ea40a.tar.gz |
Use SUBST framework.
Diffstat (limited to 'www/sarg')
-rw-r--r-- | www/sarg/Makefile | 8 |
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}\"' \ |