pkgsrc/math/djbsort/DEINSTALL
schmonz 1919c91fca Compiler options are also baked into paths, so switch to dynamic PLIST.
Install with pax, not cp. On deinstall, remove whatever's left in
share/djbsort.
2018-07-31 06:24:57 +00:00

17 lines
274 B
Text

# $NetBSD: DEINSTALL,v 1.2 2018/07/31 06:24:57 schmonz Exp $
SHAREDIR="@SHAREDIR@"
case "${STAGE}" in
DEINSTALL)
cd ${PREFIX}/${SHAREDIR}
for i in $(${CAT} pseudo-PLIST); do
${RM} -f ${PREFIX}/${i}
done
;;
POST-DEINSTALL)
${RM} -rf ${PREFIX}/${SHAREDIR}
;;
esac