aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/font-sazanami
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-01-31 20:50:07 +0800
committerjbeich <jbeich@FreeBSD.org>2015-01-31 20:50:07 +0800
commit0192ba6fbe8a2d1afe33cf69adc13df244b0d8f6 (patch)
tree5d675ad001aa386433e4501a0ef8784c97b22177 /japanese/font-sazanami
parentd62d8452cd08201bffa435ecb9043943ceff8540 (diff)
downloadfreebsd-ports-gnome-0192ba6fbe8a2d1afe33cf69adc13df244b0d8f6.tar.gz
freebsd-ports-gnome-0192ba6fbe8a2d1afe33cf69adc13df244b0d8f6.tar.zst
freebsd-ports-gnome-0192ba6fbe8a2d1afe33cf69adc13df244b0d8f6.zip
Convert fc-cache(1) calls in pkg-plist to use @fc keyword
fonts.cache-1 lines started to appear after r148143 but became obsolete since `fc-cache -s` support (i.e. /var/db/fontconfig) and several FC_CACHE_VERSION bumps. Remove them. Differential Revision: https://reviews.freebsd.org/D1733 Reviewed by: hrs Approved by: portmgr blanket Approved by: bapt (mentor)
Diffstat (limited to 'japanese/font-sazanami')
-rw-r--r--japanese/font-sazanami/Makefile2
-rw-r--r--japanese/font-sazanami/pkg-plist5
2 files changed, 2 insertions, 5 deletions
diff --git a/japanese/font-sazanami/Makefile b/japanese/font-sazanami/Makefile
index 0c238d705dd9..c441f1958865 100644
--- a/japanese/font-sazanami/Makefile
+++ b/japanese/font-sazanami/Makefile
@@ -2,7 +2,7 @@
PORTNAME= sazanami
PORTVERSION= 20040629
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese x11-fonts
MASTER_SITES= SFJP/efont/10087
PKGNAMEPREFIX= ja-font-
diff --git a/japanese/font-sazanami/pkg-plist b/japanese/font-sazanami/pkg-plist
index 5d9da724fe1b..773c43f672b2 100644
--- a/japanese/font-sazanami/pkg-plist
+++ b/japanese/font-sazanami/pkg-plist
@@ -8,7 +8,4 @@ etc/fonts/conf.d/20-unhint-sazanami.conf
etc/fonts/conf.d/62-fonts-sazanami.conf
%%X_FONTSDIR%%/TTF/sazanami-mincho.ttf
%%X_FONTSDIR%%/TTF/sazanami-gothic.ttf
-@exec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true
-@unexec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true
-@unexec rm -f %D/%%X_FONTSDIR%%/TTF/fonts.cache-1
-@unexec if [ -d %D/%%X_FONTSDIR%%/TTF ]; then %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true; fi
+@fc %%X_FONTSDIR%%/TTF