diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-04-08 23:42:31 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-04-08 23:42:31 +0000 |
commit | 1e0d8c9112e8493a5f7edfd1134a422c3e3efac3 (patch) | |
tree | 8195bcc94557ed871bb3862c71b9314dc2c43bd8 /mail/horde-turba/files | |
parent | 3e50ab625e240bab15b5babee4112f1f654cae5d (diff) | |
download | ports-1e0d8c9112e8493a5f7edfd1134a422c3e3efac3.tar.gz ports-1e0d8c9112e8493a5f7edfd1134a422c3e3efac3.zip |
- Introduce bsd.horde.mk
- Convert most horde ports
- Tested vigorously, but hastily
Prodded by: pointyhats via kris
Approved by: Beech Rintoul <beech@alaskaparadise.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=189522
Diffstat (limited to 'mail/horde-turba/files')
-rw-r--r-- | mail/horde-turba/files/pkg-deinstall.in | 24 | ||||
-rw-r--r-- | mail/horde-turba/files/pkg-install.in | 23 | ||||
-rw-r--r-- | mail/horde-turba/files/pkg-message.in | 8 |
3 files changed, 4 insertions, 51 deletions
diff --git a/mail/horde-turba/files/pkg-deinstall.in b/mail/horde-turba/files/pkg-deinstall.in deleted file mode 100644 index fced5020f1b0..000000000000 --- a/mail/horde-turba/files/pkg-deinstall.in +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# Backup Turba config files, if needed. - -if [ x$2 != xDEINSTALL ]; then - exit -fi - -if [ -z "${PACKAGE_BUILDING}" ]; then - for cf in `ls %%TURBADIR%%/config/*php`; do - diff -bBqw $cf $cf.dist >/dev/null 2>&1 - case $? in - 0) # original config file, delete it - rm -f $cf - ;; - 1) # config file has been updated, leave it alone - ;; - *) # not found? - ;; - esac - done -fi diff --git a/mail/horde-turba/files/pkg-install.in b/mail/horde-turba/files/pkg-install.in deleted file mode 100644 index e0611782bf84..000000000000 --- a/mail/horde-turba/files/pkg-install.in +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -PATH=/usr/sbin:/usr/bin:/bin ; export PATH - -case $2 in - PRE-INSTALL) - ;; - - POST-INSTALL) - if [ -z "${PACKAGE_BUILDING}" ]; then - # Copy over sample config files unless they already exist - - for cf in `ls %%TURBADIR%%/config/*.dist | sed -e 's/\.dist//g'`; do - if [ ! -f $cf ]; then - cp -p $cf.dist $cf - fi - done - fi - ;; -esac diff --git a/mail/horde-turba/files/pkg-message.in b/mail/horde-turba/files/pkg-message.in index c59f450b8cf5..fac46bfb9f28 100644 --- a/mail/horde-turba/files/pkg-message.in +++ b/mail/horde-turba/files/pkg-message.in @@ -1,11 +1,11 @@ ************************************************************************ -Turba has been installed in %%TURBADIR%% with your blank +Turba has been installed in %%HORDIR%% with your blank configuration files. -Horde must be configured; if not, see `pkg_info -D -x horde'. +Horde must be configured; if not, see `pkg_info -Dx horde'. Then, you might have to tune the configuration files located in -%%CONFDIR%%/, specially the file sources.php. +%%HORCFG%%/, specially the file sources.php. Warning: if you don't use some source, deactivate it, or you could ******** experience bad response times! @@ -15,7 +15,7 @@ Then, you must login to Horde as a Horde Administrator to finish the configuration. You have to create a table in your database; please see -%%TURBADIR%%/scripts/. +%%HORDIR%%/scripts/. You might create a LDAP schema: please see the doc LDAP. ************************************************************************ |