diff options
author | jlam <jlam@pkgsrc.org> | 2001-11-25 18:59:45 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-11-25 18:59:45 +0000 |
commit | ffceca11a9acb11623d00829c993ca1022b4d164 (patch) | |
tree | 78f3dfe5e355bfe3bf2e730202f3d29cb7da98d5 /www/surfraw | |
parent | cfd5b704a70497d2c14d5e85256db8adea34f050 (diff) | |
download | pkgsrc-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/surfraw')
-rw-r--r-- | www/surfraw/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/surfraw/Makefile b/www/surfraw/Makefile index b5bfd1889bb..40d1b058889 100644 --- a/www/surfraw/Makefile +++ b/www/surfraw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2001/11/19 16:23:16 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2001/11/25 18:59:50 jlam Exp $ # DISTNAME= surfraw-1.0.5 @@ -14,7 +14,7 @@ CONFLICTS+= surfaw-[0-9]* USE_BUILDLINK_ONLY= YES AUTOMAKE_OVERRIDE= YES GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --sysconfdir=${CONFDIR} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} # Override sysconfdir so that the installation puts the example config file # in ${EGDIR}. @@ -25,8 +25,8 @@ MAKE_ENV+= AM_MAKEFLAGS="${MAKE_FLAGS}" DOCDIR= ${PREFIX}/share/doc/surfraw EGDIR= ${PREFIX}/share/examples/${PKGBASE} -CONF_FILES= ${EGDIR}/surfraw.conf ${CONFDIR}/surfraw.conf -SUPPORT_FILES= ${EGDIR}/surfraw_elvi.list ${CONFDIR}/surfraw_elvi.list +CONF_FILES= ${EGDIR}/surfraw.conf ${PKG_SYSCONFDIR}/surfraw.conf +SUPPORT_FILES= ${EGDIR}/surfraw_elvi.list ${PKG_SYSCONFDIR}/surfraw_elvi.list PLIST_SUBST+= PKGBASE=${PKGBASE} |