#!/bin/sh -f

export TCLLIBPATH="%with_ibdm_lib% %ibdiag_libdir% %with_tk_lib% %with_graphviz_lib%"; \
export TK_LIBRARY="%with_tk_lib%"; \
export PATH="%with_ibis%":"%with_ibis_bindir%":$PATH; \
exec ibis "$@" <<EOF

set argv0 ibdiagui
package require ibdiagui

EOF
