- update Tcl/Tk dependency to 8.5 (doesn't work with 8.4 anymore) - fix jstrack.sh.in to locate jstrack's library dir Reported by: PH (via beat@) Approved by: portmgr@ (implicit) Feature safe: yes
12 lines
363 B
Bash
12 lines
363 B
Bash
#! /bin/sh
|
|
# the next line restarts using wish \
|
|
exec %%WISH%% "$0" ${1+"$@"}
|
|
lappend auto_path %%PREFIX%%/lib/jstrack/tracker/lib
|
|
set myName [info script]
|
|
if {![catch {
|
|
set linkName [file readlink $myName]
|
|
}]} {
|
|
set myName $linkName
|
|
}
|
|
cd %%PREFIX%%/lib/jstrack/tracker
|
|
source [file join [file dirname $myName] %%PREFIX%%/lib/jstrack/tracker/jstrack.tcl]
|