summaryrefslogtreecommitdiff
path: root/chinese/xpdf/pkg-plist
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-18 16:51:33 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-18 16:51:33 +0000
commit5eb5edcb22e3b82d0bc31cf71c1121752704bbdc (patch)
tree04bca054ccc4a49b68c54764c475337d3ffc5676 /chinese/xpdf/pkg-plist
parent- Update to 0.6.7 (diff)
- Fix file permission change on xpdfrc
- Use DATADIR - Fix removing of shared dir PR: ports/75176 Submitted by: Dryice Liu <dryice@liu.com.cn> (maintainer)
Notes
Notes: svn path=/head/; revision=124392
Diffstat (limited to 'chinese/xpdf/pkg-plist')
-rw-r--r--chinese/xpdf/pkg-plist29
1 files changed, 15 insertions, 14 deletions
diff --git a/chinese/xpdf/pkg-plist b/chinese/xpdf/pkg-plist
index 833a446dea2f..12439e04ee1f 100644
--- a/chinese/xpdf/pkg-plist
+++ b/chinese/xpdf/pkg-plist
@@ -1,15 +1,16 @@
-share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
-share/xpdf/chinese-simplified/EUC-CN.unicodeMap
-share/xpdf/chinese-simplified/GBK.unicodeMap
-share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
-share/xpdf/chinese-simplified/README
-share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
-share/xpdf/chinese-traditional/Big5.unicodeMap
-share/xpdf/chinese-traditional/Big5ascii.unicodeMap
-share/xpdf/chinese-traditional/README
-@unexec mv -f %D/etc/xpdfrc %D/etc/xpdfrc.chinese-traditional
-@unexec grep -F -v --file=%D/share/xpdf/chinese-traditional/dot.xpdfrc %D/etc/xpdfrc.chinese-traditional > %D/etc/xpdfrc
-share/xpdf/chinese-traditional/dot.xpdfrc
+%%DATADIR%%/chinese-simplified/Adobe-GB1.cidToUnicode
+%%DATADIR%%/chinese-simplified/EUC-CN.unicodeMap
+%%DATADIR%%/chinese-simplified/GBK.unicodeMap
+%%DATADIR%%/chinese-simplified/ISO-2022-CN.unicodeMap
+%%DATADIR%%/chinese-simplified/README
+%%DATADIR%%/chinese-traditional/Adobe-CNS1.cidToUnicode
+%%DATADIR%%/chinese-traditional/Big5.unicodeMap
+%%DATADIR%%/chinese-traditional/Big5ascii.unicodeMap
+%%DATADIR%%/chinese-traditional/README
+@unexec cp %D/etc/xpdfrc %D/etc/xpdfrc.chinese-traditional
+@unexec grep -F -v --file=%D/%%DATADIR%%/chinese-traditional/dot.xpdfrc %D/etc/xpdfrc.chinese-traditional > %D/etc/xpdfrc
+%%DATADIR%%/chinese-traditional/dot.xpdfrc
@unexec rm -f %D/etc/xpdfrc.chinese-traditional
-@dirrm share/xpdf/chinese-simplified
-@dirrm share/xpdf/chinese-traditional
+@dirrm %%DATADIR%%/chinese-simplified
+@dirrm %%DATADIR%%/chinese-traditional
+@unexec rmdir %D/%%DATADIR%% 2> /dev/null || true