summaryrefslogtreecommitdiff
path: root/net/gtk-vnc/options.mk
blob: 8ec74909f6a2629dfc770ab8c8eb2fcc49d54a39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: options.mk,v 1.2 2009/09/14 10:07:03 tnn Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.gtk-vnc
PKG_SUPPORTED_OPTIONS=	python plugin

.include "../../mk/bsd.options.mk"

PLIST_VARS=	python
.if !empty(PKG_OPTIONS:Mpython)
.include "../../lang/python/extension.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
USE_TOOLS+=	gmake
PLIST.python=	yes
.else
CONFIGURE_ARGS+=	--with-python=no
.endif

PLIST_VARS+=	plugin
.if !empty(PKG_OPTIONS:Mplugin)
.include "../../devel/xulrunner/buildlink3.mk"
CONFIGURE_ARGS+=	--enable-plugin=yes
PLIST.plugin=	yes
.endif