#!/bin/sh
#
# $NetBSD: INSTALL,v 1.1 2002/11/26 11:26:32 jmmv Exp $

PREFIX="@PREFIX@"

case ${STAGE} in
POST-INSTALL)
	${LN} -s ${PREFIX}/share/apsfilter ${PKG_SYSCONFDIR}/basedir
	;;
DEINSTALL)
	${RM} ${PKG_SYSCONFDIR}/basedir

	cat << EOF
===========================================================================
If you will not be using apsfilter any longer, you may want to remove
apsfilter's configuration directory (${PKG_SYSCONFDIR}) and the
SETUP.cfg configuration file from apsfilter's directory
(${PREFIX}/share/apsfilter/SETUP.cfg).
===========================================================================
EOF
	;;
esac
