head	1.5;
access;
symbols
	pkgsrc-2013Q2:1.5.0.52
	pkgsrc-2013Q2-base:1.5
	pkgsrc-2012Q4:1.5.0.50
	pkgsrc-2012Q4-base:1.5
	pkgsrc-2011Q4:1.5.0.48
	pkgsrc-2011Q4-base:1.5
	pkgsrc-2011Q2:1.5.0.46
	pkgsrc-2011Q2-base:1.5
	pkgsrc-2009Q4:1.5.0.44
	pkgsrc-2009Q4-base:1.5
	pkgsrc-2008Q4:1.5.0.42
	pkgsrc-2008Q4-base:1.5
	pkgsrc-2008Q3:1.5.0.40
	pkgsrc-2008Q3-base:1.5
	cube-native-xorg:1.5.0.38
	cube-native-xorg-base:1.5
	pkgsrc-2008Q2:1.5.0.36
	pkgsrc-2008Q2-base:1.5
	pkgsrc-2008Q1:1.5.0.34
	pkgsrc-2008Q1-base:1.5
	pkgsrc-2007Q4:1.5.0.32
	pkgsrc-2007Q4-base:1.5
	pkgsrc-2007Q3:1.5.0.30
	pkgsrc-2007Q3-base:1.5
	pkgsrc-2007Q2:1.5.0.28
	pkgsrc-2007Q2-base:1.5
	pkgsrc-2007Q1:1.5.0.26
	pkgsrc-2007Q1-base:1.5
	pkgsrc-2006Q4:1.5.0.24
	pkgsrc-2006Q4-base:1.5
	pkgsrc-2006Q3:1.5.0.22
	pkgsrc-2006Q3-base:1.5
	pkgsrc-2006Q2:1.5.0.20
	pkgsrc-2006Q2-base:1.5
	pkgsrc-2006Q1:1.5.0.18
	pkgsrc-2006Q1-base:1.5
	pkgsrc-2005Q4:1.5.0.16
	pkgsrc-2005Q4-base:1.5
	pkgsrc-2005Q3:1.5.0.14
	pkgsrc-2005Q3-base:1.5
	pkgsrc-2005Q2:1.5.0.12
	pkgsrc-2005Q2-base:1.5
	pkgsrc-2005Q1:1.5.0.10
	pkgsrc-2005Q1-base:1.5
	pkgsrc-2004Q4:1.5.0.8
	pkgsrc-2004Q4-base:1.5
	pkgsrc-2004Q3:1.5.0.6
	pkgsrc-2004Q3-base:1.5
	pkgsrc-2004Q2:1.5.0.4
	pkgsrc-2004Q2-base:1.5
	pkgsrc-2004Q1:1.5.0.2
	pkgsrc-2004Q1-base:1.5
	pkgsrc-2003Q4:1.4.0.2
	pkgsrc-2003Q4-base:1.4
	netbsd-1-6-1:1.3.0.2
	netbsd-1-6-1-base:1.3
	netbsd-1-6:1.3.0.4
	netbsd-1-6-RELEASE-base:1.3
	pkgviews:1.2.0.4
	pkgviews-base:1.2
	buildlink2:1.2.0.2
	buildlink2-base:1.2
	netbsd-1-5-PATCH003:1.2;
locks; strict;
comment	@# @;


1.5
date	2004.02.14.17.55.18;	author snj;	state dead;
branches;
next	1.4;

1.4
date	2003.08.30.20.22.55;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2002.07.31.15.50.06;	author jlam;	state Exp;
branches;
next	1.2;

1.2
date	2001.11.24.20.49.42;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2001.11.01.00.59.46;	author zuntum;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Put post-install information in MESSAGE instead of using an INSTALL script.
Okayed by wiz.
@
text
@# $NetBSD: INSTALL,v 1.4 2003/08/30 20:22:55 jlam Exp $

case ${STAGE} in
POST-INSTALL)
	${CAT} << EOF
===========================================================================
Please also refer to:

	${PKG_PREFIX}/share/doc/html/cyrus-imapd/install.html

for more detailed instructions on setting up the environment before
starting the Cyrus IMAP server.  In particular, several services will
probably need to be added to /etc/services.
===========================================================================
EOF
	;;
esac
@


1.4
log
@Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
@
text
@d1 1
a1 1
# $NetBSD: INSTALL,v 1.3 2002/07/31 15:50:06 jlam Exp $
@


1.3
log
@Give some further hints about what will need to be done before Cyrus IMAP
can be used.
@
text
@d1 1
a1 3
#!/bin/sh
#
# $NetBSD: INSTALL,v 1.2 2001/11/24 20:49:42 jlam Exp $
@


1.2
log
@Buildlinkify, respect ${CONFDIR}, and use general INSTALL/DEINSTALL scripts.
@
text
@d3 1
a3 1
# $NetBSD: INSTALL,v 1.1 2001/11/01 00:59:46 zuntum Exp $
d13 3
a15 1
to set up the necessary directories before starting the Cyrus IMAP server.
@


1.1
log
@Move pkg/ files into package's toplevel directory
@
text
@d3 1
a3 12
# $NetBSD: INSTALL,v 1.4 2001/09/18 21:56:31 skrll Exp $

PKGNAME=$1
STAGE=$2

CAT="@@CAT@@"
CHMOD="@@CHMOD@@"
CP="@@CP@@"

SAMPLECONFDIR=${PKG_PREFIX}/share/examples/cyrus-imapd
CONFDIR=/etc
CONFFILES="imapd.conf"
a5 3
PRE-INSTALL)
	;;

a6 14
	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
a8 10
Some files you might need to customize include the following:

EOF
	for file in ${CONFFILES}
	do
		FILE=${CONFDIR}/${file}
		echo "	${FILE}"
	done
	${CAT} << EOF

a16 5

*)
	echo "Unexpected argument: ${STAGE}"
	exit 1
	;;
a17 1
exit 0
@

