summaryrefslogtreecommitdiff
path: root/japanese/xpdf/pkg-plist
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-10-30 16:49:20 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-10-30 16:49:20 +0000
commitb9afd5595185a49428de00864d50ac54d913c1c6 (patch)
tree589a579d1c8f378e60d0048bbf4f0d98a63ca170 /japanese/xpdf/pkg-plist
parentFix build on -CURRENT after the introduction of accmode_t and renaming of (diff)
- Install each localized xpdfrc separately and use "include"
instead of directly modifying the original xpdfrc. - Keep consistency of PORTVERSION. - Take maintainership. - Use ipa-ttfonts by default instead of kochi-subst.
Diffstat (limited to 'japanese/xpdf/pkg-plist')
-rw-r--r--japanese/xpdf/pkg-plist22
1 files changed, 11 insertions, 11 deletions
diff --git a/japanese/xpdf/pkg-plist b/japanese/xpdf/pkg-plist
index 25dbf599fbf4..2dfcdeae200c 100644
--- a/japanese/xpdf/pkg-plist
+++ b/japanese/xpdf/pkg-plist
@@ -1,11 +1,11 @@
-share/xpdf/japanese/Adobe-Japan1.cidToUnicode
-share/xpdf/japanese/EUC-JP.unicodeMap
-share/xpdf/japanese/ISO-2022-JP.unicodeMap
-share/xpdf/japanese/README
-share/xpdf/japanese/Shift-JIS.unicodeMap
-@unexec mv -f %D/etc/xpdfrc %D/etc/xpdfrc.japan
-@unexec (umask 222; grep -F -v --file=%D/share/xpdf/japanese/dot.xpdfrc %D/etc/xpdfrc.japan > %D/etc/xpdfrc)
-share/xpdf/japanese/dot.xpdfrc
-@unexec rm -f %D/etc/xpdfrc.japan
-@dirrm share/xpdf/japanese
-@dirrm share/xpdf
+@comment $FreeBSD$
+%%DATADIR%%/japanese/Adobe-Japan1.cidToUnicode
+%%DATADIR%%/japanese/EUC-JP.unicodeMap
+%%DATADIR%%/japanese/ISO-2022-JP.unicodeMap
+%%DATADIR%%/japanese/README
+%%DATADIR%%/japanese/Shift-JIS.unicodeMap
+@exec exec < %D/etc/xpdfrc; rm -f %D/etc/xpdfrc; ( grep -v "%%EXTRARC%%"; echo "include %%EXTRARC%%" ) > %D/etc/xpdfrc; chmod 0444 %D/etc/xpdfrc
+@unexec exec < %D/etc/xpdfrc; rm -f %D/etc/xpdfrc; grep -v "%%EXTRARC%%" > %D/etc/xpdfrc
+%%DATADIR%%/japanese/dot.xpdfrc
+@dirrm %%DATADIR%%/japanese
+@dirrmtry %%DATADIR%%