Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / chat / xchat / options.mk
bloba5ccaffebec1de54de494246c5e9c63fc4174c1d
1 # $NetBSD: options.mk,v 1.15 2012/06/16 23:06:07 wiz Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.xchat
4 PKG_SUPPORTED_OPTIONS= inet6 ssl socks5 mitshm gnome
5 PKG_OPTIONS_GROUP.spell= libsexy gtkspell
6 PKG_OPTIONS_OPTIONAL_GROUPS= spell
7 PKG_SUGGESTED_OPTIONS= inet6 ssl
9 .include "../../mk/bsd.options.mk"
11 PLIST_VARS+= dbus
13 ###
14 ### Use OpenSSL libraries for connecting to ircs servers
15 ###
16 .if !empty(PKG_OPTIONS:Mssl)
17 . include "../../security/openssl/buildlink3.mk"
18 CONFIGURE_ARGS+= --enable-openssl=${SSLBASE:Q}
19 .else
20 CONFIGURE_ARGS+= --enable-openssl=no
21 .endif
23 ###
24 ### Support for connecting thru SOCKS servers
25 ###
26 .if !empty(PKG_OPTIONS:Msocks5)
27 CONFIGURE_ARGS+= --enable-socks
28 .endif
30 ###
31 ### IPv6 support.
32 ###
33 .if !empty(PKG_OPTIONS:Minet6)
34 CONFIGURE_ARGS+= --enable-ipv6
35 .endif
37 ###
38 ### MIT-SHM extension support (for "fast tinting")
39 ###
40 .if !empty(PKG_OPTIONS:Mmitshm)
41 CONFIGURE_ARGS+= --enable-shm
42 .else
43 CONFIGURE_ARGS+= --disable-shm
44 .endif
46 ###
47 ### GNOME support
48 ###
49 .if !empty(PKG_OPTIONS:Mgnome)
50 CONFIGURE_ARGS+= --enable-dbus
51 PLIST.dbus= yes
52 SUBST_CLASSES+= gconf
53 SUBST_STAGE.gconf= pre-configure
54 SUBST_MESSAGE.gconf= Disabling schema registration/installation.
55 SUBST_SED.gconf+= -e 's,DO_GCONF_TRUE,DO_GCONF_FALSE,g'
56 SUBST_FILES.gconf+= src/common/dbus/Makefile.in
57 . include "../../devel/GConf/schemas.mk"
58 . include "../../sysutils/dbus-glib/buildlink3.mk"
59 .else
60 # We set this to ${FALSE} to avoid detection.
61 CONFIGURE_ARGS+= --disable-dbus
62 .endif
64 ###
65 ### Support for spell checking
66 ###
67 .if !empty(PKG_OPTIONS:Mgtkspell)
68 CONFIGURE_ARGS+= --enable-spell=gtkspell
69 . include "../../textproc/gtkspell/buildlink3.mk"
70 .elif !empty(PKG_OPTIONS:Mlibsexy)
71 CONFIGURE_ARGS+= --enable-spell=libsexy
72 . include "../../devel/libsexy/buildlink3.mk"
73 .else
74 CONFIGURE_ARGS+= --enable-spell=none
75 .endif