summaryrefslogtreecommitdiff
path: root/devel/libstatgrab/options.mk
blob: 473c1ded5a8dd39535fe4c805f5d90fee566424a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: options.mk,v 1.3 2009/05/16 04:18:13 obache Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.libstatgrab
PKG_SUPPORTED_OPTIONS=	saidar statgrab
PKG_SUGGESTED_OPTIONS=	saidar statgrab
PKG_OPTIONS_LEGACY_VARS+=	WITHOUT_SAIDAR:-saidar
PKG_OPTIONS_LEGACY_VARS+=	WITHOUT_STATGRAB:-statgrab

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

PLIST_VARS+=		saidar statgrab

.if !empty(PKG_OPTIONS:Mstatgrab)
PLIST.statgrab=		yes
.else
CONFIGURE_ARGS+=	--disable-statgrab
.endif

.if !empty(PKG_OPTIONS:Msaidar)
PLIST.saidar=		yes
.  include "../../devel/ncurses/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-saidar
.endif