summaryrefslogtreecommitdiff
path: root/mail/cone/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cone/options.mk')
-rw-r--r--mail/cone/options.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/cone/options.mk b/mail/cone/options.mk
new file mode 100644
index 00000000000..c829fd08915
--- /dev/null
+++ b/mail/cone/options.mk
@@ -0,0 +1,22 @@
+PKG_OPTIONS_VAR= PKG_OPTIONS.cone
+PKG_SUPPORTED_OPTIONS= aspell ldap
+PKG_SUGGESTED_OPTIONS= aspell ldap
+
+.include "../../mk/bsd.options.mk"
+
+# Package-specific option-handling
+
+###
+### LDAP addressbook support
+###
+.if !empty(PKG_OPTIONS:Mldap)
+. include "../../databases/openldap-client/buildlink3.mk"
+.endif
+
+###
+### Aspell spell-check support
+###
+.if !empty(PKG_OPTIONS:Maspell)
+. include "../../textproc/aspell/buildlink3.mk"
+CONFIGURE_ARGS+= --with-spellcheck=aspell
+.endif