# $NetBSD: options.mk,v 1.2 2018/05/31 21:00:23 youri Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.upower PKG_SUPPORTED_OPTIONS= introspection PKG_SUGGESTED_OPTIONS= introspection .include "../../mk/bsd.options.mk" PLIST_VARS+= introspection .if !empty(PKG_OPTIONS:Mintrospection) BUILDLINK_DEPMETHOD.gobject-introspection+= build .include "../../devel/gobject-introspection/buildlink3.mk" CONFIGURE_ARGS+= --enable-introspection PLIST.introspection= yes .else CONFIGURE_ARGS+= --disable-introspection .endif