25 lines
731 B
Makefile
25 lines
731 B
Makefile
# $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
|