summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd/INSTALL')
-rw-r--r--mail/cyrus-imapd/INSTALL46
1 files changed, 1 insertions, 45 deletions
diff --git a/mail/cyrus-imapd/INSTALL b/mail/cyrus-imapd/INSTALL
index db776997b2d..d3199102f7a 100644
--- a/mail/cyrus-imapd/INSTALL
+++ b/mail/cyrus-imapd/INSTALL
@@ -1,49 +1,11 @@
#!/bin/sh
#
-# $NetBSD: INSTALL,v 1.1 2001/11/01 00:59:46 zuntum Exp $
-
-PKGNAME=$1
-STAGE=$2
-
-CAT="@CAT@"
-CHMOD="@CHMOD@"
-CP="@CP@"
-
-SAMPLECONFDIR=${PKG_PREFIX}/share/examples/cyrus-imapd
-CONFDIR=/etc
-CONFFILES="imapd.conf"
+# $NetBSD: INSTALL,v 1.2 2001/11/24 20:49:42 jlam Exp $
case ${STAGE} in
-PRE-INSTALL)
- ;;
-
POST-INSTALL)
- echo "Installing configuration files:"
- for file in ${CONFFILES}
- do
- FILE=${CONFDIR}/${file}
- SAMPLEFILE=${SAMPLECONFDIR}/${file}
- 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
- FILE=${CONFDIR}/${file}
- echo " ${FILE}"
- done
- ${CAT} << EOF
-
Please also refer to:
${PKG_PREFIX}/share/doc/html/cyrus-imapd/install.html
@@ -52,10 +14,4 @@ to set up the necessary directories before starting the Cyrus IMAP server.
===========================================================================
EOF
;;
-
-*)
- echo "Unexpected argument: ${STAGE}"
- exit 1
- ;;
esac
-exit 0