mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
78653f2e06
Collection of files providing support for Cyrillic PostScript Fonts in TeX documents. PR: 28535 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
14 lines
349 B
Bash
14 lines
349 B
Bash
#!/bin/sh
|
|
|
|
# either $PKG_PREFIX or $3 should be set
|
|
PREFIX=${PKG_PREFIX:-$3}
|
|
|
|
case $2 in
|
|
POST-INSTALL)
|
|
rm -f `kpsewhich -expand-var='$VARTEXFONTS'`/pk/modeless/public/pscyr/*
|
|
perl -i -pe 's/^(extra_modules="$)/$1\npscyr.map/m' ${PREFIX}/share/texmf/dvips/config/updmap
|
|
(cd ${PREFIX}/share/texmf/dvips/config/; sh updmap)
|
|
mktexlsr
|
|
;;
|
|
esac
|