summaryrefslogtreecommitdiff
path: root/net/jwhois/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2005-10-03 21:18:55 +0000
committeragc <agc@pkgsrc.org>2005-10-03 21:18:55 +0000
commitb88676d14004fc34f123ad25a44dc2df743e2efe (patch)
treebcac4103d18db2664a7d30bf91ecb0bb5e311b22 /net/jwhois/Makefile
parent1130c6ef25444f15bf91f0beb62ba4a52a66f1be (diff)
downloadpkgsrc-b88676d14004fc34f123ad25a44dc2df743e2efe.tar.gz
Move jwhois to the package options framework.
With thanks to Thomas Klausner for clueing me in - all mistakes are mine.
Diffstat (limited to 'net/jwhois/Makefile')
-rw-r--r--net/jwhois/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index 34e6402a6e2..6293067067d 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2005/05/24 07:43:07 kleink Exp $
+# $NetBSD: Makefile,v 1.55 2005/10/03 21:18:55 agc Exp $
#
DISTNAME= jwhois-3.2.2
@@ -20,15 +20,7 @@ LIBS.SunOS+= -lnsl -lsocket
INFO_FILES= jwhois.info
-BUILD_DEFS+= JWHOIS_ENABLE_CACHE
-
-.if defined(JWHOIS_ENABLE_CACHE)
-CONFIGURE_ARGS+= --with-cache
-CONF_FILES_PERMS= /dev/null /${VARBASE}/db/jwhois.db \
- ${ROOT_USER} nogroup 0666
-.else
-CONFIGURE_ARGS+= --without-cache
-.endif
+.include "options.mk"
EGDIR= ${PREFIX}/share/examples/jwhois
CONF_FILES= ${EGDIR}/jwhois.conf.default \