Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / gtk-vnc / options.mk
blobd0e3ff051f5bd253d1717c2956288b2a95824596
1 # $NetBSD: options.mk,v 1.3 2010/01/21 17:05:59 drochner Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.gtk-vnc
4 PKG_SUPPORTED_OPTIONS= python plugin vnc-sasl pulseaudio
5 PKG_SUGGESTED_OPTIONS= python vnc-sasl
7 .include "../../mk/bsd.options.mk"
9 PLIST_VARS= python
10 .if !empty(PKG_OPTIONS:Mpython)
11 .include "../../lang/python/extension.mk"
12 .include "../../x11/py-gtk2/buildlink3.mk"
13 PLIST.python= yes
14 CONFIGURE_ARGS+= --with-python
15 .else
16 CONFIGURE_ARGS+= --without-python
17 .endif
19 PLIST_VARS+= plugin
20 .if !empty(PKG_OPTIONS:Mplugin)
21 .include "../../devel/xulrunner/buildlink3.mk"
22 CONFIGURE_ARGS+= --enable-plugin=yes
23 PLIST.plugin= yes
24 .endif
26 .if !empty(PKG_OPTIONS:Mvnc-sasl)
27 .include "../../security/cyrus-sasl/buildlink3.mk"
28 .else
29 CONFIGURE_ARGS+= --without-sasl
30 .endif
32 PLIST_VARS+= pulseaudio
33 .if !empty(PKG_OPTIONS:Mpulseaudio)
34 .include "../../audio/pulseaudio/buildlink3.mk"
35 CONFIGURE_ARGS+= --with-pulseaudio
36 PLIST.pulseaudio= yes
37 .else
38 CONFIGURE_ARGS+= --without-pulseaudio
39 .endif