summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut
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 /sysutils/ups-nut
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 'sysutils/ups-nut')
-rw-r--r--sysutils/ups-nut/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/ups-nut/Makefile b/sysutils/ups-nut/Makefile
index 0f3c0c01d67..c45109d98be 100644
--- a/sysutils/ups-nut/Makefile
+++ b/sysutils/ups-nut/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2001/11/21 15:50:55 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2001/11/25 18:59:48 jlam Exp $
#
DISTNAME= nut-0.45.2
@@ -20,7 +20,8 @@ CONFIGURE_ARGS+= --sysconfdir=${NUT_CONFDIR} \
--with-statepath=${NUT_STATEDIR} \
--with-modelpath=${LOCALBASE}/sbin/ups-drivers
-NUT_CONFDIR= ${CONFDIR}/nut
+PKG_SYSCONFSUBDIR?= nut
+NUT_CONFDIR= ${PKG_SYSCONFDIR}
NUT_DOCDIR= ${PREFIX}/share/doc/nut
NUT_EGDIR= ${PREFIX}/share/examples/nut
NUT_STATEDIR= /var/db/nut