pkgsrc/print/apsfilter/DEINSTALL
jlam 827643d4bb 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.
2006-06-15 20:40:15 +00:00

18 lines
546 B
Bash

#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.3 2006/06/15 20:40:16 jlam Exp $
case ${STAGE} in
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
(${PKG_PREFIX}/share/apsfilter/SETUP.cfg).
===========================================================================
EOF
;;
esac