#!/bin/sh # The user may have a tclsh they want to preserve ver=`grep -a awieYJFnsuILOnfsYEW ${PKG_PREFIX}/bin/tclsh 2> /dev/null \ | sed -e 's/.*\*\*//'` if [ ! -e ${PKG_PREFIX}/bin/tclsh ] || [ "$ver" != "" -a "$ver" -lt 002 ] then [ -f ${PKG_PREFIX}/bin/tclsh ] && chmod u+w ${PKG_PREFIX}/bin/tclsh mkdir -p ${PKG_PREFIX}/bin cat > ${PKG_PREFIX}/bin/tclsh <<'EOF' #!/bin/sh # Installed by ports system. id: awieYJFnsuILOnfsYEW**002 # # $FreeBSD$ # ( echo "In FreeBSD, tclsh is named with a version number. This is because" echo "different versions of tclsh are not compatible with each other and" echo "they can not all be called \"tclsh\"! You may need multiple versions" echo "installed because a given port may depend on a specific version." echo echo "On your system, tclsh is installed under at least the following names:" echo for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$') do echo $name done [ "$name" = "" ] && echo "No tclsh installations found, sorry." ) 1>&2 exit 1 EOF chmod 555 ${PKG_PREFIX}/bin/tclsh fi </a> : <a title='freebsd-ports-graphics' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/'>freebsd-ports-graphics</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='24bbad9891f75eb94dcbcbdc33f37b7d8fd58fd2'/><select name='h' onchange='this.form.submit();'> <option value='master'>master</option> <option value='mesa-next' selected='selected'>mesa-next</option> <option value='wayland'>wayland</option> <option value='xorg-server-1.19.6'>xorg-server-1.19.6</option> <option value='xserver-next'>xserver-next</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)</td><td class='sub right'></td></tr></table> <table class='tabs'><tr><td> <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/about/'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/refs/?id=24bbad9891f75eb94dcbcbdc33f37b7d8fd58fd2'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/dns/odsclient'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/tree/dns/odsclient?id=24bbad9891f75eb94dcbcbdc33f37b7d8fd58fd2'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/dns/odsclient?id=24bbad9891f75eb94dcbcbdc33f37b7d8fd58fd2'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/diff/dns/odsclient?id=24bbad9891f75eb94dcbcbdc33f37b7d8fd58fd2'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/stats/dns/odsclient'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/dns/odsclient'> <input type='hidden' name='id' value='24bbad9891f75eb94dcbcbdc33f37b7d8fd58fd2'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/?id=24bbad9891f75eb94dcbcbdc33f37b7d8fd58fd2'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/dns?id=24bbad9891f75eb94dcbcbdc33f37b7d8fd58fd2'>dns</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/dns/odsclient?id=24bbad9891f75eb94dcbcbdc33f37b7d8fd58fd2'>odsclient</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/dns/odsclient?id=24bbad9891f75eb94dcbcbdc33f37b7d8fd58fd2&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/dns/odsclient?id=fc0cc9c041cb78efab8fa010c021f2244ef84b73'>- Support staging</a></td><td>ehaupt</td><td><span title='2014-02-19 20:19:30 +0800'>2014-02-19</span></td><td>2</td><td><span class='deletions'>-11</span>/<span class='insertions'>+19</span></td></tr>