pkgsrc/mail/cone/options.mk
dholland fc4656e97e Since the last update, this will not build without the wide-curses
option, so turn it on by default.

The option should probably be removed entirely, as the code doesn't
look amenable to a narrow-only build.

PKGREVISION -> 2.
2012-09-16 00:51:32 +00:00

59 lines
1.2 KiB
Makefile

# $NetBSD: options.mk,v 1.8 2012/09/16 00:51:32 dholland Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cone
PKG_SUPPORTED_OPTIONS= aspell ldap wide-curses
PKG_OPTIONS_REQUIRED_GROUPS= tls
PKG_OPTIONS_GROUP.tls= gnutls ssl
PKG_SUGGESTED_OPTIONS= aspell ldap ssl wide-curses
.include "../../mk/bsd.options.mk"
# Package-specific option-handling
###
### Aspell spell-check support
###
.if !empty(PKG_OPTIONS:Maspell)
. include "../../textproc/aspell/buildlink3.mk"
CONFIGURE_ARGS+= --with-spellcheck=aspell
.endif
###
### FAM (file alteration monitor) support
###
.if !empty(PKG_OPTIONS:Mfam)
. include "../../mk/fam.buildlink3.mk"
.endif
###
### GNU TLS support
###
.if !empty(PKG_OPTIONS:Mgnutls)
. include "../../security/gnutls/buildlink3.mk"
CONFIGURE_ARGS+= --with-gnutls
.endif
###
### LDAP addressbook support
###
.if !empty(PKG_OPTIONS:Mldap)
. include "../../databases/openldap-client/buildlink3.mk"
.endif
###
### OpenSSL TLS support
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
.endif
###
### Wide curses display
###
.if !empty(PKG_OPTIONS:Mwide-curses)
USE_NCURSES= yes # termattrs()
. include "../../devel/ncursesw/buildlink3.mk"
.else
USE_NCURSES= yes # termattrs()
. include "../../devel/ncurses/buildlink3.mk"
.endif