summaryrefslogtreecommitdiff
path: root/www/horde/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'www/horde/INSTALL')
-rw-r--r--www/horde/INSTALL76
1 files changed, 0 insertions, 76 deletions
diff --git a/www/horde/INSTALL b/www/horde/INSTALL
deleted file mode 100644
index 6b06e8ec82c..00000000000
--- a/www/horde/INSTALL
+++ /dev/null
@@ -1,76 +0,0 @@
-#! /bin/sh
-#
-# $NetBSD: INSTALL,v 1.1 2001/11/01 02:16:51 zuntum Exp $
-
-PKGNAME=$1
-STAGE=$2
-
-CAT="@CAT@"
-CHMOD="@CHMOD@"
-CP="@CP@"
-
-APACHE_SYSCONFDIR="@APACHE_SYSCONFDIR@"
-SAMPLECONFDIR=${PKG_PREFIX}/share/examples/horde
-CONFDIR=${APACHE_SYSCONFDIR}
-HORDEDIR=${PKG_PREFIX}/@HORDEDIR@
-PHPLIBDIR=${PKG_PREFIX}/@PHPLIBDIR@
-
-CONFFILES=" ${PHPLIBDIR}/local.inc \
- ${PHPLIBDIR}/prepend.php3 \
- ${HORDEDIR}/config/horde.php3"
-NONCONFFILES=" ${HORDEDIR}/config/MOTD.html \
- ${HORDEDIR}/config/header.txt \
- ${HORDEDIR}/config/html.php3 \
- ${HORDEDIR}/config/lang.php3 \
- ${HORDEDIR}/config/menu.txt \
- ${HORDEDIR}/config/mime.php3"
-
-case ${STAGE} in
-PRE-INSTALL)
- ;;
-
-POST-INSTALL)
- echo "Installing configuration files:"
- FILE=${CONFDIR}/horde.conf
- SAMPLEFILE=${SAMPLECONFDIR}/horde.conf
- if [ -f ${FILE} ]
- then
- echo " ${FILE} already exists"
- else
- echo " ${FILE}"
- ${CP} ${SAMPLEFILE} ${FILE}
- ${CHMOD} 644 ${FILE}
- fi
- for FILE in ${CONFFILES} ${NONCONFFILES}
- do
- SAMPLEFILE=${FILE}.dist
- if [ -f ${FILE} ]
- then
- echo " ${FILE} already exists"
- else
- echo " ${FILE}"
- ${CP} ${SAMPLEFILE} ${FILE}
- ${CHMOD} 644 ${FILE}
- fi
- done
- ${CAT} << EOF
-
-===========================================================================
-Some files you might need to customize include the following:
-
-EOF
- for FILE in ${CONFFILES}
- do
- echo " ${FILE}"
- done
- ${CAT} << EOF
-===========================================================================
-EOF
- ;;
-
-*)
- echo "Unexpected argument: ${STAGE}"
- exit 1
- ;;
-esac
-exit 0