aboutsummaryrefslogtreecommitdiff
path: root/deskutils/horde4-mnemo/files
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-04-08 23:42:31 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-04-08 23:42:31 +0000
commit1e0d8c9112e8493a5f7edfd1134a422c3e3efac3 (patch)
tree8195bcc94557ed871bb3862c71b9314dc2c43bd8 /deskutils/horde4-mnemo/files
parent3e50ab625e240bab15b5babee4112f1f654cae5d (diff)
- 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 'deskutils/horde4-mnemo/files')
-rw-r--r--deskutils/horde4-mnemo/files/pkg-deinstall.in24
-rw-r--r--deskutils/horde4-mnemo/files/pkg-install.in23
-rw-r--r--deskutils/horde4-mnemo/files/pkg-message.in7
3 files changed, 3 insertions, 51 deletions
diff --git a/deskutils/horde4-mnemo/files/pkg-deinstall.in b/deskutils/horde4-mnemo/files/pkg-deinstall.in
deleted file mode 100644
index 01e0ca9f6e7b..000000000000
--- a/deskutils/horde4-mnemo/files/pkg-deinstall.in
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Backup Mnemo config files, if needed.
-
-if [ x$2 != xDEINSTALL ]; then
- exit
-fi
-
-if [ -z "${PACKAGE_BUILDING}" ]; then
- for cf in `ls %%MNEMODIR%%/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/deskutils/horde4-mnemo/files/pkg-install.in b/deskutils/horde4-mnemo/files/pkg-install.in
deleted file mode 100644
index 2b5fd65ba10e..000000000000
--- a/deskutils/horde4-mnemo/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 %%MNEMODIR%%/config/*.dist | sed -e 's/\.dist//g'`; do
- if [ ! -f $cf ]; then
- cp -p $cf.dist $cf
- fi
- done
- fi
- ;;
-esac
diff --git a/deskutils/horde4-mnemo/files/pkg-message.in b/deskutils/horde4-mnemo/files/pkg-message.in
index bbd8d585a94d..07089e835ce8 100644
--- a/deskutils/horde4-mnemo/files/pkg-message.in
+++ b/deskutils/horde4-mnemo/files/pkg-message.in
@@ -1,15 +1,14 @@
************************************************************************
-Mnemo has been installed in %%MNEMODIR%% with your blank
+Mnemo 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-base'.
Then, you have to create the table mnemo_memos, from the SQL script
-%%MNEMODIR%%/scripts/sql/mnemo.sql
+%%HORDIR%%/scripts/sql/mnemo.sql
For example, if your database is MySQL, you may run
mysql --user=root --password=yourpass horde < mnemo.sql
Finally, you must login to Horde as a Horde Administrator to finish the
configuration.
-
************************************************************************