head	1.5;
access;
symbols
	pkgsrc-2015Q2:1.4.0.78
	pkgsrc-2015Q2-base:1.4
	pkgsrc-2015Q1:1.4.0.76
	pkgsrc-2015Q1-base:1.4
	pkgsrc-2014Q4:1.4.0.74
	pkgsrc-2014Q4-base:1.4
	pkgsrc-2014Q3:1.4.0.72
	pkgsrc-2014Q3-base:1.4
	pkgsrc-2014Q2:1.4.0.70
	pkgsrc-2014Q2-base:1.4
	pkgsrc-2014Q1:1.4.0.68
	pkgsrc-2014Q1-base:1.4
	pkgsrc-2013Q4:1.4.0.66
	pkgsrc-2013Q4-base:1.4
	pkgsrc-2013Q3:1.4.0.64
	pkgsrc-2013Q3-base:1.4
	pkgsrc-2013Q2:1.4.0.62
	pkgsrc-2013Q2-base:1.4
	pkgsrc-2013Q1:1.4.0.60
	pkgsrc-2013Q1-base:1.4
	pkgsrc-2012Q4:1.4.0.58
	pkgsrc-2012Q4-base:1.4
	pkgsrc-2012Q3:1.4.0.56
	pkgsrc-2012Q3-base:1.4
	pkgsrc-2012Q2:1.4.0.54
	pkgsrc-2012Q2-base:1.4
	pkgsrc-2012Q1:1.4.0.52
	pkgsrc-2012Q1-base:1.4
	pkgsrc-2011Q4:1.4.0.50
	pkgsrc-2011Q4-base:1.4
	pkgsrc-2011Q3:1.4.0.48
	pkgsrc-2011Q3-base:1.4
	pkgsrc-2011Q2:1.4.0.46
	pkgsrc-2011Q2-base:1.4
	pkgsrc-2011Q1:1.4.0.44
	pkgsrc-2011Q1-base:1.4
	pkgsrc-2010Q4:1.4.0.42
	pkgsrc-2010Q4-base:1.4
	pkgsrc-2010Q3:1.4.0.40
	pkgsrc-2010Q3-base:1.4
	pkgsrc-2010Q2:1.4.0.38
	pkgsrc-2010Q2-base:1.4
	pkgsrc-2010Q1:1.4.0.36
	pkgsrc-2010Q1-base:1.4
	pkgsrc-2009Q4:1.4.0.34
	pkgsrc-2009Q4-base:1.4
	pkgsrc-2009Q3:1.4.0.32
	pkgsrc-2009Q3-base:1.4
	pkgsrc-2009Q2:1.4.0.30
	pkgsrc-2009Q2-base:1.4
	pkgsrc-2009Q1:1.4.0.28
	pkgsrc-2009Q1-base:1.4
	pkgsrc-2008Q4:1.4.0.26
	pkgsrc-2008Q4-base:1.4
	pkgsrc-2008Q3:1.4.0.24
	pkgsrc-2008Q3-base:1.4
	cube-native-xorg:1.4.0.22
	cube-native-xorg-base:1.4
	pkgsrc-2008Q2:1.4.0.20
	pkgsrc-2008Q2-base:1.4
	cwrapper:1.4.0.18
	pkgsrc-2008Q1:1.4.0.16
	pkgsrc-2008Q1-base:1.4
	pkgsrc-2007Q4:1.4.0.14
	pkgsrc-2007Q4-base:1.4
	pkgsrc-2007Q3:1.4.0.12
	pkgsrc-2007Q3-base:1.4
	pkgsrc-2007Q2:1.4.0.10
	pkgsrc-2007Q2-base:1.4
	pkgsrc-2007Q1:1.4.0.8
	pkgsrc-2007Q1-base:1.4
	pkgsrc-2006Q4:1.4.0.6
	pkgsrc-2006Q4-base:1.4
	pkgsrc-2006Q3:1.4.0.4
	pkgsrc-2006Q3-base:1.4
	pkgsrc-2006Q2:1.4.0.2
	pkgsrc-2006Q2-base:1.4
	pkgsrc-2006Q1:1.3.0.14
	pkgsrc-2006Q1-base:1.3
	pkgsrc-2005Q4:1.3.0.12
	pkgsrc-2005Q4-base:1.3
	pkgsrc-2005Q3:1.3.0.10
	pkgsrc-2005Q3-base:1.3
	pkgsrc-2005Q2:1.3.0.8
	pkgsrc-2005Q2-base:1.3
	pkgsrc-2005Q1:1.3.0.6
	pkgsrc-2005Q1-base:1.3
	pkgsrc-2004Q4:1.3.0.4
	pkgsrc-2004Q4-base:1.3
	pkgsrc-2004Q3:1.3.0.2
	pkgsrc-2004Q3-base:1.3
	pkgsrc-2004Q2:1.2.0.6
	pkgsrc-2004Q2-base:1.2
	pkgsrc-2004Q1:1.2.0.4
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.2
	pkgsrc-2003Q4-base:1.2
	buildlink2-base:1.2;
locks; strict;
comment	@# @;


1.5
date	2015.09.03.14.49.40;	author wiz;	state dead;
branches;
next	1.4;
commitid	mZ3WCaTFX3ICJOzy;

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

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

1.2
date	2002.01.30.23.05.47;	author jlam;	state dead;
branches;
next	1.1;

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


desc
@@


1.5
log
@Remove mutt-devel, used for updating mail/mutt.
@
text
@# $NetBSD: INSTALL,v 1.4 2006/06/15 20:40:16 jlam Exp $

case ${STAGE} in
POST-INSTALL)
	${RM} -f @@DOCDIR@@/samples
	${LN} -sf ../../examples/mutt @@DOCDIR@@/samples
	;;
esac
@


1.4
log
@Split out deinstall portions of INSTALL scripts into DEINSTALL scripts.
This avoids the need for a confusing line of the form:

	DEINSTALL_TEMPLATE+=	path/to/INSTALL

in the package Makefile, and actually removes the need to specify it
altogether since by convention, the existence of the DEINSTALL script
is enough to add it to DEINSTALL_TEMPLATE.
@
text
@d1 1
a1 1
# $NetBSD: INSTALL,v 1.3 2004/07/21 22:37:10 jlam Exp $
@


1.3
log
@Resurrect mail/mutt-devel and make it install mutt-1.5.6, the development
version of Mutt, a text mail reader and PGP & S/MIME support.  This
is primarily to support a mutt that builds with SASLv2 support.
@
text
@d1 1
a1 1
# $NetBSD$
a7 4

DEINSTALL)
	${RM} -f @@DOCDIR@@/samples
	;;
@


1.2
log
@* Use the general INSTALL/DEINSTALL scripts
* Honor ${PKG_SYSCONFDIR} for the location of the config files
  (Muttrc, mime.types).
* Rearrange lines slightly to minimize differences between mutt/Makefile
  and mutt-devel/Makefile to simplify updating mutt when the next release
  (1.4?) is released.
@
text
@d1 1
a1 15
#! /bin/sh
#
# $NetBSD: INSTALL,v 1.1 2001/11/01 01:00:39 zuntum Exp $

PKGNAME=$1
STAGE=$2

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

SAMPLECONFDIR=${PKG_PREFIX}/share/doc/mutt/samples
CONFDIR=${PKG_PREFIX}/etc
CONFFILES="Muttrc"
NONCONFFILES="mime.types"
a3 3
PRE-INSTALL)
	;;

d5 2
a6 28
	echo "Installing configuration files:"
	for file in ${CONFFILES} ${NONCONFFILES}
	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
===========================================================================
EOF
d9 2
a10 3
*)
	echo "Unexpected argument: ${STAGE}"
	exit 1
a12 1
exit 0
@


1.1
log
@Move pkg/ files into package's toplevel directory
@
text
@d3 1
a3 1
# $NetBSD: INSTALL,v 1.1 2001/06/20 07:46:13 jlam Exp $
@

