cf09320118
support into a pkgsrc CUPS installation.
18 lines
443 B
Text
18 lines
443 B
Text
# $NetBSD: INSTALL,v 1.1.1.1 2005/12/17 18:26:15 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}; }
|
|
|
|
;;
|
|
|
|
DEINSTALL)
|
|
${ECHO} "Removing foomatic-rip filter from CUPS."
|
|
${RM} -f ${CUPS_FILTERDIR}/foomatic-rip
|
|
;;
|
|
esac
|