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
243 B
Text
12 lines
243 B
Text
#!/bin/sh
|
|
#
|
|
# $NetBSD: INSTALL,v 1.2 2006/06/15 20:40:16 jlam Exp $
|
|
|
|
case ${STAGE} in
|
|
POST-INSTALL)
|
|
if [ "${PKG_PREFIX}" != "${LOCALBASE}" ]; then
|
|
${LN} -fs ${PREFIX}/share/aclocal/gtk.m4 \
|
|
${LOCALBASE}/share/aclocal/gtk.m4
|
|
fi
|
|
;;
|
|
esac
|