##=============================================================
## Installation script for EQUINOX-3D
##
## EQUINOX-3D Copyright (C) 1995 by Gabor Nagy.
##=============================================================

setenv FROMDIR '.'

setenv INSTDIR '/usr/local/equinox'
setenv BININSTDIR '/usr/bin'
setenv EqxVERSION '0.7.45-IRIX'

rm -rf $INSTDIR
rm -f /usr/bin/eq
echo ''
echo Installing EQUINOX-3D v$EqxVERSION.
echo ''
ln -s $PWD $INSTDIR
echo ' 3D-file I/O plugins installed in:     '$INSTDIR/FileIO
echo ' Image-file I/O plugins installed in:  '$INSTDIR/ImageFileIO
echo ' Plugins installed in:                 '$INSTDIR/Plugins
echo ' Example files installed in:           '$INSTDIR/Examples
echo ' Setup files installed in:             '$INSTDIR/.equinox
ln -s $PWD/bin/eq $BININSTDIR/eq
echo ' Main binary installed as:             '$BININSTDIR/eq

chmod -R a+w $INSTDIR
rehash
echo ''
echo Installation complete.
echo Thank you for trying EQUINOX-3D.

