[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / jwhois

File: [cvs.NetBSD.org] / pkgsrc / net / jwhois / options.mk (download)

Revision 1.3, Sun Nov 3 11:45:38 2019 UTC (3 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD
Changes since 1.2: +3 -3 lines

net: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

# $NetBSD: options.mk,v 1.3 2019/11/03 11:45:38 rillig Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.jwhois
PKG_SUPPORTED_OPTIONS=		jwhois-enable-cache
PKG_OPTIONS_LEGACY_VARS+=	JWHOIS_ENABLE_CACHE:jwhois-enable-cache

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mjwhois-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