diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-11-01 20:38:21 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-11-01 20:38:21 +0000 |
commit | afeb1d898fd0b1d46e3d0c559e663f92de2ac9f9 (patch) | |
tree | b0bb6712dd178eb2913c1e86583a3beabd0d05f0 /graphics/tiff/INSTALL.OpenWindows | |
parent | 64468de1eec0d8ebc3bdf1b1c448fb155f7c1dc1 (diff) | |
download | pkgsrc-afeb1d898fd0b1d46e3d0c559e663f92de2ac9f9.tar.gz |
Finishing my cvs {rm,add} crusade in pkg/
Diffstat (limited to 'graphics/tiff/INSTALL.OpenWindows')
-rw-r--r-- | graphics/tiff/INSTALL.OpenWindows | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/graphics/tiff/INSTALL.OpenWindows b/graphics/tiff/INSTALL.OpenWindows new file mode 100644 index 00000000000..ab4e12dec80 --- /dev/null +++ b/graphics/tiff/INSTALL.OpenWindows @@ -0,0 +1,46 @@ +#!/bin/sh +# +# $NetBSD: INSTALL.OpenWindows,v 1.1 2001/11/01 20:38:21 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +case ${STAGE} in +PRE-INSTALL) + cd @X11BASE@/lib + if [ -f libtiff.so ] + then + @MV@ libtiff.so libtiff.so.openwin + @LN@ -s @PREFIX@/lib/libtiff.so + fi + if [ -f libtiff.so.3 ] + then + @MV@ libtiff.so.3 libtiff.so.3.openwin + @LN@ -s @PREFIX@/lib/libtiff.so.3 + fi + ;; + +POST-INSTALL) + ;; + +DEINSTALL) + ;; + +POST-DEINSTALL) + cd @X11BASE@/lib + if [ -f libtiff.so.3.openwin ] + then + @MV@ libtiff.so.3.openwin libtiff.so.3 + fi + if [ -f libtiff.so.openwin ] + then + @MV@ libtiff.so.openwin libtiff.so + fi + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 |