summaryrefslogtreecommitdiff
path: root/sysutils/libnotify/options.mk
blob: a485c7044c8566c61a2c53381d44e1a113457d14 (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
25
# $NetBSD: options.mk,v 1.1 2013/08/16 09:17:33 obache Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.libnotify07
PKG_SUPPORTED_OPTIONS=	doc introspection
PKG_SUGGESTED_OPTIONS+=	# blank
PLIST_VARS+=		doc introspection

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

.if !empty(PKG_OPTIONS:Mdoc)
BUILD_DEPENDS+=	xmlto-[0-9]*:../../textproc/xmlto
CONFIGURE_ARGS+=	--enable-docbook-docs
PLIST.doc=		yes
.else
CONFIGURE_ARGS+=	--disable-docbook-docs
.endif

.if !empty(PKG_OPTIONS:Mintrospection)
BUILDLINK_API_DEPENDS.gobject-introspection+=	gobject-introspection>=0.9.12
.include "../../devel/gobject-introspection/buildlink3.mk"
CONFIGURE_ARGS+=	--enable-introspection=yes
PLIST.introspection=	yes
.else
CONFIGURE_ARGS+=	--enable-introspection=no
.endif