aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl82
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2000-05-31 18:31:17 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2000-05-31 18:31:17 +0000
commit8d4fc29a87f95900ffe5503aa9ce502320712b16 (patch)
tree34d18c16a2ebcb54267dfd8c89ca3a01b48196f4 /lang/tcl82
parent29870c686d9341c77e1566c3d555a36f42f3c414 (diff)
downloadports-8d4fc29a87f95900ffe5503aa9ce502320712b16.tar.gz
ports-8d4fc29a87f95900ffe5503aa9ce502320712b16.zip
Notes
Diffstat (limited to 'lang/tcl82')
-rw-r--r--lang/tcl82/pkg-deinstall.tclsh2
-rw-r--r--lang/tcl82/pkg-install.tclsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/tcl82/pkg-deinstall.tclsh b/lang/tcl82/pkg-deinstall.tclsh
index 07c6493c07cf..c48dc863cf43 100644
--- a/lang/tcl82/pkg-deinstall.tclsh
+++ b/lang/tcl82/pkg-deinstall.tclsh
@@ -13,7 +13,7 @@ BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin"
TCLSH=${PKG_PREFIX}/bin/tclsh
tclshs=$(/bin/ls ${BINDIR} 2> /dev/null | \
- egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
+ egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
if [ "$tclshs" = "" -a -f ${TCLSH} ] && \
(head -3 ${TCLSH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1
diff --git a/lang/tcl82/pkg-install.tclsh b/lang/tcl82/pkg-install.tclsh
index 9dec69942b2a..3b808e2b500f 100644
--- a/lang/tcl82/pkg-install.tclsh
+++ b/lang/tcl82/pkg-install.tclsh
@@ -23,7 +23,7 @@ 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]+([a-z][a-z])?$')
+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