aboutsummaryrefslogtreecommitdiffstats
path: root/russian/pscyr/pkg-deinstall
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2001-07-02 17:04:28 +0800
committerdemon <demon@FreeBSD.org>2001-07-02 17:04:28 +0800
commitae9947135811e864eec2b9d357493d7efaee137d (patch)
treebec7c13b7979098d7c81b40781fdc66ebc6533cd /russian/pscyr/pkg-deinstall
parentc487d8ce2029b4fa811dc7fea938b6aa6142ca4a (diff)
downloadfreebsd-ports-gnome-ae9947135811e864eec2b9d357493d7efaee137d.tar.gz
freebsd-ports-gnome-ae9947135811e864eec2b9d357493d7efaee137d.tar.zst
freebsd-ports-gnome-ae9947135811e864eec2b9d357493d7efaee137d.zip
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>
Diffstat (limited to 'russian/pscyr/pkg-deinstall')
-rw-r--r--russian/pscyr/pkg-deinstall12
1 files changed, 12 insertions, 0 deletions
diff --git a/russian/pscyr/pkg-deinstall b/russian/pscyr/pkg-deinstall
new file mode 100644
index 000000000000..51efeec6cc84
--- /dev/null
+++ b/russian/pscyr/pkg-deinstall
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# either $PKG_PREFIX or $3 should be set
+PREFIX=${PKG_PREFIX:-$3}
+
+case $2 in
+ POST-DEINSTALL)
+ perl -i -pe 's/pscyr\.map\n//m' ${PREFIX}/share/texmf/dvips/config/updmap
+ (cd ${PREFIX}/share/texmf/dvips/config/; sh updmap)
+ mktexlsr
+ ;;
+esac