mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
2c54b710d9
This changes the behavior of Tk on X where X Input Methods (XIM) were recognized and used without question. With 8.3, they will be recognized and initialized, but not used unless XIM is turned on (tk useinputmethods 1). This should only affect users users with special input methods, and the new default behavior should be more beneficial to the average user. Please repo copy, thanks.
23 lines
638 B
Bash
23 lines
638 B
Bash
#! /bin/sh
|
|
#
|
|
# Remove the ${PREFIX}/bin/wish script that gets installed by INSTALL.wish
|
|
# if we are the last wish installation to be pkg_delete'd.
|
|
#
|
|
# $FreeBSD: /tmp/pcvs/ports/chinese/tk83/Attic/pkg-deinstall.wish,v 1.1 2001-02-22 04:09:52 kevlo Exp $
|
|
#
|
|
|
|
#
|
|
# Explicitly listing /usr/X11R6/bin here is debatable.
|
|
#
|
|
BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin"
|
|
WISH=${PKG_PREFIX}/bin/wish
|
|
|
|
wishes=$(/bin/ls ${BINDIR} 2> /dev/null | \
|
|
egrep '^o?wish(step)?(x|([0-9]+\.[0-9]+))([a-z][a-z])?$')
|
|
|
|
if [ "$wishes" = "" -a -f ${WISH} ] && \
|
|
(head -3 ${WISH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1
|
|
then
|
|
rm -f ${PKG_PREFIX}/bin/wish
|
|
fi
|