2013-04-06 21:42:41 +02:00
|
|
|
# $NetBSD: options.mk,v 1.16 2013/04/06 19:42:41 rodent Exp $
|
2005-06-02 23:48:42 +02:00
|
|
|
|
2005-06-06 13:43:50 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.xchat
|
2007-08-10 21:14:06 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= inet6 ssl socks5 mitshm gnome
|
|
|
|
PKG_OPTIONS_GROUP.spell= libsexy gtkspell
|
|
|
|
PKG_OPTIONS_OPTIONAL_GROUPS= spell
|
2008-05-26 16:39:24 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= inet6 ssl
|
2005-06-06 15:55:30 +02:00
|
|
|
|
2005-06-02 23:48:42 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= dbus
|
|
|
|
|
2005-06-06 13:35:39 +02:00
|
|
|
###
|
|
|
|
### Use OpenSSL libraries for connecting to ircs servers
|
|
|
|
###
|
2005-06-02 23:48:42 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
2005-06-06 13:35:39 +02:00
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-openssl=${SSLBASE:Q}
|
2005-06-06 13:35:39 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-openssl=no
|
2005-06-02 23:48:42 +02:00
|
|
|
.endif
|
|
|
|
|
2005-06-06 13:35:39 +02:00
|
|
|
###
|
|
|
|
### Support for connecting thru SOCKS servers
|
|
|
|
###
|
2005-06-02 23:48:42 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Msocks5)
|
|
|
|
CONFIGURE_ARGS+= --enable-socks
|
|
|
|
.endif
|
2005-06-06 13:35:39 +02:00
|
|
|
|
|
|
|
###
|
|
|
|
### IPv6 support.
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.endif
|
2007-08-10 21:14:06 +02:00
|
|
|
|
|
|
|
###
|
|
|
|
### MIT-SHM extension support (for "fast tinting")
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mmitshm)
|
|
|
|
CONFIGURE_ARGS+= --enable-shm
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-shm
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### GNOME support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mgnome)
|
|
|
|
CONFIGURE_ARGS+= --enable-dbus
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.dbus= yes
|
2007-08-10 21:14:06 +02:00
|
|
|
SUBST_CLASSES+= gconf
|
2013-04-06 21:42:41 +02:00
|
|
|
SUBST_STAGE.gconf= pre-configure
|
|
|
|
SUBST_MESSAGE.gconf= Disabling schema registration/installation.
|
2007-08-10 21:14:06 +02:00
|
|
|
SUBST_SED.gconf+= -e 's,DO_GCONF_TRUE,DO_GCONF_FALSE,g'
|
|
|
|
SUBST_FILES.gconf+= src/common/dbus/Makefile.in
|
2007-09-25 17:38:54 +02:00
|
|
|
. include "../../devel/GConf/schemas.mk"
|
2007-08-10 21:14:06 +02:00
|
|
|
. include "../../sysutils/dbus-glib/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
# We set this to ${FALSE} to avoid detection.
|
|
|
|
CONFIGURE_ARGS+= --disable-dbus
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Support for spell checking
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mgtkspell)
|
|
|
|
CONFIGURE_ARGS+= --enable-spell=gtkspell
|
|
|
|
. include "../../textproc/gtkspell/buildlink3.mk"
|
|
|
|
.elif !empty(PKG_OPTIONS:Mlibsexy)
|
|
|
|
CONFIGURE_ARGS+= --enable-spell=libsexy
|
|
|
|
. include "../../devel/libsexy/buildlink3.mk"
|
2009-10-24 17:51:25 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-spell=none
|
2007-08-10 21:14:06 +02:00
|
|
|
.endif
|