#! /bin/sh
#
# Startproc for gCAD3D.
# You can modify several directories; default is ${HOME}/gCAD3D/..

# <gcad_dir_bin>                   executable, dll's     ReadOnly
# <gcad_dir_bin>plugins/           dll's                 ReadOnly
export gcad_dir_bin=/usr/pkg/lib/gcad3d/

# <gcad_dir_bas>examples.gz        local-setup           RO
export gcad_dir_bas=/usr/pkg/share/gcad3d/

# <gcad_dir_ico>                   icons                 RO
export gcad_dir_ico=/usr/pkg/share/gcad3d/icons/

# <gcad_dir_doc>html/              helpfiles .htm        ReadOnly
# <gcad_dir_doc>msg/               helpfiles .txt        ReadOnly
export gcad_dir_doc=/usr/pkg/share/doc/gcad3d/

# <gcad_dir_local>gCAD3D/tmp/      temp-files            ReadWrite
# <gcad_dir_local>gCAD3D/cfg/      local setup-files     ReadWrite
# <gcad_dir_local>gCAD3D/dat/      example-models        ReadWrite
# <gcad_dir_local>gCAD3D/prg/      script-parts          ReadWrite
# <gcad_dir_local>gCAD3D/ctlg/     catalog-parts         ReadWrite
export gcad_dir_local=${HOME}/.config/

# <gcad_dir_dev>gCAD3D/dev/        sources plugins       ReadWrite
# <gcad_dir_dev>gCAD3D/plugins/    objects executables   ReadWriteExe
export gcad_dir_dev=${HOME}/.config/

# start it ..
export LD_LIBRARY_PATH=${gcad_dir_bin}
${gcad_dir_bin}gCAD3D $*
# eof
