aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-12-03 10:40:12 +0800
committersteve <steve@FreeBSD.org>2001-12-03 10:40:12 +0800
commit83a9841a7c0a8ef8482c99fe0cbf8ddf39141095 (patch)
tree178b685e1b4d4b9d7d4f9fb422d04fd4c1ea085e /mail
parentdc80b5a0a44103f1c0955780b95e96e470373be3 (diff)
downloadfreebsd-ports-gnome-83a9841a7c0a8ef8482c99fe0cbf8ddf39141095.tar.gz
freebsd-ports-gnome-83a9841a7c0a8ef8482c99fe0cbf8ddf39141095.tar.zst
freebsd-ports-gnome-83a9841a7c0a8ef8482c99fe0cbf8ddf39141095.zip
Adding turba version 1.0.
The Horde contact management application. PR: 32089, 32152 Submitted by: Thierry Thomas <thierry@thomas.as>
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/horde-turba/Makefile133
-rw-r--r--mail/horde-turba/distinfo1
-rw-r--r--mail/horde-turba/files/httpd.conf.turba32
-rw-r--r--mail/horde-turba/files/patch-aa9
-rw-r--r--mail/horde-turba/files/patch-ab35
-rw-r--r--mail/horde-turba/files/patch-ac16
-rw-r--r--mail/horde-turba/pkg-comment1
-rw-r--r--mail/horde-turba/pkg-deinstall12
-rw-r--r--mail/horde-turba/pkg-descr11
-rw-r--r--mail/horde-turba/pkg-message17
-rw-r--r--mail/horde-turba/pkg-plist176
-rw-r--r--mail/horde4-turba/Makefile133
-rw-r--r--mail/horde4-turba/distinfo1
-rw-r--r--mail/horde4-turba/files/httpd.conf.turba32
-rw-r--r--mail/horde4-turba/files/patch-aa9
-rw-r--r--mail/horde4-turba/files/patch-ab35
-rw-r--r--mail/horde4-turba/files/patch-ac16
-rw-r--r--mail/horde4-turba/pkg-comment1
-rw-r--r--mail/horde4-turba/pkg-deinstall12
-rw-r--r--mail/horde4-turba/pkg-descr11
-rw-r--r--mail/horde4-turba/pkg-message17
-rw-r--r--mail/horde4-turba/pkg-plist176
-rw-r--r--mail/turba/Makefile133
-rw-r--r--mail/turba/distinfo1
-rw-r--r--mail/turba/files/httpd.conf.turba32
-rw-r--r--mail/turba/files/patch-aa9
-rw-r--r--mail/turba/files/patch-ab35
-rw-r--r--mail/turba/files/patch-ac16
-rw-r--r--mail/turba/pkg-comment1
-rw-r--r--mail/turba/pkg-deinstall12
-rw-r--r--mail/turba/pkg-descr11
-rw-r--r--mail/turba/pkg-message17
-rw-r--r--mail/turba/pkg-plist176
34 files changed, 1330 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index a3894b4cf044..e797650ee78e 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -207,6 +207,7 @@
SUBDIR += tlb
SUBDIR += tmda
SUBDIR += tpop3d
+ SUBDIR += turba
SUBDIR += vbsfilter
SUBDIR += vm-pop3d
SUBDIR += vpopmail
diff --git a/mail/horde-turba/Makefile b/mail/horde-turba/Makefile
new file mode 100644
index 000000000000..58bfc5427dcd
--- /dev/null
+++ b/mail/horde-turba/Makefile
@@ -0,0 +1,133 @@
+# Ports collection makefile for: turba
+# Date created: Sat Nov 16, 2001
+# Whom: Thierry Thomas (<thierry@thomas.as>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= turba
+PORTVERSION= 1.0
+CATEGORIES= mail www
+MASTER_SITES= ftp://ftp.horde.org/pub/turba/tarballs/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-RC2
+
+MAINTAINER= thierry@thomas.as
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+#-----------------------------------------------------------------------
+# You may define these options:
+#
+# - WITHOUT_LDAP : if you do not need OpenLDAP;
+# - WITH_LDAP1 : if you prefer OpenLDAP1.
+#
+# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
+#
+#-----------------------------------------------------------------------
+
+.if !defined(WITHOUT_LDAP)
+.if defined(WITH_LDAP1)
+LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap \
+ lber.1:${PORTSDIR}/net/openldap
+.else
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \
+ lber.2:${PORTSDIR}/net/openldap2
+.endif
+.endif
+
+RUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde-devel
+
+NO_BUILD= yes
+DOCS= COPYING README docs/CHANGES docs/CREDITS \
+ docs/INSTALL docs/turba.dia docs/turba.pdf
+CONFFILE= attributes.php conf.php html.php menu.php \
+ prefs.php sources.php
+
+LHORDEDIR?= www/horde
+LTURBADIR?= ${LHORDEDIR}/turba
+
+PLIST_SUB= HORDEDIR=${LHORDEDIR} TURBADIR=${LTURBADIR}
+
+HORDEDIR= ${PREFIX}/${LHORDEDIR}
+TURBADIR= ${PREFIX}/${LTURBADIR}
+CONFDIR= ${TURBADIR}/config
+
+APACHE_CNFDIR?= ${LOCALBASE}/etc/apache
+APACHE_CONF= ${APACHE_CNFDIR}/httpd.conf
+
+pre-install:
+# N.B.: database dependencies are binded with mod_php#, neither by Horde nor Turba.
+.if !defined(WITHOUT_SUPPORTED_DB)
+ @if ! ${LDCONFIG} -r | ${GREP} -q -e "mysqlclient.10" ; then \
+ if ! ${LDCONFIG} -r | ${GREP} -q -e "pq.2" ; then \
+ if ! ${LDCONFIG} -r | ${GREP} -q -e "sybdb.0" ; then \
+ if ! ${LDCONFIG} -r | ${GREP} -q -e "ct.0" ; then \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "Please configure PHP with a database support." ; \
+ ${ECHO_MSG} "MySQL, PostgreSQL and Sybase (CTLIB or DBLIB)" ; \
+ ${ECHO_MSG} "can be used with PHP AND Turba." ; \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "(If everything will run on this machine, do not" ; \
+ ${ECHO_MSG} " forget to install the database server-side!)" ; \
+ ${ECHO_MSG} "" ; \
+ ${FALSE} ; \
+ fi ; \
+ fi ; \
+ fi ; \
+ fi
+.endif
+.if !defined(WITHOUT_LDAP)
+.if defined(WITH_LDAP1)
+ @if ! ${LDCONFIG} -r | ${GREP} -q -e "ldap.1"; then \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \
+ ${ECHO_MSG} "" ; \
+ ${FALSE} ; \
+ fi
+.else
+ @if ! ${LDCONFIG} -r | ${GREP} -q -e "ldap.2"; then \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "Please configure PHP with OpenLDAP2 support." ; \
+ ${ECHO_MSG} "" ; \
+ ${FALSE} ; \
+ fi
+.endif
+.endif
+
+do-install:
+ ${MKDIR} ${TURBADIR}
+ ${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${TURBADIR}
+ ${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${WRKSRC}/templates ${TURBADIR}
+ ${CP} -Rp ${WRKSRC}/po ${TURBADIR}
+ ${CP} -p ${WRKSRC}/*.php ${TURBADIR}
+.for FILE in ${CONFFILE}
+ @if [ ! -f ${CONFDIR}/${FILE} ]; then \
+ ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \
+ fi
+.endfor
+ ${CHOWN} -R www:www ${TURBADIR}
+ ${CHMOD} -R o-rwx ${CONFDIR}
+ @(if [ -f ${APACHE_CONF} ] ; then \
+ (if [ ! -f ${APACHE_CONF}.beforeTurba ] ; then \
+ ${ECHO} "===> Updating ${APACHE_CONF}..." ; \
+ ${CP} -p ${FILESDIR}/httpd.conf.turba ${WRKDIR}/httpd.conf.turba ; \
+ ${PERL} -pi -e "s:/home/httpd/html/horde/turba:${TURBADIR}:g" ${WRKDIR}/httpd.conf.turba ; \
+ ${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeTurba ; \
+ ${GREP} -qw 'Added for Turba' ${APACHE_CONF} || ${CAT} ${WRKDIR}/httpd.conf.turba >> ${APACHE_CONF} ; \
+ fi) ; \
+ fi)
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for FILE in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+ @${ECHO} "Documentation installed in ${DOCSDIR}."
+.endif
+
+post-install:
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE} | \
+ ${SED} -e "s:%%TURBADIR%%:${TURBADIR}:g;s:%%PORTSDIR%%:${PORTSDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g;s:%%APACHE_CONF%%:${APACHE_CONF}:g"
+ @${ECHO}
+
+.include <bsd.port.mk>
diff --git a/mail/horde-turba/distinfo b/mail/horde-turba/distinfo
new file mode 100644
index 000000000000..5bdabef90faa
--- /dev/null
+++ b/mail/horde-turba/distinfo
@@ -0,0 +1 @@
+MD5 (turba-1.0-RC2.tar.gz) = df5a7b63a9a5d6ad598d537bc57560e6
diff --git a/mail/horde-turba/files/httpd.conf.turba b/mail/horde-turba/files/httpd.conf.turba
new file mode 100644
index 000000000000..95683ab9cd5c
--- /dev/null
+++ b/mail/horde-turba/files/httpd.conf.turba
@@ -0,0 +1,32 @@
+
+# Added for Turba
+#
+# For security, don't serve pages from the Turba configuration and
+# library directories.
+#
+<Directory "/home/httpd/html/horde/turba/config">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/lib">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/locale">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/po">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/scripts">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/templates">
+ order deny,allow
+ deny from all
+</Directory>
+# End of Turba configuration ================
+
diff --git a/mail/horde-turba/files/patch-aa b/mail/horde-turba/files/patch-aa
new file mode 100644
index 000000000000..1a51d8aec31c
--- /dev/null
+++ b/mail/horde-turba/files/patch-aa
@@ -0,0 +1,9 @@
+--- config/conf.php.dist.orig Fri Sep 28 23:29:55 2001
++++ config/conf.php.dist Sat Nov 17 21:38:00 2001
+@@ -29,5 +29,6 @@
+ // example providing a link to IMP (an email program) would be:
+ // $conf['menu']['apps'] = array('imp');
+ $conf['menu']['apps'] = array();
++//UNCOMMENTWHENINSTIMP$conf['menu']['apps'] = array('imp');
+
+ ?>
diff --git a/mail/horde-turba/files/patch-ab b/mail/horde-turba/files/patch-ab
new file mode 100644
index 000000000000..f76a7c518225
--- /dev/null
+++ b/mail/horde-turba/files/patch-ab
@@ -0,0 +1,35 @@
+--- config/sources.php.dist.orig Sun Nov 4 01:42:12 2001
++++ config/sources.php.dist Sun Nov 18 17:25:08 2001
+@@ -83,21 +83,25 @@
+ 'title' => 'Local SQL',
+ 'type' => 'sql',
+ 'params' => array(
+- 'phptype' => 'pgsql',
+- 'hostspec' => '',
+- 'username' => '',
+- 'password' => '',
++// 'phptype' => 'pgsql',
++ 'phptype' => 'mysql',
++ 'hostspec' => 'localhost',
++ 'username' => 'hordemgr',
++ 'password' => 'hordemgr',
+ 'database' => 'horde',
+ 'options' => '',
+- 'tty' => '',
+- 'port' => '5432',
+- 'protocol' => 'unix',
++// 'tty' => '',
++// Default port: 5432 for pgsql (PostGres), 3306 for mysql
++// 'port' => '5432',
++// 'port' => '3306',
++// 'protocol' => 'unix',
+ 'table' => 'turba_objects'
+ ),
+ 'map' => array(
+ '__key' => 'object_id',
+ '__owner' => 'owner_id',
+ 'name' => 'object_name',
++ 'alias' => 'object_alias',
+ 'email' => 'object_email',
+ 'homeAddress' => 'object_homeAddress',
+ 'workAddress' => 'object_workAddress',
diff --git a/mail/horde-turba/files/patch-ac b/mail/horde-turba/files/patch-ac
new file mode 100644
index 000000000000..74914cb6d40e
--- /dev/null
+++ b/mail/horde-turba/files/patch-ac
@@ -0,0 +1,16 @@
+--- config/prefs.php.dist.orig Mon Oct 22 09:09:23 2001
++++ config/prefs.php.dist Sun Nov 18 01:21:42 2001
+@@ -16,4 +16,13 @@
+ 'type' => 'select',
+ 'desc' => _("Select your preferred language:")
+ );
++
++// Addressbook
++$_prefs['searchsource'] = array(
++ 'value' => 'localsql',
++ 'locked' => false,
++ 'shared' => true,
++ 'type' => 'select',
++ 'desc' => _("from")
++);
+ ?>
diff --git a/mail/horde-turba/pkg-comment b/mail/horde-turba/pkg-comment
new file mode 100644
index 000000000000..aa37eca86b3d
--- /dev/null
+++ b/mail/horde-turba/pkg-comment
@@ -0,0 +1 @@
+The Horde contact management application
diff --git a/mail/horde-turba/pkg-deinstall b/mail/horde-turba/pkg-deinstall
new file mode 100644
index 000000000000..da0aafe5b418
--- /dev/null
+++ b/mail/horde-turba/pkg-deinstall
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Try to restore httpd.conf when deinstalling Turba
+
+if [ x$2 != xDEINSTALL ]; then
+ exit
+fi
+
+if [ -f ${PKG_PREFIX}/etc/apache/httpd.conf.beforeTurba ] ; then
+ echo "Restoring httpd.conf..."
+ cp ${PKG_PREFIX}/etc/apache/httpd.conf ${PKG_PREFIX}/etc/apache/httpd.conf.deinstTurba
+ mv ${PKG_PREFIX}/etc/apache/httpd.conf.beforeTurba ${PKG_PREFIX}/etc/apache/httpd.conf
+fi
diff --git a/mail/horde-turba/pkg-descr b/mail/horde-turba/pkg-descr
new file mode 100644
index 000000000000..7c363e6d373a
--- /dev/null
+++ b/mail/horde-turba/pkg-descr
@@ -0,0 +1,11 @@
+Turba is the Horde contact management application. It is currently in
+the development stages, and makes heavy use of the Horde framework to
+provide integration with other applications.
+
+Right now, Turba is a fairly complete basic contact management
+application. SQL and LDAP backends are available and fairly well tested.
+You can define the fields in your addressbooks in a very flexible way,
+just by changing the config files.
+And there are Horde API functions to add and search for contacts.
+
+WWW: http://horde.org/turba/
diff --git a/mail/horde-turba/pkg-message b/mail/horde-turba/pkg-message
new file mode 100644
index 000000000000..50c95efe8be8
--- /dev/null
+++ b/mail/horde-turba/pkg-message
@@ -0,0 +1,17 @@
+************************************************************************
+Turba has been installed in %%TURBADIR%% with your blank
+configuration files.
+
+Horde must be configured; if not, see
+%%PORTSDIR%%/www/horde-devel/pkg-message.
+
+Then, you will have to tune the configuration files located in
+%%CONFDIR%%/, specially the files conf.php and
+sources.php.
+
+You have to create a table in your database; please see
+%%TURBADIR%%/scripts/drivers.
+
+If %%APACHE_CONF%% has been updated,
+you have to restart Apache.
+************************************************************************
diff --git a/mail/horde-turba/pkg-plist b/mail/horde-turba/pkg-plist
new file mode 100644
index 000000000000..a0c8d2752f6c
--- /dev/null
+++ b/mail/horde-turba/pkg-plist
@@ -0,0 +1,176 @@
+%%PORTDOCS%%share/doc/turba/CHANGES
+%%PORTDOCS%%share/doc/turba/COPYING
+%%PORTDOCS%%share/doc/turba/CREDITS
+%%PORTDOCS%%share/doc/turba/INSTALL
+%%PORTDOCS%%share/doc/turba/README
+%%PORTDOCS%%share/doc/turba/turba.dia
+%%PORTDOCS%%share/doc/turba/turba.pdf
+%%TURBADIR%%/addobject.php
+%%TURBADIR%%/addobjectaction.php
+%%TURBADIR%%/advanced.php
+%%TURBADIR%%/config/attributes.php
+%%TURBADIR%%/config/attributes.php.dist
+%%TURBADIR%%/config/conf.php
+%%TURBADIR%%/config/conf.php.dist
+%%TURBADIR%%/config/conf.php.dist.orig
+%%TURBADIR%%/config/html.php
+%%TURBADIR%%/config/html.php.dist
+%%TURBADIR%%/config/menu.php
+%%TURBADIR%%/config/menu.php.dist
+%%TURBADIR%%/config/prefs.php
+%%TURBADIR%%/config/prefs.php.dist
+%%TURBADIR%%/config/prefs.php.dist.orig
+%%TURBADIR%%/config/sources.php
+%%TURBADIR%%/config/sources.php.dist
+%%TURBADIR%%/config/sources.php.dist.orig
+%%TURBADIR%%/config/turba.dt
+%%TURBADIR%%/data.php
+%%TURBADIR%%/deleteobject.php
+%%TURBADIR%%/displayobject.php
+%%TURBADIR%%/editobject.php
+%%TURBADIR%%/editobjectaction.php
+%%TURBADIR%%/graphics/add.gif
+%%TURBADIR%%/graphics/group.gif
+%%TURBADIR%%/graphics/search.gif
+%%TURBADIR%%/graphics/turba.gif
+%%TURBADIR%%/index.php
+%%TURBADIR%%/lib/AbstractObject.php
+%%TURBADIR%%/lib/Driver.php
+%%TURBADIR%%/lib/Driver/ldap.php
+%%TURBADIR%%/lib/Driver/sql.php
+%%TURBADIR%%/lib/Group.php
+%%TURBADIR%%/lib/List.php
+%%TURBADIR%%/lib/List/Plain.php
+%%TURBADIR%%/lib/List/Tree.php
+%%TURBADIR%%/lib/ListView.php
+%%TURBADIR%%/lib/ListView/Rolodex.php
+%%TURBADIR%%/lib/ListView/Tree.php
+%%TURBADIR%%/lib/Object.php
+%%TURBADIR%%/lib/ObjectView.php
+%%TURBADIR%%/lib/ObjectView/List.php
+%%TURBADIR%%/lib/ObjectView/PhotoID.php
+%%TURBADIR%%/lib/Source.php
+%%TURBADIR%%/lib/Turba.php
+%%TURBADIR%%/lib/api.php
+%%TURBADIR%%/lib/base.php
+%%TURBADIR%%/lib/version.php
+%%TURBADIR%%/locale/cs_CZ/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/de_DE/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/el_GR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/es_ES/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/fr_FR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/it_IT/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ko_KR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/nl_NL/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/pl_PL/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/pt_BR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ru_koi/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ru_win/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/sv_SE/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/zh_CN/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/zh_TW/LC_MESSAGES/turba.mo
+%%TURBADIR%%/menu.php
+%%TURBADIR%%/po/Makefile
+%%TURBADIR%%/po/README
+%%TURBADIR%%/po/cs_CZ.po
+%%TURBADIR%%/po/de_DE.po
+%%TURBADIR%%/po/el_GR.po
+%%TURBADIR%%/po/es_ES.po
+%%TURBADIR%%/po/extract.pl
+%%TURBADIR%%/po/fr_FR.po
+%%TURBADIR%%/po/it_IT.po
+%%TURBADIR%%/po/ko_KR.po
+%%TURBADIR%%/po/nl_NL.po
+%%TURBADIR%%/po/pl_PL.po
+%%TURBADIR%%/po/pt_BR.po
+%%TURBADIR%%/po/ru_koi.po
+%%TURBADIR%%/po/ru_win.po
+%%TURBADIR%%/po/shtool
+%%TURBADIR%%/po/sv_SE.po
+%%TURBADIR%%/po/xgettext.sh
+%%TURBADIR%%/po/zh_CN.po
+%%TURBADIR%%/po/zh_TW.po
+%%TURBADIR%%/scripts/drivers/turba.sql
+%%TURBADIR%%/search.php
+%%TURBADIR%%/status.php
+%%TURBADIR%%/templates/add/add.inc
+%%TURBADIR%%/templates/add/noadd.inc
+%%TURBADIR%%/templates/add/select.inc
+%%TURBADIR%%/templates/advanced/criteria.inc
+%%TURBADIR%%/templates/advanced/foot.inc
+%%TURBADIR%%/templates/advanced/head.inc
+%%TURBADIR%%/templates/advanced/results_head.inc
+%%TURBADIR%%/templates/common-footer.inc
+%%TURBADIR%%/templates/common-header.inc
+%%TURBADIR%%/templates/data/export.inc
+%%TURBADIR%%/templates/data/import.inc
+%%TURBADIR%%/templates/display/display.inc
+%%TURBADIR%%/templates/edit/edit.inc
+%%TURBADIR%%/templates/index/css.inc
+%%TURBADIR%%/templates/index/notconfigured.inc
+%%TURBADIR%%/templates/menu/menu.inc
+%%TURBADIR%%/templates/search/foot.inc
+%%TURBADIR%%/templates/search/head.inc
+%%TURBADIR%%/templates/search/oldrow.inc
+%%TURBADIR%%/templates/search/row.inc
+%%TURBADIR%%/templates/wml/common-footer.inc
+%%TURBADIR%%/templates/wml/common-header.inc
+%%TURBADIR%%/templates/wml/menu/menu.inc
+%%TURBADIR%%/templates/wml/search/foot.inc
+%%TURBADIR%%/templates/wml/search/head.inc
+%%TURBADIR%%/templates/wml/search/row.inc
+%%PORTDOCS%%@dirrm share/doc/turba
+@dirrm %%TURBADIR%%/config
+@dirrm %%TURBADIR%%/graphics
+@dirrm %%TURBADIR%%/lib/Driver
+@dirrm %%TURBADIR%%/lib/List
+@dirrm %%TURBADIR%%/lib/ListView
+@dirrm %%TURBADIR%%/lib/ObjectView
+@dirrm %%TURBADIR%%/lib
+@dirrm %%TURBADIR%%/locale/cs_CZ/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/cs_CZ
+@dirrm %%TURBADIR%%/locale/de_DE/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/de_DE
+@dirrm %%TURBADIR%%/locale/el_GR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/el_GR
+@dirrm %%TURBADIR%%/locale/es_ES/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/es_ES
+@dirrm %%TURBADIR%%/locale/fr_FR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/fr_FR
+@dirrm %%TURBADIR%%/locale/it_IT/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/it_IT
+@dirrm %%TURBADIR%%/locale/ko_KR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ko_KR
+@dirrm %%TURBADIR%%/locale/nl_NL/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/nl_NL
+@dirrm %%TURBADIR%%/locale/pl_PL/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/pl_PL
+@dirrm %%TURBADIR%%/locale/pt_BR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/pt_BR
+@dirrm %%TURBADIR%%/locale/ru_koi/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ru_koi
+@dirrm %%TURBADIR%%/locale/ru_win/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ru_win
+@dirrm %%TURBADIR%%/locale/sv_SE/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/sv_SE
+@dirrm %%TURBADIR%%/locale/zh_CN/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/zh_CN
+@dirrm %%TURBADIR%%/locale/zh_TW/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/zh_TW
+@dirrm %%TURBADIR%%/locale
+@dirrm %%TURBADIR%%/po
+@dirrm %%TURBADIR%%/scripts/drivers
+@dirrm %%TURBADIR%%/scripts
+@dirrm %%TURBADIR%%/templates/add
+@dirrm %%TURBADIR%%/templates/advanced
+@dirrm %%TURBADIR%%/templates/data
+@dirrm %%TURBADIR%%/templates/display
+@dirrm %%TURBADIR%%/templates/edit
+@dirrm %%TURBADIR%%/templates/index
+@dirrm %%TURBADIR%%/templates/menu
+@dirrm %%TURBADIR%%/templates/search
+@dirrm %%TURBADIR%%/templates/wml/menu
+@dirrm %%TURBADIR%%/templates/wml/search
+@dirrm %%TURBADIR%%/templates/wml
+@dirrm %%TURBADIR%%/templates
+@dirrm %%TURBADIR%%
diff --git a/mail/horde4-turba/Makefile b/mail/horde4-turba/Makefile
new file mode 100644
index 000000000000..58bfc5427dcd
--- /dev/null
+++ b/mail/horde4-turba/Makefile
@@ -0,0 +1,133 @@
+# Ports collection makefile for: turba
+# Date created: Sat Nov 16, 2001
+# Whom: Thierry Thomas (<thierry@thomas.as>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= turba
+PORTVERSION= 1.0
+CATEGORIES= mail www
+MASTER_SITES= ftp://ftp.horde.org/pub/turba/tarballs/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-RC2
+
+MAINTAINER= thierry@thomas.as
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+#-----------------------------------------------------------------------
+# You may define these options:
+#
+# - WITHOUT_LDAP : if you do not need OpenLDAP;
+# - WITH_LDAP1 : if you prefer OpenLDAP1.
+#
+# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
+#
+#-----------------------------------------------------------------------
+
+.if !defined(WITHOUT_LDAP)
+.if defined(WITH_LDAP1)
+LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap \
+ lber.1:${PORTSDIR}/net/openldap
+.else
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \
+ lber.2:${PORTSDIR}/net/openldap2
+.endif
+.endif
+
+RUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde-devel
+
+NO_BUILD= yes
+DOCS= COPYING README docs/CHANGES docs/CREDITS \
+ docs/INSTALL docs/turba.dia docs/turba.pdf
+CONFFILE= attributes.php conf.php html.php menu.php \
+ prefs.php sources.php
+
+LHORDEDIR?= www/horde
+LTURBADIR?= ${LHORDEDIR}/turba
+
+PLIST_SUB= HORDEDIR=${LHORDEDIR} TURBADIR=${LTURBADIR}
+
+HORDEDIR= ${PREFIX}/${LHORDEDIR}
+TURBADIR= ${PREFIX}/${LTURBADIR}
+CONFDIR= ${TURBADIR}/config
+
+APACHE_CNFDIR?= ${LOCALBASE}/etc/apache
+APACHE_CONF= ${APACHE_CNFDIR}/httpd.conf
+
+pre-install:
+# N.B.: database dependencies are binded with mod_php#, neither by Horde nor Turba.
+.if !defined(WITHOUT_SUPPORTED_DB)
+ @if ! ${LDCONFIG} -r | ${GREP} -q -e "mysqlclient.10" ; then \
+ if ! ${LDCONFIG} -r | ${GREP} -q -e "pq.2" ; then \
+ if ! ${LDCONFIG} -r | ${GREP} -q -e "sybdb.0" ; then \
+ if ! ${LDCONFIG} -r | ${GREP} -q -e "ct.0" ; then \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "Please configure PHP with a database support." ; \
+ ${ECHO_MSG} "MySQL, PostgreSQL and Sybase (CTLIB or DBLIB)" ; \
+ ${ECHO_MSG} "can be used with PHP AND Turba." ; \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "(If everything will run on this machine, do not" ; \
+ ${ECHO_MSG} " forget to install the database server-side!)" ; \
+ ${ECHO_MSG} "" ; \
+ ${FALSE} ; \
+ fi ; \
+ fi ; \
+ fi ; \
+ fi
+.endif
+.if !defined(WITHOUT_LDAP)
+.if defined(WITH_LDAP1)
+ @if ! ${LDCONFIG} -r | ${GREP} -q -e "ldap.1"; then \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \
+ ${ECHO_MSG} "" ; \
+ ${FALSE} ; \
+ fi
+.else
+ @if ! ${LDCONFIG} -r | ${GREP} -q -e "ldap.2"; then \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "Please configure PHP with OpenLDAP2 support." ; \
+ ${ECHO_MSG} "" ; \
+ ${FALSE} ; \
+ fi
+.endif
+.endif
+
+do-install:
+ ${MKDIR} ${TURBADIR}
+ ${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${TURBADIR}
+ ${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${WRKSRC}/templates ${TURBADIR}
+ ${CP} -Rp ${WRKSRC}/po ${TURBADIR}
+ ${CP} -p ${WRKSRC}/*.php ${TURBADIR}
+.for FILE in ${CONFFILE}
+ @if [ ! -f ${CONFDIR}/${FILE} ]; then \
+ ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \
+ fi
+.endfor
+ ${CHOWN} -R www:www ${TURBADIR}
+ ${CHMOD} -R o-rwx ${CONFDIR}
+ @(if [ -f ${APACHE_CONF} ] ; then \
+ (if [ ! -f ${APACHE_CONF}.beforeTurba ] ; then \
+ ${ECHO} "===> Updating ${APACHE_CONF}..." ; \
+ ${CP} -p ${FILESDIR}/httpd.conf.turba ${WRKDIR}/httpd.conf.turba ; \
+ ${PERL} -pi -e "s:/home/httpd/html/horde/turba:${TURBADIR}:g" ${WRKDIR}/httpd.conf.turba ; \
+ ${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeTurba ; \
+ ${GREP} -qw 'Added for Turba' ${APACHE_CONF} || ${CAT} ${WRKDIR}/httpd.conf.turba >> ${APACHE_CONF} ; \
+ fi) ; \
+ fi)
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for FILE in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+ @${ECHO} "Documentation installed in ${DOCSDIR}."
+.endif
+
+post-install:
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE} | \
+ ${SED} -e "s:%%TURBADIR%%:${TURBADIR}:g;s:%%PORTSDIR%%:${PORTSDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g;s:%%APACHE_CONF%%:${APACHE_CONF}:g"
+ @${ECHO}
+
+.include <bsd.port.mk>
diff --git a/mail/horde4-turba/distinfo b/mail/horde4-turba/distinfo
new file mode 100644
index 000000000000..5bdabef90faa
--- /dev/null
+++ b/mail/horde4-turba/distinfo
@@ -0,0 +1 @@
+MD5 (turba-1.0-RC2.tar.gz) = df5a7b63a9a5d6ad598d537bc57560e6
diff --git a/mail/horde4-turba/files/httpd.conf.turba b/mail/horde4-turba/files/httpd.conf.turba
new file mode 100644
index 000000000000..95683ab9cd5c
--- /dev/null
+++ b/mail/horde4-turba/files/httpd.conf.turba
@@ -0,0 +1,32 @@
+
+# Added for Turba
+#
+# For security, don't serve pages from the Turba configuration and
+# library directories.
+#
+<Directory "/home/httpd/html/horde/turba/config">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/lib">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/locale">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/po">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/scripts">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/templates">
+ order deny,allow
+ deny from all
+</Directory>
+# End of Turba configuration ================
+
diff --git a/mail/horde4-turba/files/patch-aa b/mail/horde4-turba/files/patch-aa
new file mode 100644
index 000000000000..1a51d8aec31c
--- /dev/null
+++ b/mail/horde4-turba/files/patch-aa
@@ -0,0 +1,9 @@
+--- config/conf.php.dist.orig Fri Sep 28 23:29:55 2001
++++ config/conf.php.dist Sat Nov 17 21:38:00 2001
+@@ -29,5 +29,6 @@
+ // example providing a link to IMP (an email program) would be:
+ // $conf['menu']['apps'] = array('imp');
+ $conf['menu']['apps'] = array();
++//UNCOMMENTWHENINSTIMP$conf['menu']['apps'] = array('imp');
+
+ ?>
diff --git a/mail/horde4-turba/files/patch-ab b/mail/horde4-turba/files/patch-ab
new file mode 100644
index 000000000000..f76a7c518225
--- /dev/null
+++ b/mail/horde4-turba/files/patch-ab
@@ -0,0 +1,35 @@
+--- config/sources.php.dist.orig Sun Nov 4 01:42:12 2001
++++ config/sources.php.dist Sun Nov 18 17:25:08 2001
+@@ -83,21 +83,25 @@
+ 'title' => 'Local SQL',
+ 'type' => 'sql',
+ 'params' => array(
+- 'phptype' => 'pgsql',
+- 'hostspec' => '',
+- 'username' => '',
+- 'password' => '',
++// 'phptype' => 'pgsql',
++ 'phptype' => 'mysql',
++ 'hostspec' => 'localhost',
++ 'username' => 'hordemgr',
++ 'password' => 'hordemgr',
+ 'database' => 'horde',
+ 'options' => '',
+- 'tty' => '',
+- 'port' => '5432',
+- 'protocol' => 'unix',
++// 'tty' => '',
++// Default port: 5432 for pgsql (PostGres), 3306 for mysql
++// 'port' => '5432',
++// 'port' => '3306',
++// 'protocol' => 'unix',
+ 'table' => 'turba_objects'
+ ),
+ 'map' => array(
+ '__key' => 'object_id',
+ '__owner' => 'owner_id',
+ 'name' => 'object_name',
++ 'alias' => 'object_alias',
+ 'email' => 'object_email',
+ 'homeAddress' => 'object_homeAddress',
+ 'workAddress' => 'object_workAddress',
diff --git a/mail/horde4-turba/files/patch-ac b/mail/horde4-turba/files/patch-ac
new file mode 100644
index 000000000000..74914cb6d40e
--- /dev/null
+++ b/mail/horde4-turba/files/patch-ac
@@ -0,0 +1,16 @@
+--- config/prefs.php.dist.orig Mon Oct 22 09:09:23 2001
++++ config/prefs.php.dist Sun Nov 18 01:21:42 2001
+@@ -16,4 +16,13 @@
+ 'type' => 'select',
+ 'desc' => _("Select your preferred language:")
+ );
++
++// Addressbook
++$_prefs['searchsource'] = array(
++ 'value' => 'localsql',
++ 'locked' => false,
++ 'shared' => true,
++ 'type' => 'select',
++ 'desc' => _("from")
++);
+ ?>
diff --git a/mail/horde4-turba/pkg-comment b/mail/horde4-turba/pkg-comment
new file mode 100644
index 000000000000..aa37eca86b3d
--- /dev/null
+++ b/mail/horde4-turba/pkg-comment
@@ -0,0 +1 @@
+The Horde contact management application
diff --git a/mail/horde4-turba/pkg-deinstall b/mail/horde4-turba/pkg-deinstall
new file mode 100644
index 000000000000..da0aafe5b418
--- /dev/null
+++ b/mail/horde4-turba/pkg-deinstall
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Try to restore httpd.conf when deinstalling Turba
+
+if [ x$2 != xDEINSTALL ]; then
+ exit
+fi
+
+if [ -f ${PKG_PREFIX}/etc/apache/httpd.conf.beforeTurba ] ; then
+ echo "Restoring httpd.conf..."
+ cp ${PKG_PREFIX}/etc/apache/httpd.conf ${PKG_PREFIX}/etc/apache/httpd.conf.deinstTurba
+ mv ${PKG_PREFIX}/etc/apache/httpd.conf.beforeTurba ${PKG_PREFIX}/etc/apache/httpd.conf
+fi
diff --git a/mail/horde4-turba/pkg-descr b/mail/horde4-turba/pkg-descr
new file mode 100644
index 000000000000..7c363e6d373a
--- /dev/null
+++ b/mail/horde4-turba/pkg-descr
@@ -0,0 +1,11 @@
+Turba is the Horde contact management application. It is currently in
+the development stages, and makes heavy use of the Horde framework to
+provide integration with other applications.
+
+Right now, Turba is a fairly complete basic contact management
+application. SQL and LDAP backends are available and fairly well tested.
+You can define the fields in your addressbooks in a very flexible way,
+just by changing the config files.
+And there are Horde API functions to add and search for contacts.
+
+WWW: http://horde.org/turba/
diff --git a/mail/horde4-turba/pkg-message b/mail/horde4-turba/pkg-message
new file mode 100644
index 000000000000..50c95efe8be8
--- /dev/null
+++ b/mail/horde4-turba/pkg-message
@@ -0,0 +1,17 @@
+************************************************************************
+Turba has been installed in %%TURBADIR%% with your blank
+configuration files.
+
+Horde must be configured; if not, see
+%%PORTSDIR%%/www/horde-devel/pkg-message.
+
+Then, you will have to tune the configuration files located in
+%%CONFDIR%%/, specially the files conf.php and
+sources.php.
+
+You have to create a table in your database; please see
+%%TURBADIR%%/scripts/drivers.
+
+If %%APACHE_CONF%% has been updated,
+you have to restart Apache.
+************************************************************************
diff --git a/mail/horde4-turba/pkg-plist b/mail/horde4-turba/pkg-plist
new file mode 100644
index 000000000000..a0c8d2752f6c
--- /dev/null
+++ b/mail/horde4-turba/pkg-plist
@@ -0,0 +1,176 @@
+%%PORTDOCS%%share/doc/turba/CHANGES
+%%PORTDOCS%%share/doc/turba/COPYING
+%%PORTDOCS%%share/doc/turba/CREDITS
+%%PORTDOCS%%share/doc/turba/INSTALL
+%%PORTDOCS%%share/doc/turba/README
+%%PORTDOCS%%share/doc/turba/turba.dia
+%%PORTDOCS%%share/doc/turba/turba.pdf
+%%TURBADIR%%/addobject.php
+%%TURBADIR%%/addobjectaction.php
+%%TURBADIR%%/advanced.php
+%%TURBADIR%%/config/attributes.php
+%%TURBADIR%%/config/attributes.php.dist
+%%TURBADIR%%/config/conf.php
+%%TURBADIR%%/config/conf.php.dist
+%%TURBADIR%%/config/conf.php.dist.orig
+%%TURBADIR%%/config/html.php
+%%TURBADIR%%/config/html.php.dist
+%%TURBADIR%%/config/menu.php
+%%TURBADIR%%/config/menu.php.dist
+%%TURBADIR%%/config/prefs.php
+%%TURBADIR%%/config/prefs.php.dist
+%%TURBADIR%%/config/prefs.php.dist.orig
+%%TURBADIR%%/config/sources.php
+%%TURBADIR%%/config/sources.php.dist
+%%TURBADIR%%/config/sources.php.dist.orig
+%%TURBADIR%%/config/turba.dt
+%%TURBADIR%%/data.php
+%%TURBADIR%%/deleteobject.php
+%%TURBADIR%%/displayobject.php
+%%TURBADIR%%/editobject.php
+%%TURBADIR%%/editobjectaction.php
+%%TURBADIR%%/graphics/add.gif
+%%TURBADIR%%/graphics/group.gif
+%%TURBADIR%%/graphics/search.gif
+%%TURBADIR%%/graphics/turba.gif
+%%TURBADIR%%/index.php
+%%TURBADIR%%/lib/AbstractObject.php
+%%TURBADIR%%/lib/Driver.php
+%%TURBADIR%%/lib/Driver/ldap.php
+%%TURBADIR%%/lib/Driver/sql.php
+%%TURBADIR%%/lib/Group.php
+%%TURBADIR%%/lib/List.php
+%%TURBADIR%%/lib/List/Plain.php
+%%TURBADIR%%/lib/List/Tree.php
+%%TURBADIR%%/lib/ListView.php
+%%TURBADIR%%/lib/ListView/Rolodex.php
+%%TURBADIR%%/lib/ListView/Tree.php
+%%TURBADIR%%/lib/Object.php
+%%TURBADIR%%/lib/ObjectView.php
+%%TURBADIR%%/lib/ObjectView/List.php
+%%TURBADIR%%/lib/ObjectView/PhotoID.php
+%%TURBADIR%%/lib/Source.php
+%%TURBADIR%%/lib/Turba.php
+%%TURBADIR%%/lib/api.php
+%%TURBADIR%%/lib/base.php
+%%TURBADIR%%/lib/version.php
+%%TURBADIR%%/locale/cs_CZ/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/de_DE/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/el_GR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/es_ES/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/fr_FR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/it_IT/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ko_KR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/nl_NL/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/pl_PL/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/pt_BR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ru_koi/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ru_win/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/sv_SE/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/zh_CN/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/zh_TW/LC_MESSAGES/turba.mo
+%%TURBADIR%%/menu.php
+%%TURBADIR%%/po/Makefile
+%%TURBADIR%%/po/README
+%%TURBADIR%%/po/cs_CZ.po
+%%TURBADIR%%/po/de_DE.po
+%%TURBADIR%%/po/el_GR.po
+%%TURBADIR%%/po/es_ES.po
+%%TURBADIR%%/po/extract.pl
+%%TURBADIR%%/po/fr_FR.po
+%%TURBADIR%%/po/it_IT.po
+%%TURBADIR%%/po/ko_KR.po
+%%TURBADIR%%/po/nl_NL.po
+%%TURBADIR%%/po/pl_PL.po
+%%TURBADIR%%/po/pt_BR.po
+%%TURBADIR%%/po/ru_koi.po
+%%TURBADIR%%/po/ru_win.po
+%%TURBADIR%%/po/shtool
+%%TURBADIR%%/po/sv_SE.po
+%%TURBADIR%%/po/xgettext.sh
+%%TURBADIR%%/po/zh_CN.po
+%%TURBADIR%%/po/zh_TW.po
+%%TURBADIR%%/scripts/drivers/turba.sql
+%%TURBADIR%%/search.php
+%%TURBADIR%%/status.php
+%%TURBADIR%%/templates/add/add.inc
+%%TURBADIR%%/templates/add/noadd.inc
+%%TURBADIR%%/templates/add/select.inc
+%%TURBADIR%%/templates/advanced/criteria.inc
+%%TURBADIR%%/templates/advanced/foot.inc
+%%TURBADIR%%/templates/advanced/head.inc
+%%TURBADIR%%/templates/advanced/results_head.inc
+%%TURBADIR%%/templates/common-footer.inc
+%%TURBADIR%%/templates/common-header.inc
+%%TURBADIR%%/templates/data/export.inc
+%%TURBADIR%%/templates/data/import.inc
+%%TURBADIR%%/templates/display/display.inc
+%%TURBADIR%%/templates/edit/edit.inc
+%%TURBADIR%%/templates/index/css.inc
+%%TURBADIR%%/templates/index/notconfigured.inc
+%%TURBADIR%%/templates/menu/menu.inc
+%%TURBADIR%%/templates/search/foot.inc
+%%TURBADIR%%/templates/search/head.inc
+%%TURBADIR%%/templates/search/oldrow.inc
+%%TURBADIR%%/templates/search/row.inc
+%%TURBADIR%%/templates/wml/common-footer.inc
+%%TURBADIR%%/templates/wml/common-header.inc
+%%TURBADIR%%/templates/wml/menu/menu.inc
+%%TURBADIR%%/templates/wml/search/foot.inc
+%%TURBADIR%%/templates/wml/search/head.inc
+%%TURBADIR%%/templates/wml/search/row.inc
+%%PORTDOCS%%@dirrm share/doc/turba
+@dirrm %%TURBADIR%%/config
+@dirrm %%TURBADIR%%/graphics
+@dirrm %%TURBADIR%%/lib/Driver
+@dirrm %%TURBADIR%%/lib/List
+@dirrm %%TURBADIR%%/lib/ListView
+@dirrm %%TURBADIR%%/lib/ObjectView
+@dirrm %%TURBADIR%%/lib
+@dirrm %%TURBADIR%%/locale/cs_CZ/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/cs_CZ
+@dirrm %%TURBADIR%%/locale/de_DE/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/de_DE
+@dirrm %%TURBADIR%%/locale/el_GR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/el_GR
+@dirrm %%TURBADIR%%/locale/es_ES/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/es_ES
+@dirrm %%TURBADIR%%/locale/fr_FR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/fr_FR
+@dirrm %%TURBADIR%%/locale/it_IT/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/it_IT
+@dirrm %%TURBADIR%%/locale/ko_KR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ko_KR
+@dirrm %%TURBADIR%%/locale/nl_NL/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/nl_NL
+@dirrm %%TURBADIR%%/locale/pl_PL/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/pl_PL
+@dirrm %%TURBADIR%%/locale/pt_BR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/pt_BR
+@dirrm %%TURBADIR%%/locale/ru_koi/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ru_koi
+@dirrm %%TURBADIR%%/locale/ru_win/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ru_win
+@dirrm %%TURBADIR%%/locale/sv_SE/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/sv_SE
+@dirrm %%TURBADIR%%/locale/zh_CN/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/zh_CN
+@dirrm %%TURBADIR%%/locale/zh_TW/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/zh_TW
+@dirrm %%TURBADIR%%/locale
+@dirrm %%TURBADIR%%/po
+@dirrm %%TURBADIR%%/scripts/drivers
+@dirrm %%TURBADIR%%/scripts
+@dirrm %%TURBADIR%%/templates/add
+@dirrm %%TURBADIR%%/templates/advanced
+@dirrm %%TURBADIR%%/templates/data
+@dirrm %%TURBADIR%%/templates/display
+@dirrm %%TURBADIR%%/templates/edit
+@dirrm %%TURBADIR%%/templates/index
+@dirrm %%TURBADIR%%/templates/menu
+@dirrm %%TURBADIR%%/templates/search
+@dirrm %%TURBADIR%%/templates/wml/menu
+@dirrm %%TURBADIR%%/templates/wml/search
+@dirrm %%TURBADIR%%/templates/wml
+@dirrm %%TURBADIR%%/templates
+@dirrm %%TURBADIR%%
diff --git a/mail/turba/Makefile b/mail/turba/Makefile
new file mode 100644
index 000000000000..58bfc5427dcd
--- /dev/null
+++ b/mail/turba/Makefile
@@ -0,0 +1,133 @@
+# Ports collection makefile for: turba
+# Date created: Sat Nov 16, 2001
+# Whom: Thierry Thomas (<thierry@thomas.as>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= turba
+PORTVERSION= 1.0
+CATEGORIES= mail www
+MASTER_SITES= ftp://ftp.horde.org/pub/turba/tarballs/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-RC2
+
+MAINTAINER= thierry@thomas.as
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+#-----------------------------------------------------------------------
+# You may define these options:
+#
+# - WITHOUT_LDAP : if you do not need OpenLDAP;
+# - WITH_LDAP1 : if you prefer OpenLDAP1.
+#
+# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
+#
+#-----------------------------------------------------------------------
+
+.if !defined(WITHOUT_LDAP)
+.if defined(WITH_LDAP1)
+LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap \
+ lber.1:${PORTSDIR}/net/openldap
+.else
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \
+ lber.2:${PORTSDIR}/net/openldap2
+.endif
+.endif
+
+RUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde-devel
+
+NO_BUILD= yes
+DOCS= COPYING README docs/CHANGES docs/CREDITS \
+ docs/INSTALL docs/turba.dia docs/turba.pdf
+CONFFILE= attributes.php conf.php html.php menu.php \
+ prefs.php sources.php
+
+LHORDEDIR?= www/horde
+LTURBADIR?= ${LHORDEDIR}/turba
+
+PLIST_SUB= HORDEDIR=${LHORDEDIR} TURBADIR=${LTURBADIR}
+
+HORDEDIR= ${PREFIX}/${LHORDEDIR}
+TURBADIR= ${PREFIX}/${LTURBADIR}
+CONFDIR= ${TURBADIR}/config
+
+APACHE_CNFDIR?= ${LOCALBASE}/etc/apache
+APACHE_CONF= ${APACHE_CNFDIR}/httpd.conf
+
+pre-install:
+# N.B.: database dependencies are binded with mod_php#, neither by Horde nor Turba.
+.if !defined(WITHOUT_SUPPORTED_DB)
+ @if ! ${LDCONFIG} -r | ${GREP} -q -e "mysqlclient.10" ; then \
+ if ! ${LDCONFIG} -r | ${GREP} -q -e "pq.2" ; then \
+ if ! ${LDCONFIG} -r | ${GREP} -q -e "sybdb.0" ; then \
+ if ! ${LDCONFIG} -r | ${GREP} -q -e "ct.0" ; then \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "Please configure PHP with a database support." ; \
+ ${ECHO_MSG} "MySQL, PostgreSQL and Sybase (CTLIB or DBLIB)" ; \
+ ${ECHO_MSG} "can be used with PHP AND Turba." ; \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "(If everything will run on this machine, do not" ; \
+ ${ECHO_MSG} " forget to install the database server-side!)" ; \
+ ${ECHO_MSG} "" ; \
+ ${FALSE} ; \
+ fi ; \
+ fi ; \
+ fi ; \
+ fi
+.endif
+.if !defined(WITHOUT_LDAP)
+.if defined(WITH_LDAP1)
+ @if ! ${LDCONFIG} -r | ${GREP} -q -e "ldap.1"; then \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \
+ ${ECHO_MSG} "" ; \
+ ${FALSE} ; \
+ fi
+.else
+ @if ! ${LDCONFIG} -r | ${GREP} -q -e "ldap.2"; then \
+ ${ECHO_MSG} "" ; \
+ ${ECHO_MSG} "Please configure PHP with OpenLDAP2 support." ; \
+ ${ECHO_MSG} "" ; \
+ ${FALSE} ; \
+ fi
+.endif
+.endif
+
+do-install:
+ ${MKDIR} ${TURBADIR}
+ ${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${TURBADIR}
+ ${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${WRKSRC}/templates ${TURBADIR}
+ ${CP} -Rp ${WRKSRC}/po ${TURBADIR}
+ ${CP} -p ${WRKSRC}/*.php ${TURBADIR}
+.for FILE in ${CONFFILE}
+ @if [ ! -f ${CONFDIR}/${FILE} ]; then \
+ ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \
+ fi
+.endfor
+ ${CHOWN} -R www:www ${TURBADIR}
+ ${CHMOD} -R o-rwx ${CONFDIR}
+ @(if [ -f ${APACHE_CONF} ] ; then \
+ (if [ ! -f ${APACHE_CONF}.beforeTurba ] ; then \
+ ${ECHO} "===> Updating ${APACHE_CONF}..." ; \
+ ${CP} -p ${FILESDIR}/httpd.conf.turba ${WRKDIR}/httpd.conf.turba ; \
+ ${PERL} -pi -e "s:/home/httpd/html/horde/turba:${TURBADIR}:g" ${WRKDIR}/httpd.conf.turba ; \
+ ${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeTurba ; \
+ ${GREP} -qw 'Added for Turba' ${APACHE_CONF} || ${CAT} ${WRKDIR}/httpd.conf.turba >> ${APACHE_CONF} ; \
+ fi) ; \
+ fi)
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for FILE in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+ @${ECHO} "Documentation installed in ${DOCSDIR}."
+.endif
+
+post-install:
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE} | \
+ ${SED} -e "s:%%TURBADIR%%:${TURBADIR}:g;s:%%PORTSDIR%%:${PORTSDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g;s:%%APACHE_CONF%%:${APACHE_CONF}:g"
+ @${ECHO}
+
+.include <bsd.port.mk>
diff --git a/mail/turba/distinfo b/mail/turba/distinfo
new file mode 100644
index 000000000000..5bdabef90faa
--- /dev/null
+++ b/mail/turba/distinfo
@@ -0,0 +1 @@
+MD5 (turba-1.0-RC2.tar.gz) = df5a7b63a9a5d6ad598d537bc57560e6
diff --git a/mail/turba/files/httpd.conf.turba b/mail/turba/files/httpd.conf.turba
new file mode 100644
index 000000000000..95683ab9cd5c
--- /dev/null
+++ b/mail/turba/files/httpd.conf.turba
@@ -0,0 +1,32 @@
+
+# Added for Turba
+#
+# For security, don't serve pages from the Turba configuration and
+# library directories.
+#
+<Directory "/home/httpd/html/horde/turba/config">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/lib">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/locale">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/po">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/scripts">
+ order deny,allow
+ deny from all
+</Directory>
+<Directory "/home/httpd/html/horde/turba/templates">
+ order deny,allow
+ deny from all
+</Directory>
+# End of Turba configuration ================
+
diff --git a/mail/turba/files/patch-aa b/mail/turba/files/patch-aa
new file mode 100644
index 000000000000..1a51d8aec31c
--- /dev/null
+++ b/mail/turba/files/patch-aa
@@ -0,0 +1,9 @@
+--- config/conf.php.dist.orig Fri Sep 28 23:29:55 2001
++++ config/conf.php.dist Sat Nov 17 21:38:00 2001
+@@ -29,5 +29,6 @@
+ // example providing a link to IMP (an email program) would be:
+ // $conf['menu']['apps'] = array('imp');
+ $conf['menu']['apps'] = array();
++//UNCOMMENTWHENINSTIMP$conf['menu']['apps'] = array('imp');
+
+ ?>
diff --git a/mail/turba/files/patch-ab b/mail/turba/files/patch-ab
new file mode 100644
index 000000000000..f76a7c518225
--- /dev/null
+++ b/mail/turba/files/patch-ab
@@ -0,0 +1,35 @@
+--- config/sources.php.dist.orig Sun Nov 4 01:42:12 2001
++++ config/sources.php.dist Sun Nov 18 17:25:08 2001
+@@ -83,21 +83,25 @@
+ 'title' => 'Local SQL',
+ 'type' => 'sql',
+ 'params' => array(
+- 'phptype' => 'pgsql',
+- 'hostspec' => '',
+- 'username' => '',
+- 'password' => '',
++// 'phptype' => 'pgsql',
++ 'phptype' => 'mysql',
++ 'hostspec' => 'localhost',
++ 'username' => 'hordemgr',
++ 'password' => 'hordemgr',
+ 'database' => 'horde',
+ 'options' => '',
+- 'tty' => '',
+- 'port' => '5432',
+- 'protocol' => 'unix',
++// 'tty' => '',
++// Default port: 5432 for pgsql (PostGres), 3306 for mysql
++// 'port' => '5432',
++// 'port' => '3306',
++// 'protocol' => 'unix',
+ 'table' => 'turba_objects'
+ ),
+ 'map' => array(
+ '__key' => 'object_id',
+ '__owner' => 'owner_id',
+ 'name' => 'object_name',
++ 'alias' => 'object_alias',
+ 'email' => 'object_email',
+ 'homeAddress' => 'object_homeAddress',
+ 'workAddress' => 'object_workAddress',
diff --git a/mail/turba/files/patch-ac b/mail/turba/files/patch-ac
new file mode 100644
index 000000000000..74914cb6d40e
--- /dev/null
+++ b/mail/turba/files/patch-ac
@@ -0,0 +1,16 @@
+--- config/prefs.php.dist.orig Mon Oct 22 09:09:23 2001
++++ config/prefs.php.dist Sun Nov 18 01:21:42 2001
+@@ -16,4 +16,13 @@
+ 'type' => 'select',
+ 'desc' => _("Select your preferred language:")
+ );
++
++// Addressbook
++$_prefs['searchsource'] = array(
++ 'value' => 'localsql',
++ 'locked' => false,
++ 'shared' => true,
++ 'type' => 'select',
++ 'desc' => _("from")
++);
+ ?>
diff --git a/mail/turba/pkg-comment b/mail/turba/pkg-comment
new file mode 100644
index 000000000000..aa37eca86b3d
--- /dev/null
+++ b/mail/turba/pkg-comment
@@ -0,0 +1 @@
+The Horde contact management application
diff --git a/mail/turba/pkg-deinstall b/mail/turba/pkg-deinstall
new file mode 100644
index 000000000000..da0aafe5b418
--- /dev/null
+++ b/mail/turba/pkg-deinstall
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Try to restore httpd.conf when deinstalling Turba
+
+if [ x$2 != xDEINSTALL ]; then
+ exit
+fi
+
+if [ -f ${PKG_PREFIX}/etc/apache/httpd.conf.beforeTurba ] ; then
+ echo "Restoring httpd.conf..."
+ cp ${PKG_PREFIX}/etc/apache/httpd.conf ${PKG_PREFIX}/etc/apache/httpd.conf.deinstTurba
+ mv ${PKG_PREFIX}/etc/apache/httpd.conf.beforeTurba ${PKG_PREFIX}/etc/apache/httpd.conf
+fi
diff --git a/mail/turba/pkg-descr b/mail/turba/pkg-descr
new file mode 100644
index 000000000000..7c363e6d373a
--- /dev/null
+++ b/mail/turba/pkg-descr
@@ -0,0 +1,11 @@
+Turba is the Horde contact management application. It is currently in
+the development stages, and makes heavy use of the Horde framework to
+provide integration with other applications.
+
+Right now, Turba is a fairly complete basic contact management
+application. SQL and LDAP backends are available and fairly well tested.
+You can define the fields in your addressbooks in a very flexible way,
+just by changing the config files.
+And there are Horde API functions to add and search for contacts.
+
+WWW: http://horde.org/turba/
diff --git a/mail/turba/pkg-message b/mail/turba/pkg-message
new file mode 100644
index 000000000000..50c95efe8be8
--- /dev/null
+++ b/mail/turba/pkg-message
@@ -0,0 +1,17 @@
+************************************************************************
+Turba has been installed in %%TURBADIR%% with your blank
+configuration files.
+
+Horde must be configured; if not, see
+%%PORTSDIR%%/www/horde-devel/pkg-message.
+
+Then, you will have to tune the configuration files located in
+%%CONFDIR%%/, specially the files conf.php and
+sources.php.
+
+You have to create a table in your database; please see
+%%TURBADIR%%/scripts/drivers.
+
+If %%APACHE_CONF%% has been updated,
+you have to restart Apache.
+************************************************************************
diff --git a/mail/turba/pkg-plist b/mail/turba/pkg-plist
new file mode 100644
index 000000000000..a0c8d2752f6c
--- /dev/null
+++ b/mail/turba/pkg-plist
@@ -0,0 +1,176 @@
+%%PORTDOCS%%share/doc/turba/CHANGES
+%%PORTDOCS%%share/doc/turba/COPYING
+%%PORTDOCS%%share/doc/turba/CREDITS
+%%PORTDOCS%%share/doc/turba/INSTALL
+%%PORTDOCS%%share/doc/turba/README
+%%PORTDOCS%%share/doc/turba/turba.dia
+%%PORTDOCS%%share/doc/turba/turba.pdf
+%%TURBADIR%%/addobject.php
+%%TURBADIR%%/addobjectaction.php
+%%TURBADIR%%/advanced.php
+%%TURBADIR%%/config/attributes.php
+%%TURBADIR%%/config/attributes.php.dist
+%%TURBADIR%%/config/conf.php
+%%TURBADIR%%/config/conf.php.dist
+%%TURBADIR%%/config/conf.php.dist.orig
+%%TURBADIR%%/config/html.php
+%%TURBADIR%%/config/html.php.dist
+%%TURBADIR%%/config/menu.php
+%%TURBADIR%%/config/menu.php.dist
+%%TURBADIR%%/config/prefs.php
+%%TURBADIR%%/config/prefs.php.dist
+%%TURBADIR%%/config/prefs.php.dist.orig
+%%TURBADIR%%/config/sources.php
+%%TURBADIR%%/config/sources.php.dist
+%%TURBADIR%%/config/sources.php.dist.orig
+%%TURBADIR%%/config/turba.dt
+%%TURBADIR%%/data.php
+%%TURBADIR%%/deleteobject.php
+%%TURBADIR%%/displayobject.php
+%%TURBADIR%%/editobject.php
+%%TURBADIR%%/editobjectaction.php
+%%TURBADIR%%/graphics/add.gif
+%%TURBADIR%%/graphics/group.gif
+%%TURBADIR%%/graphics/search.gif
+%%TURBADIR%%/graphics/turba.gif
+%%TURBADIR%%/index.php
+%%TURBADIR%%/lib/AbstractObject.php
+%%TURBADIR%%/lib/Driver.php
+%%TURBADIR%%/lib/Driver/ldap.php
+%%TURBADIR%%/lib/Driver/sql.php
+%%TURBADIR%%/lib/Group.php
+%%TURBADIR%%/lib/List.php
+%%TURBADIR%%/lib/List/Plain.php
+%%TURBADIR%%/lib/List/Tree.php
+%%TURBADIR%%/lib/ListView.php
+%%TURBADIR%%/lib/ListView/Rolodex.php
+%%TURBADIR%%/lib/ListView/Tree.php
+%%TURBADIR%%/lib/Object.php
+%%TURBADIR%%/lib/ObjectView.php
+%%TURBADIR%%/lib/ObjectView/List.php
+%%TURBADIR%%/lib/ObjectView/PhotoID.php
+%%TURBADIR%%/lib/Source.php
+%%TURBADIR%%/lib/Turba.php
+%%TURBADIR%%/lib/api.php
+%%TURBADIR%%/lib/base.php
+%%TURBADIR%%/lib/version.php
+%%TURBADIR%%/locale/cs_CZ/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/de_DE/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/el_GR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/es_ES/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/fr_FR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/it_IT/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ko_KR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/nl_NL/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/pl_PL/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/pt_BR/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ru_koi/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/ru_win/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/sv_SE/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/zh_CN/LC_MESSAGES/turba.mo
+%%TURBADIR%%/locale/zh_TW/LC_MESSAGES/turba.mo
+%%TURBADIR%%/menu.php
+%%TURBADIR%%/po/Makefile
+%%TURBADIR%%/po/README
+%%TURBADIR%%/po/cs_CZ.po
+%%TURBADIR%%/po/de_DE.po
+%%TURBADIR%%/po/el_GR.po
+%%TURBADIR%%/po/es_ES.po
+%%TURBADIR%%/po/extract.pl
+%%TURBADIR%%/po/fr_FR.po
+%%TURBADIR%%/po/it_IT.po
+%%TURBADIR%%/po/ko_KR.po
+%%TURBADIR%%/po/nl_NL.po
+%%TURBADIR%%/po/pl_PL.po
+%%TURBADIR%%/po/pt_BR.po
+%%TURBADIR%%/po/ru_koi.po
+%%TURBADIR%%/po/ru_win.po
+%%TURBADIR%%/po/shtool
+%%TURBADIR%%/po/sv_SE.po
+%%TURBADIR%%/po/xgettext.sh
+%%TURBADIR%%/po/zh_CN.po
+%%TURBADIR%%/po/zh_TW.po
+%%TURBADIR%%/scripts/drivers/turba.sql
+%%TURBADIR%%/search.php
+%%TURBADIR%%/status.php
+%%TURBADIR%%/templates/add/add.inc
+%%TURBADIR%%/templates/add/noadd.inc
+%%TURBADIR%%/templates/add/select.inc
+%%TURBADIR%%/templates/advanced/criteria.inc
+%%TURBADIR%%/templates/advanced/foot.inc
+%%TURBADIR%%/templates/advanced/head.inc
+%%TURBADIR%%/templates/advanced/results_head.inc
+%%TURBADIR%%/templates/common-footer.inc
+%%TURBADIR%%/templates/common-header.inc
+%%TURBADIR%%/templates/data/export.inc
+%%TURBADIR%%/templates/data/import.inc
+%%TURBADIR%%/templates/display/display.inc
+%%TURBADIR%%/templates/edit/edit.inc
+%%TURBADIR%%/templates/index/css.inc
+%%TURBADIR%%/templates/index/notconfigured.inc
+%%TURBADIR%%/templates/menu/menu.inc
+%%TURBADIR%%/templates/search/foot.inc
+%%TURBADIR%%/templates/search/head.inc
+%%TURBADIR%%/templates/search/oldrow.inc
+%%TURBADIR%%/templates/search/row.inc
+%%TURBADIR%%/templates/wml/common-footer.inc
+%%TURBADIR%%/templates/wml/common-header.inc
+%%TURBADIR%%/templates/wml/menu/menu.inc
+%%TURBADIR%%/templates/wml/search/foot.inc
+%%TURBADIR%%/templates/wml/search/head.inc
+%%TURBADIR%%/templates/wml/search/row.inc
+%%PORTDOCS%%@dirrm share/doc/turba
+@dirrm %%TURBADIR%%/config
+@dirrm %%TURBADIR%%/graphics
+@dirrm %%TURBADIR%%/lib/Driver
+@dirrm %%TURBADIR%%/lib/List
+@dirrm %%TURBADIR%%/lib/ListView
+@dirrm %%TURBADIR%%/lib/ObjectView
+@dirrm %%TURBADIR%%/lib
+@dirrm %%TURBADIR%%/locale/cs_CZ/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/cs_CZ
+@dirrm %%TURBADIR%%/locale/de_DE/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/de_DE
+@dirrm %%TURBADIR%%/locale/el_GR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/el_GR
+@dirrm %%TURBADIR%%/locale/es_ES/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/es_ES
+@dirrm %%TURBADIR%%/locale/fr_FR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/fr_FR
+@dirrm %%TURBADIR%%/locale/it_IT/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/it_IT
+@dirrm %%TURBADIR%%/locale/ko_KR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ko_KR
+@dirrm %%TURBADIR%%/locale/nl_NL/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/nl_NL
+@dirrm %%TURBADIR%%/locale/pl_PL/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/pl_PL
+@dirrm %%TURBADIR%%/locale/pt_BR/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/pt_BR
+@dirrm %%TURBADIR%%/locale/ru_koi/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ru_koi
+@dirrm %%TURBADIR%%/locale/ru_win/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/ru_win
+@dirrm %%TURBADIR%%/locale/sv_SE/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/sv_SE
+@dirrm %%TURBADIR%%/locale/zh_CN/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/zh_CN
+@dirrm %%TURBADIR%%/locale/zh_TW/LC_MESSAGES
+@dirrm %%TURBADIR%%/locale/zh_TW
+@dirrm %%TURBADIR%%/locale
+@dirrm %%TURBADIR%%/po
+@dirrm %%TURBADIR%%/scripts/drivers
+@dirrm %%TURBADIR%%/scripts
+@dirrm %%TURBADIR%%/templates/add
+@dirrm %%TURBADIR%%/templates/advanced
+@dirrm %%TURBADIR%%/templates/data
+@dirrm %%TURBADIR%%/templates/display
+@dirrm %%TURBADIR%%/templates/edit
+@dirrm %%TURBADIR%%/templates/index
+@dirrm %%TURBADIR%%/templates/menu
+@dirrm %%TURBADIR%%/templates/search
+@dirrm %%TURBADIR%%/templates/wml/menu
+@dirrm %%TURBADIR%%/templates/wml/search
+@dirrm %%TURBADIR%%/templates/wml
+@dirrm %%TURBADIR%%/templates
+@dirrm %%TURBADIR%%