freebsd-ports/databases/pgaccess/files/run-tcl-file
Vanilla I. Shu 325f8178dd Add pgaccess.
A powerful GUI PostgreSQL database administration tool and toolkit

PR:		ports/46705
Submitted by:	Palle Girgensohn <girgen@pingpong.net>
2003-01-16 07:33:00 +00:00

13 lines
309 B
Bash

#!/bin/sh
PATH_TO_WISH='%%LOCALBASE%%/bin/wish%%TCL_VERSION%%'
PGACCESS_HOME='%%PREFIX%%/share/postgresql/pgaccess'
PGLIB='%%LOCALBASE%%/lib'
PGPORT="${PGPORT:-5432}"
export PATH_TO_WISH
export PGACCESS_HOME
export PGLIB
export PGPORT
exec "${PATH_TO_WISH}" "${PGACCESS_HOME}/%%PROGRAM%%" "$@" > /dev/null