From 4a9828c21dc282135e322df1a89c96eb02381c36 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 31 Jan 2015 12:50:07 +0000 Subject: 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) --- japanese/font-ipa/Makefile | 2 +- japanese/font-ipa/pkg-plist | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'japanese/font-ipa') diff --git a/japanese/font-ipa/Makefile b/japanese/font-ipa/Makefile index 413de47db452..198538c9c54d 100644 --- a/japanese/font-ipa/Makefile +++ b/japanese/font-ipa/Makefile @@ -2,7 +2,7 @@ PORTNAME= ipa PORTVERSION= 00303 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= japanese x11-fonts MASTER_SITES= http://info.openlab.ipa.go.jp/ipafont/fontdata/ PKGNAMEPREFIX= ja-font- diff --git a/japanese/font-ipa/pkg-plist b/japanese/font-ipa/pkg-plist index 909a37bbaefc..7592bfe1a89f 100644 --- a/japanese/font-ipa/pkg-plist +++ b/japanese/font-ipa/pkg-plist @@ -14,7 +14,4 @@ etc/fonts/conf.d/62-fonts-ipa.conf %%X_FONTSDIR%%/OTF/ipagp.otf %%X_FONTSDIR%%/OTF/ipam.otf %%X_FONTSDIR%%/OTF/ipamp.otf -@exec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/OTF || true -@unexec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/OTF || true -@unexec rm -f %D/%%X_FONTSDIR%%/OTF/fonts.cache-1 -@unexec if [ -d %D/%%X_FONTSDIR%%/OTF ]; then %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/OTF || true; fi +@fc %%X_FONTSDIR%%/OTF -- cgit v1.2.3