summaryrefslogtreecommitdiff
path: root/www/cvsweb
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-25 18:59:45 +0000
committerjlam <jlam@pkgsrc.org>2001-11-25 18:59:45 +0000
commitffceca11a9acb11623d00829c993ca1022b4d164 (patch)
tree78f3dfe5e355bfe3bf2e730202f3d29cb7da98d5 /www/cvsweb
parentcfd5b704a70497d2c14d5e85256db8adea34f050 (diff)
downloadpkgsrc-ffceca11a9acb11623d00829c993ca1022b4d164.tar.gz
PKG_SYSCONFDIR is where the configuration files for a package may be found.
This value may be customized in various ways: PKG_SYSCONFBASE is the main config directory under which all package configuration files are to be found. PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the configuration files for a particular package may be found. PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a particular package. Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the default location of ${PREFIX}/etc. This obsoletes the use of CONFDIR, which was active for only 6 days, so no need to have a workaround to still accept old CONFDIR settings.
Diffstat (limited to 'www/cvsweb')
-rw-r--r--www/cvsweb/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/www/cvsweb/Makefile b/www/cvsweb/Makefile
index c6ef9311fa5..bf16030fc76 100644
--- a/www/cvsweb/Makefile
+++ b/www/cvsweb/Makefile
@@ -1,5 +1,5 @@
#
-# $NetBSD: Makefile,v 1.5 2001/11/19 16:23:14 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2001/11/25 18:59:49 jlam Exp $
#
DISTNAME= cvsweb-1.112
@@ -22,16 +22,15 @@ INSTALL_FILE= ${WRKDIR}/INSTALL
.include "../../mk/bsd.prefs.mk"
-APACHE_SYSCONFDIR?= ${CONFDIR}/httpd
+PKG_SYSCONFSUBDIR?= httpd
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
-CONF_FILES= ${EGDIR}/cvsweb.conf.default ${APACHE_SYSCONFDIR}/cvsweb.conf
-MAKE_DIRS= ${APACHE_SYSCONFDIR}
+CONF_FILES= ${EGDIR}/cvsweb.conf.default ${PKG_SYSCONFDIR}/cvsweb.conf
do-build:
${MV} ${WRKSRC}/cvsweb.cgi ${WRKSRC}/cvsweb.cgi.bak
${SED} -e 's,/usr/bin/perl,${PERL5},' \
- -e 's,/usr/local/web/apache/conf/,${APACHE_SYSCONFDIR}/,' \
+ -e 's,/usr/local/web/apache/conf/,${PKG_SYSCONFDIR}/,' \
${WRKSRC}/cvsweb.cgi.bak > ${WRKSRC}/cvsweb.cgi
do-install: