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 /chat | |
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 'chat')
-rw-r--r-- | chat/gale/Makefile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/chat/gale/Makefile b/chat/gale/Makefile index e0e81b608f5..7069a6cba01 100644 --- a/chat/gale/Makefile +++ b/chat/gale/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/11/19 21:05:55 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2001/11/25 18:59:45 jlam Exp $ # DISTNAME= gale-0.99a @@ -15,25 +15,28 @@ USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig ${WRKSRC}/liboopltconfig GNU_CONFIGURE= YES -CONFIGURE_ARGS= --sysconfdir=${CONFDIR} +CONFIGURE_ARGS= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ENV+= PROG_GLIB_CONFIG="${GLIB_CONFIG}" CPPFLAGS+= -I${BUILDLINK_DIR}/include/rsaref CPPFLAGS+= -I${BUILDLINK_DIR}/include/w3c-libwww +PKG_SYSCONFSUBDIR?= gale EGDIR= ${PREFIX}/share/examples/${PKGBASE} PKG_USER= gale PKG_GROUP= gale -SUPPORT_FILES= ${EGDIR}/COPYING ${CONFDIR}/gale/COPYING -SUPPORT_FILES+= ${EGDIR}/ROOT ${CONFDIR}/gale/auth/trusted/ROOT -OWN_DIRS= ${CONFDIR}/gale -OWN_DIRS+= ${CONFDIR}/gale/auth -OWN_DIRS+= ${CONFDIR}/gale/auth/private -OWN_DIRS+= ${CONFDIR}/gale/auth/trusted -OWN_DIRS_PERMS= ${CONFDIR}/gale/auth/cache ${SHAREOWN} ${SHAREGRP} 0777 -OWN_DIRS_PERMS+= ${CONFDIR}/gale/auth/local ${SHAREOWN} ${SHAREGRP} 1777 +SUPPORT_FILES= ${EGDIR}/COPYING ${PKG_SYSCONFDIR}/gale/COPYING +SUPPORT_FILES+= ${EGDIR}/ROOT ${PKG_SYSCONFDIR}/gale/auth/trusted/ROOT +OWN_DIRS= ${PKG_SYSCONFDIR} +OWN_DIRS+= ${PKG_SYSCONFDIR}/auth +OWN_DIRS+= ${PKG_SYSCONFDIR}/auth/private +OWN_DIRS+= ${PKG_SYSCONFDIR}/auth/trusted +OWN_DIRS_PERMS= ${PKG_SYSCONFDIR}/auth/cache \ + ${SHAREOWN} ${SHAREGRP} 0777 +OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/auth/local \ + ${SHAREOWN} ${SHAREGRP} 1777 pre-install: PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL |