summaryrefslogtreecommitdiff
path: root/mail/turba/options.mk
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-03-25 13:21:43 +0000
committeradrianp <adrianp>2005-03-25 13:21:43 +0000
commit93d14f4573021c68454308cd8d7b588c65dcdb3c (patch)
tree6ac66f2118c020c44b9084982fe1e4fe8d3fc920 /mail/turba/options.mk
parent622ef7d30a212dbdf837150ade85eea345ca68b7 (diff)
downloadpkgsrc-93d14f4573021c68454308cd8d7b588c65dcdb3c.tar.gz
Turba is a set of PHP scripts that implement a contacts directory and
management interface. Turba also provides an API for external applications to interface with address books, providing adding and searching features that can be hooked right into other applications. Turba is a complete basic contact management application. SQL, LDAP, and Horde Preferences backends are available and are well tested. The fields in the address books can be defined in a very flexible way, just by changing the config files. Import/export from/to Pine, Mulberry, CSV, TSV, and vCard contacts. You can create distribution lists from your addressbooks, which are handled transparently by IMP and other Horde applications. And there are Horde API functions to add and search for contacts. This also addresses PR# 22809 - Thanks for the PR.
Diffstat (limited to 'mail/turba/options.mk')
-rw-r--r--mail/turba/options.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/turba/options.mk b/mail/turba/options.mk
new file mode 100644
index 00000000000..d26d7d78050
--- /dev/null
+++ b/mail/turba/options.mk
@@ -0,0 +1,24 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/03/25 13:21:43 adrianp Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.turba
+PKG_SUPPORTED_OPTIONS= ldap mysql
+
+.if !defined(PKG_OPTIONS.turba)
+PKG_DEFAULT_OPTIONS+= ldap
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Use OpenLDAP for storing data
+###
+.if !empty(PKG_OPTIONS:Mldap)
+DEPENDS+= php-ldap>=4.3.3:../../databases/php-ldap
+.endif
+
+###
+### Use MySQL for storing data
+###
+.if !empty(PKG_OPTIONS:Mmysql)
+DEPENDS+= php-mysql>=4.3.3:../../databases/php-mysql
+.endif