summaryrefslogtreecommitdiff
path: root/graphics/tiff/INSTALL.OpenWindows
blob: 667155ee94b2dccd1ceda505953739911eb3b187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $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