pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/awstats Fix more hardcoded paths. Based on patche...
details: https://anonhg.NetBSD.org/pkgsrc/rev/35a621648d47
branches: trunk
changeset: 514519:35a621648d47
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue Jun 13 17:02:04 2006 +0000
description:
Fix more hardcoded paths. Based on patches submitted by Yoshito Komatsu
in PR pkg/33514. Bump PKGREVISION.
diffstat:
www/awstats/Makefile | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 064239e5f1be -r 35a621648d47 www/awstats/Makefile
--- a/www/awstats/Makefile Tue Jun 13 17:00:39 2006 +0000
+++ b/www/awstats/Makefile Tue Jun 13 17:02:04 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.27 2006/06/05 18:04:25 minskim Exp $
+# $NetBSD: Makefile,v 1.28 2006/06/13 17:02:04 minskim Exp $
#
DISTNAME= awstats-6.6
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= http://awstats.sourceforge.net/files/
@@ -25,15 +25,18 @@
PKG_SYSCONFSUBDIR= awstats
SUBST_CLASSES+= conf
-SUBST_STAGE.conf= post-patch
+SUBST_STAGE.conf= pre-configure
SUBST_FILES.conf= tools/awstats_configure.pl \
+ tools/awstats_buildstaticpages.pl \
+ tools/awstats_updateall.pl \
wwwroot/cgi-bin/awstats.model.conf \
wwwroot/cgi-bin/awstats.pl
SUBST_SED.conf= -e "s|@PREFIX@|${PREFIX}|g"
SUBST_SED.conf+= -e "s|@VARBASE@|${VARBASE}|g"
SUBST_SED.conf+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
+SUBST_SED.conf+= -e "s|\"/etc/awstats|\"${PKG_SYSCONFDIR}|g"
+SUBST_SED.conf+= -e "s|\"/usr/local/awstats/wwwroot|\"${PREFIX}/awstats|g"
SUBST_SED.conf+= -e "s|/var/log/httpd/mylog.log|${VARBASE}/log/httpd/access_log|g"
-SUBST_SED.conf+= -e "s|\"/etc/opt/awstats\"|\"/etc/opt/awstats\",\"${PKG_SYSCONFDIR}\"|g"
SUBST_MESSAGE.conf= Fixing configuration files and scripts.
CONF_FILES+= ${PREFIX}/share/examples/awstats/awstats.conf \
Home |
Main Index |
Thread Index |
Old Index