pkgsrc-wip/gajim/options.mk
Tonnerre LOMBARD 3f3b43bced Upgrade gajim to version 0.12.1. Changes are too many to be listed here,
the client evolved from a psi lookalike to a feature monster.
2009-01-07 22:29:40 +00:00

47 lines
1.1 KiB
Makefile

# $NetBSD: options.mk,v 1.2 2009/01/07 22:29:40 tonnerre Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gajim
PKG_SUPPORTED_OPTIONS= gtkspell dbus trayicon ssl avahi
PKG_SUGGESTED_OPTIONS= gtkspell dbus trayicon ssl avahi
.include "../../mk/bsd.options.mk"
# gtkspell
.if !empty(PKG_OPTIONS:Mgtkspell)
.include "../../textproc/gtkspell/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gtkspell
PLIST_SUBST+= GTKSPELL=""
.else
CONFIGURE_ARGS+= --disable-gtkspell
PLIST_SUBST+= GTKSPELL="@comment "
.endif
# dbus
.if !empty(PKG_OPTIONS:Mdbus)
.include "../../sysutils/py-dbus/buildlink3.mk"
CONFIGURE_ARGS+= --enable-remote
PLIST_SUBST+= REMOTE=""
.else
CONFIGURE_ARGS+= --disable-remote
PLIST_SUBST+= REMOTE="@comment "
.endif
# trayicon
.if !empty(PKG_OPTIONS:Mtrayicon)
CONFIGURE_ARGS+= --enable-trayicon
PLIST_SUBST+= TRAYICON=""
.else
CONFIGURE_ARGS+= --disable-trayicon
PLIST_SUBST+= TRAYICON="@comment "
.endif
# ssl
.if !empty(PKG_OPTIONS:Mssl)
.include "../../security/py-OpenSSL/buildlink3.mk"
.include "../../security/py-amkCrypto/buildlink3.mk"
.endif
# avahi
.if !empty(PKG_OPTIONS:Mavahi)
.include "../../wip/avahi/buildlink3.mk"
.endif