pkgsrc/textproc/scrollkeeper/INSTALL
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

14 lines
435 B
Text

# $NetBSD: INSTALL,v 1.3 2006/06/15 20:40:16 jlam Exp $
SCROLLKEEPER_REBUILDDB="@SCROLLKEEPER_REBUILDDB@"
SCROLLKEEPER_DATADIR="@SCROLLKEEPER_DATADIR@"
case ${STAGE} in
POST-INSTALL)
${MKDIR} ${SCROLLKEEPER_DATADIR}
${MKDIR} ${SCROLLKEEPER_DATADIR}/log
${TOUCH} ${SCROLLKEEPER_DATADIR}/log/scrollkeeper.log
${MKDIR} ${SCROLLKEEPER_DATADIR}/db
${SCROLLKEEPER_REBUILDDB} -q -p ${SCROLLKEEPER_DATADIR}/db > /dev/null 2>&1
;;
esac