aboutsummaryrefslogtreecommitdiff
path: root/korean/xpdf/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'korean/xpdf/pkg-plist')
-rw-r--r--korean/xpdf/pkg-plist18
1 files changed, 9 insertions, 9 deletions
diff --git a/korean/xpdf/pkg-plist b/korean/xpdf/pkg-plist
index dc49ec5dce00..ff83f008d52f 100644
--- a/korean/xpdf/pkg-plist
+++ b/korean/xpdf/pkg-plist
@@ -1,9 +1,9 @@
-share/xpdf/korean/Adobe-Korea1.cidToUnicode
-share/xpdf/korean/ISO-2022-KR.unicodeMap
-share/xpdf/korean/README
-@unexec mv -f %D/etc/xpdfrc %D/etc/xpdfrc.korea
-@unexec (umask 222; grep -F -v --file=%D/share/xpdf/korean/dot.xpdfrc %D/etc/xpdfrc.korea > %D/etc/xpdfrc)
-share/xpdf/korean/dot.xpdfrc
-@unexec rm -f %D/etc/xpdfrc.korea
-@dirrm share/xpdf/korean
-@dirrm share/xpdf
+@comment $FreeBSD$
+%%DATADIR%%/korean/Adobe-Korea1.cidToUnicode
+%%DATADIR%%/korean/ISO-2022-KR.unicodeMap
+%%DATADIR%%/korean/README
+@unexec cp %D/etc/xpdfrc %D/etc/xpdfrc.korea
+@unexec (umask 222; /usr/bin/sed '/^#Korean PDF resources$/,/^#Korean PDF resources$/d' < %D/etc/xpdfrc.korea > %D/etc/xpdfrc && rm -f %D/etc/xpdfrc.korea)
+%%DATADIR%%/korean/dot.xpdfrc
+@dirrm %%DATADIR%%/korean
+@dirrmtry %%DATADIR%%