1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/chinese/cwtex/pkg-deinstall
Clive Lin c6ff45501f New port: cwTeX
cwTeX is a famous TeX/LaTeX derivative in Taiwan, which runs on
MS-DOS, Windows, Linux, and now on FreeBSD.

Of course, cwTeX is subject to process Chinese character gracefully.

PR:	ports/36567
Submitted by:	Statue <statue@softwareliberty.org>
2002-03-31 09:37:48 +00:00

17 lines
314 B
Bash

#!/bin/sh
# Run just once.
if [ "x$2" != "xDEINSTALL" ]; then
exit 0
fi
TEXMFMAIN=`kpsexpand '$TEXMFMAIN'`
PSFONTSMAP=${TEXMFMAIN}/dvips/config/config.ps
# Edit dvips/config/config.ps
sed -e /%cwtex_begin/,/%cwtex_end/d $PSFONTSMAP > $PSFONTSMAP.tmp
mv -f $PSFONTSMAP.tmp $PSFONTSMAP
# Update ls-R.
mktexlsr