summaryrefslogtreecommitdiff
path: root/net/jwhois/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-25 19:43:58 +0000
committerjlam <jlam@pkgsrc.org>2001-11-25 19:43:58 +0000
commit26464aacae1d4dbf924116d0263515bf3ddf00a7 (patch)
tree79e0a5523e417412136d2e69ad73d2a57f3b8ba6 /net/jwhois/Makefile
parent3f8b0469a6f1186f193a1f9887179e1a6cd0ddc7 (diff)
downloadpkgsrc-26464aacae1d4dbf924116d0263515bf3ddf00a7.tar.gz
Use the general INSTALL/DEINSTALL scripts and look for config files in
${PKG_SYSCONFDIR}.
Diffstat (limited to 'net/jwhois/Makefile')
-rw-r--r--net/jwhois/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index 5cdcb8cee54..a3dbcdcaf1e 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2001/10/31 15:11:24 tv Exp $
+# $NetBSD: Makefile,v 1.15 2001/11/25 19:43:58 jlam Exp $
#
DISTNAME= jwhois-3.0.1
@@ -11,15 +11,21 @@ COMMENT= Configurable WHOIS client
USE_BUILDLINK_ONLY= # defined
GNU_CONFIGURE= # defined
-CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --localstatedir=/var/db
CONFIGURE_ARGS+= --with-cache
INFO_FILES= jwhois.info
+EGDIR= ${PREFIX}/share/examples
+CONF_FILES= ${EGDIR}/jwhois.conf ${PKG_SYSCONFDIR}/jwhois.conf
+CONF_FILES_PERMS= /dev/null /var/db/jwhois.db \
+ ${ROOT_USER} nogroup 0664
+
post-install:
${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf ${PREFIX}/share/examples
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../devel/gettext-lib/buildlink.mk"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"