mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
c6ff45501f
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>
17 lines
314 B
Bash
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
|