827643d4bb
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.
12 lines
327 B
Text
12 lines
327 B
Text
# $NetBSD: INSTALL,v 1.2 2006/06/15 20:40:16 jlam Exp $
|
|
|
|
CUPS_FILTERDIR="@CUPS_FILTERDIR@"
|
|
|
|
case ${STAGE} in
|
|
POST-INSTALL)
|
|
${TEST} ! -d ${CUPS_FILTERDIR} ||
|
|
${TEST} -f ${CUPS_FILTERDIR}/foomatic-rip ||
|
|
{ ${ECHO} "Adding foomatic-rip filter to CUPS.";
|
|
${LN} -s ${PKG_PREFIX}/bin/foomatic-rip ${CUPS_FILTERDIR}; }
|
|
;;
|
|
esac
|