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.
11 lines
205 B
Bash
11 lines
205 B
Bash
#!/bin/sh
|
|
#
|
|
# $NetBSD: DEINSTALL,v 1.1 2006/06/15 20:40:16 jlam Exp $
|
|
|
|
case ${STAGE} in
|
|
DEINSTALL)
|
|
if [ "${PKG_PREFIX}" != "${LOCALBASE}" ]; then
|
|
${RM} -f ${LOCALBASE}/share/aclocal/gtk.m4
|
|
fi
|
|
;;
|
|
esac
|