aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-kochi/pkg-plist
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-05-12 17:18:47 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-05-12 17:18:47 +0000
commitfb4d1f6af48b08937045f214e6c8998416f0e3f5 (patch)
tree01e1f656429334cb02d50f96dc5757b140c20fbf /japanese/font-kochi/pkg-plist
parent48e36c30ec96b94247bbcfa44338bda6cd8a0168 (diff)
downloadports-fb4d1f6af48b08937045f214e6c8998416f0e3f5.tar.gz
ports-fb4d1f6af48b08937045f214e6c8998416f0e3f5.zip
Notes
Diffstat (limited to 'japanese/font-kochi/pkg-plist')
-rw-r--r--japanese/font-kochi/pkg-plist58
1 files changed, 20 insertions, 38 deletions
diff --git a/japanese/font-kochi/pkg-plist b/japanese/font-kochi/pkg-plist
index 4aea6e636dc1..ec6904176ab6 100644
--- a/japanese/font-kochi/pkg-plist
+++ b/japanese/font-kochi/pkg-plist
@@ -1,38 +1,20 @@
-%%FONTSDIR%%/fonts.alias.kochi
-%%FONTSDIR%%/fonts.dir.kochi
-%%FONTSDIR%%/kochi-mincho-subst.ttf
-%%FONTSDIR%%/kochi-gothic-subst.ttf
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/README.ja
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/COPYING
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/ayu20gothic/README.txt
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/README
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/k14goth/BUGS
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/k14goth/Changelog
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/k14goth/INSTALL
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/k14goth/README
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/k14goth/THANKS
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/kappa20/README
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/naga10/README
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome12/AUTHORS
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome12/BUGS
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome12/Changelog
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome12/README
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome12/THANKS
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome12/TODO
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome16/AUTHORS
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome16/BUGS
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome16/Changelog
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome16/README
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome16/THANKS
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/shinonome16/TODO
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/wadalab/README
-%%PORTDOCS%%share/doc/ja/kochi-ttfonts/docs/wadalab/README.ja
-@dirrm share/doc/ja/kochi-ttfonts/docs/ayu20gothic
-@dirrm share/doc/ja/kochi-ttfonts/docs/k14goth
-@dirrm share/doc/ja/kochi-ttfonts/docs/kappa20
-@dirrm share/doc/ja/kochi-ttfonts/docs/naga10
-@dirrm share/doc/ja/kochi-ttfonts/docs/shinonome12
-@dirrm share/doc/ja/kochi-ttfonts/docs/shinonome16
-@dirrm share/doc/ja/kochi-ttfonts/docs/wadalab
-@dirrm share/doc/ja/kochi-ttfonts/docs
-@dirrm share/doc/ja/kochi-ttfonts
+@comment $FreeBSD$
+%%DATADIR%%/kochi-mincho-subst.ttf
+%%DATADIR%%/kochi-gothic-subst.ttf
+%%LOCAL_FONTSDIR%%/TrueType/kochi-mincho-subst.ttf
+%%LOCAL_FONTSDIR%%/TrueType/kochi-gothic-subst.ttf
+@dirrmtry %%LOCAL_FONTSDIR%%/TrueType
+@dirrmtry %%LOCAL_FONTSDIR%%
+etc/fonts/conf.avail/20-unhint-kochittfonts.conf
+etc/fonts/conf.avail/62-fonts-kochittfonts.conf
+@exec ln -s -f ../conf.avail/20-unhint-kochittfonts.conf %D/etc/fonts/conf.d/20-unhint-kochittfonts.conf
+@exec ln -s -f ../conf.avail/62-fonts-kochittfonts.conf %D/etc/fonts/conf.d/62-fonts-kochittfonts.conf
+@unexec rm -f %D/etc/fonts/conf.d/20-unhint-kochittfonts.conf
+@unexec rm -f %D/etc/fonts/conf.d/62-fonts-kochittfonts.conf
+%%X_FONTSDIR%%/TrueType/kochi-mincho-subst.ttf
+%%X_FONTSDIR%%/TrueType/kochi-gothic-subst.ttf
+@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true
+@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true
+@unexec rm -f %D/%%X_FONTSDIR%%/TrueType/fonts.cache-1
+@dirrmtry %%X_FONTSDIR%%/TrueType
+@unexec if [ -d %D/%%X_FONTSDIR%%/TrueType ]; then %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true; fi