25 lines
496 B
Text
25 lines
496 B
Text
# $NetBSD: INSTALL.OpenWindows,v 1.3 2003/08/30 23:01:31 jlam Exp $
|
|
|
|
LIBTIFF="libtiff.so libtiff.so.3"
|
|
|
|
case ${STAGE} in
|
|
PRE-INSTALL)
|
|
for lib in ${LIBTIFF}; do
|
|
src="${PKG_PREFIX}/lib/${lib}"
|
|
dest="${X11BASE}/lib/${lib}"
|
|
if [ -f ${dest} ]; then
|
|
${MV} -f ${dest} ${dest}.openwin
|
|
${LN} -sf ${src} ${dest}
|
|
fi
|
|
done
|
|
;;
|
|
|
|
POST-DEINSTALL)
|
|
for lib in ${LIBTIFF}; do
|
|
file="${X11BASE}/lib/${lib}"
|
|
if [ -f ${file}.openwin ]; then
|
|
${MV} -f ${file}.openwin ${file}
|
|
fi
|
|
done
|
|
;;
|
|
esac
|