aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl80/pkg-deinstall.tclsh
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-03-13 18:31:46 +0800
committermiwi <miwi@FreeBSD.org>2007-03-13 18:31:46 +0800
commit499e73a112a5b3f175e35fe3502f23aa8525e2f9 (patch)
tree51ec1253aec9b1e37b1237b742b566d54c669d3f /lang/tcl80/pkg-deinstall.tclsh
parentfb6359eddd21b3d7fed535248a9b977eda346e43 (diff)
downloadfreebsd-ports-gnome-499e73a112a5b3f175e35fe3502f23aa8525e2f9.tar.gz
freebsd-ports-gnome-499e73a112a5b3f175e35fe3502f23aa8525e2f9.tar.zst
freebsd-ports-gnome-499e73a112a5b3f175e35fe3502f23aa8525e2f9.zip
- Adds TCL80_MAN and TCLSH_WRAPPER to OPTIONS
- Removes pseudo-installation of tclsh in favour of new lang/tcl-tk-wrapper port - Adds support for NO_INSTALL_MANPAGES knob - Pass maintainership to submitter - Bump PORTREVISION PR: 110233 Submitted by: Martin Matuska <martin@matuska.org>
Diffstat (limited to 'lang/tcl80/pkg-deinstall.tclsh')
-rw-r--r--lang/tcl80/pkg-deinstall.tclsh22
1 files changed, 0 insertions, 22 deletions
diff --git a/lang/tcl80/pkg-deinstall.tclsh b/lang/tcl80/pkg-deinstall.tclsh
deleted file mode 100644
index c48dc863cf43..000000000000
--- a/lang/tcl80/pkg-deinstall.tclsh
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/sh
-#
-# Remove the ${PREFIX}/bin/tclsh script that gets installed by INSTALL.tclsh
-# if we are the last tclsh installation to be pkg_delete'd.
-#
-# $FreeBSD$
-#
-
-#
-# Explicitly listing /usr/X11R6/bin here is debatable.
-#
-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]+(\_r)?([a-z][a-z])?)|otclsh$')
-
-if [ "$tclshs" = "" -a -f ${TCLSH} ] && \
- (head -3 ${TCLSH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1
-then
- rm -f ${PKG_PREFIX}/bin/tclsh
-fi