summaryrefslogtreecommitdiff
path: root/print/xpdf-hebrew/DEINSTALL
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-11-08 10:08:59 +0000
committerwiz <wiz@pkgsrc.org>2002-11-08 10:08:59 +0000
commit91d78f6b35ebd3c665f2fe806fc6decfdf15714a (patch)
tree884b24883db6fb3bce65a869931e8bbc6e5e0087 /print/xpdf-hebrew/DEINSTALL
parent9a4fdafbe1da5dcf7f7a2532782b1f19ba1b31bc (diff)
downloadpkgsrc-91d78f6b35ebd3c665f2fe806fc6decfdf15714a.tar.gz
Initial import of xpdf-hebrew -- Hebrew language support files for xpdf.
Diffstat (limited to 'print/xpdf-hebrew/DEINSTALL')
-rw-r--r--print/xpdf-hebrew/DEINSTALL25
1 files changed, 25 insertions, 0 deletions
diff --git a/print/xpdf-hebrew/DEINSTALL b/print/xpdf-hebrew/DEINSTALL
new file mode 100644
index 00000000000..af3790fcb60
--- /dev/null
+++ b/print/xpdf-hebrew/DEINSTALL
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1.1.1 2002/11/08 10:08:59 wiz Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+XPDFRC=${PKG_PREFIX}/etc/xpdfrc
+
+case ${STAGE} in
+DEINSTALL)
+ ;;
+
+POST-DEINSTALL)
+ sed -e "/implified/d" ${XPDFRC} > ${XPDFRC}.tmp
+ sed -e "/gb2312/d" ${XPDFRC}.tmp > ${XPDFRC}
+ rm -f ${XPDFRC}.tmp
+ ;;
+
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0