pkgsrc/x11/mate-menus/options.mk

28 lines
737 B
Makefile

# $NetBSD: options.mk,v 1.2 2016/06/13 23:08:31 youri Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mate-menus
PKG_SUPPORTED_OPTIONS= introspection python
PKG_SUGGESTED_OPTIONS= python
.include "../../mk/bsd.options.mk"
PLIST_VARS+= introspection python
.if !empty(PKG_OPTIONS:Mpython)
PY_PATCHPLIST= yes
PYTHON_VERSIONS_ACCEPTED= 27
.include "../../lang/python/extension.mk"
CONFIGURE_ARGS+= --enable-python
PLIST.python= yes
.else
CONFIGURE_ARGS+= --disable-python
.endif
.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