pkgsrc-wip/colord/options.mk

19 lines
440 B
Makefile

# $NetBSD$
PKG_OPTIONS_VAR= PKG_OPTIONS.colord
PKG_SUPPORTED_OPTIONS= introspection
PKG_SUGGESTED_OPTIONS=
.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