summaryrefslogtreecommitdiff
path: root/graphics/tiff/INSTALL.OpenWindows
blob: 8efe20d9988bdbf8bcf13fd77b104e685df4b6cd (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.4 2004/01/03 18:33:24 reed Exp $

LIBTIFF="libtiff.so.3 libtiff.so"

case ${STAGE} in
POST-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