blob: 075d05aeb70b9e09d460d560e77067454ea07294 (
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.2 2013/08/17 16:28:48 richard Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libnotify
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
|