1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/russian/pscyr/pkg-install
Dmitry Sivachenko 78653f2e06 New port: russian/pscyr.
Collection of files providing support for Cyrillic
PostScript Fonts in TeX documents.

PR:		28535
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2001-07-02 09:04:28 +00:00

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