From c191dc788b25d2c1365f262d8e83cc9692b21f2e Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 25 Nov 2001 18:59:45 +0000 Subject: 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. --- www/surfraw/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'www/surfraw') 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} -- cgit v1.2.3