summaryrefslogtreecommitdiff
path: root/mail/balsa/options.mk
diff options
context:
space:
mode:
authorwiz <wiz>2007-09-20 20:50:48 +0000
committerwiz <wiz>2007-09-20 20:50:48 +0000
commit9c4bfa082c9cee0f08a035af5125f744cfcf8569 (patch)
tree7dc12b7133089fd747451522d34bc1c7ea352112 /mail/balsa/options.mk
parent3760fda7b1e52b2fa8aa0655ba56e60224ae96bb (diff)
downloadpkgsrc-9c4bfa082c9cee0f08a035af5125f744cfcf8569.tar.gz
Move balsa2 to balsa, to make directory name match PKGNAME.
Diffstat (limited to 'mail/balsa/options.mk')
-rw-r--r--mail/balsa/options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/balsa/options.mk b/mail/balsa/options.mk
new file mode 100644
index 00000000000..aab7d45426f
--- /dev/null
+++ b/mail/balsa/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2007/09/20 20:50:50 wiz Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.balsa
+PKG_SUPPORTED_OPTIONS= ldap ssl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mldap)
+CONFIGURE_ARGS+= --with-ldap
+. include "../../databases/openldap-client/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mssl)
+CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
+. include "../../security/openssl/buildlink3.mk"
+.endif