aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/webfonts/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/webfonts/pkg-plist')
-rw-r--r--x11-fonts/webfonts/pkg-plist10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-fonts/webfonts/pkg-plist b/x11-fonts/webfonts/pkg-plist
index 48bf6d2cd591..d4b4fdccdde7 100644
--- a/x11-fonts/webfonts/pkg-plist
+++ b/x11-fonts/webfonts/pkg-plist
@@ -1,5 +1,4 @@
@comment $FreeBSD$
-%%FONTSDIR%%/LICENSE
%%FONTSDIR%%/andalemo.ttf
%%FONTSDIR%%/arial.ttf
%%FONTSDIR%%/arialbd.ttf
@@ -12,7 +11,7 @@
%%FONTSDIR%%/courbd.ttf
%%FONTSDIR%%/courbi.ttf
%%FONTSDIR%%/couri.ttf
-%%PKG_NSALIAS%%%%FONTSDIR%%/fonts.alias
+%%FCACHE%%@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
%%FONTSDIR%%/fonts.dir
%%FONTSDIR%%/fonts.scale
%%FONTSDIR%%/georgia.ttf
@@ -33,6 +32,9 @@
%%FONTSDIR%%/verdanai.ttf
%%FONTSDIR%%/verdanaz.ttf
%%FONTSDIR%%/webdings.ttf
+%%DOCSDIR%%/LICENSE
+@dirrm %%DOCSDIR%%
@dirrm %%FONTSDIR%%
-%%PKG_OLDXF86%%@exec ln -fs %D/%%FONTSDIR%% %D/%%TTFONTSDIR%%/%%FONTNAME%%
-%%PKG_OLDXF86%%@unexec rm -f %D/%%TTFONTSDIR%%/%%FONTNAME%%
+%%OLDXF86%%@exec ln -fs %D/%%FONTSDIR%% %D/%%TTFONTSDIR%%/%%FONTNAME%%
+%%OLDXF86%%@unexec rm -f %D/%%TTFONTSDIR%%/%%FONTNAME%%
+%%FCACHE%%@exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true