From 0192ba6fbe8a2d1afe33cf69adc13df244b0d8f6 Mon Sep 17 00:00:00 2001
From: jbeich <jbeich@FreeBSD.org>
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-uigothic/Makefile  | 1 +
 japanese/font-ipa-uigothic/pkg-plist | 5 +----
 japanese/font-ipa/Makefile           | 2 +-
 japanese/font-ipa/pkg-plist          | 5 +----
 japanese/font-ipaex/Makefile         | 2 +-
 japanese/font-ipaex/pkg-plist        | 5 +----
 japanese/font-kochi/Makefile         | 2 +-
 japanese/font-kochi/pkg-plist        | 5 +----
 japanese/font-koruri/Makefile        | 1 +
 japanese/font-koruri/pkg-plist       | 5 +----
 japanese/font-migmix/Makefile        | 1 +
 japanese/font-migmix/pkg-plist       | 5 +----
 japanese/font-migu/Makefile          | 1 +
 japanese/font-migu/pkg-plist         | 5 +----
 japanese/font-mona-ipa/Makefile      | 2 +-
 japanese/font-mona-ipa/pkg-plist     | 5 +----
 japanese/font-motoya-al/Makefile     | 2 +-
 japanese/font-motoya-al/pkg-plist    | 4 +---
 japanese/font-mplus-ipa/Makefile     | 2 +-
 japanese/font-mplus-ipa/pkg-plist    | 5 +----
 japanese/font-ricty/Makefile         | 1 +
 japanese/font-ricty/pkg-plist        | 5 +----
 japanese/font-sazanami/Makefile      | 2 +-
 japanese/font-sazanami/pkg-plist     | 5 +----
 japanese/font-takao/Makefile         | 2 +-
 japanese/font-takao/pkg-plist        | 5 +----
 japanese/font-ume/Makefile           | 1 +
 japanese/font-ume/pkg-plist          | 5 +----
 japanese/font-vlgothic/Makefile      | 1 +
 japanese/font-vlgothic/pkg-plist     | 5 +----
 30 files changed, 30 insertions(+), 67 deletions(-)

(limited to 'japanese')

diff --git a/japanese/font-ipa-uigothic/Makefile b/japanese/font-ipa-uigothic/Makefile
index b9e0b0566aa..920848a24f3 100644
--- a/japanese/font-ipa-uigothic/Makefile
+++ b/japanese/font-ipa-uigothic/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	ipa-uigothic
 PORTVERSION=	00203
+PORTREVISION=	1
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	http://info.openlab.ipa.go.jp/ipafont/fontdata/old/
 PKGNAMEPREFIX=	ja-font-
diff --git a/japanese/font-ipa-uigothic/pkg-plist b/japanese/font-ipa-uigothic/pkg-plist
index d5d574ceb10..ca01e72741d 100644
--- a/japanese/font-ipa-uigothic/pkg-plist
+++ b/japanese/font-ipa-uigothic/pkg-plist
@@ -5,7 +5,4 @@ etc/fonts/conf.avail/62-fonts-ipa-uigothic.conf
 etc/fonts/conf.d/20-unhint-ipa-uigothic.conf
 etc/fonts/conf.d/62-fonts-ipa-uigothic.conf
 %%X_FONTSDIR%%/TTF/ipagui.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 -f -v %D/%%X_FONTSDIR%%/TTF || true; fi
+@fc %%X_FONTSDIR%%/TTF
diff --git a/japanese/font-ipa/Makefile b/japanese/font-ipa/Makefile
index 413de47db45..198538c9c54 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 909a37bbaef..7592bfe1a89 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
diff --git a/japanese/font-ipaex/Makefile b/japanese/font-ipaex/Makefile
index 66428486e5e..df7a1433999 100644
--- a/japanese/font-ipaex/Makefile
+++ b/japanese/font-ipaex/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	ipaex
 PORTVERSION=	00201
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	http://info.openlab.ipa.go.jp/ipafont/fontdata/7bf84182a04a9632268dbcb03f100d05/
 PKGNAMEPREFIX=	ja-font-
diff --git a/japanese/font-ipaex/pkg-plist b/japanese/font-ipaex/pkg-plist
index 7daad259d61..0bb77dadac1 100644
--- a/japanese/font-ipaex/pkg-plist
+++ b/japanese/font-ipaex/pkg-plist
@@ -8,7 +8,4 @@ etc/fonts/conf.d/20-unhint-ipaex.conf
 etc/fonts/conf.d/62-fonts-ipaex.conf
 %%X_FONTSDIR%%/OTF/ipaexg.otf
 %%X_FONTSDIR%%/OTF/ipaexm.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
diff --git a/japanese/font-kochi/Makefile b/japanese/font-kochi/Makefile
index 2a24e1a0f87..6111a293255 100644
--- a/japanese/font-kochi/Makefile
+++ b/japanese/font-kochi/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	kochi
 PORTVERSION=	20030809
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	SFJP/efont/5411/
 PKGNAMEPREFIX=	ja-font-
diff --git a/japanese/font-kochi/pkg-plist b/japanese/font-kochi/pkg-plist
index bb080a17f3e..116644c1fbb 100644
--- a/japanese/font-kochi/pkg-plist
+++ b/japanese/font-kochi/pkg-plist
@@ -8,7 +8,4 @@ etc/fonts/conf.d/20-unhint-kochi.conf
 etc/fonts/conf.d/62-fonts-kochi.conf
 %%X_FONTSDIR%%/TTF/kochi-mincho-subst.ttf
 %%X_FONTSDIR%%/TTF/kochi-gothic-subst.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
diff --git a/japanese/font-koruri/Makefile b/japanese/font-koruri/Makefile
index 703b3f5d1bc..058ca33e7c5 100644
--- a/japanese/font-koruri/Makefile
+++ b/japanese/font-koruri/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	koruri
 PORTVERSION=	20141224
+PORTREVISION=	1
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	SFJP/koruri/62469
 PKGNAMEPREFIX=	ja-font-
diff --git a/japanese/font-koruri/pkg-plist b/japanese/font-koruri/pkg-plist
index 859edf82114..65fc06ba5ec 100644
--- a/japanese/font-koruri/pkg-plist
+++ b/japanese/font-koruri/pkg-plist
@@ -17,7 +17,4 @@ etc/fonts/conf.d/62-fonts-koruri.conf
 %%X_FONTSDIR%%/TTF/Koruri-Light.ttf
 %%X_FONTSDIR%%/TTF/Koruri-Semibold.ttf
 %%X_FONTSDIR%%/TTF/Koruri-Regular.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
diff --git a/japanese/font-migmix/Makefile b/japanese/font-migmix/Makefile
index e2385335b51..0d28bf37711 100644
--- a/japanese/font-migmix/Makefile
+++ b/japanese/font-migmix/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	migmix
 PORTVERSION=	1.0.20130617
+PORTREVISION=	1
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	SFJP/mix-mplus-ipa/59021
 PKGNAMEPREFIX=	ja-font-
diff --git a/japanese/font-migmix/pkg-plist b/japanese/font-migmix/pkg-plist
index da4a2ac468e..eb5ccd6874c 100644
--- a/japanese/font-migmix/pkg-plist
+++ b/japanese/font-migmix/pkg-plist
@@ -26,7 +26,4 @@ etc/fonts/conf.d/62-fonts-migmix.conf
 %%X_FONTSDIR%%/TTF/migmix-2m-regular.ttf
 %%X_FONTSDIR%%/TTF/migmix-2p-bold.ttf
 %%X_FONTSDIR%%/TTF/migmix-2p-regular.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
diff --git a/japanese/font-migu/Makefile b/japanese/font-migu/Makefile
index f0015126a84..6baac0add24 100644
--- a/japanese/font-migu/Makefile
+++ b/japanese/font-migu/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	migu
 PORTVERSION=	1.0.20130617
+PORTREVISION=	1
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
 MASTER_SITE_SUBDIR=	mix-mplus-ipa/59022
diff --git a/japanese/font-migu/pkg-plist b/japanese/font-migu/pkg-plist
index 10a5574a33f..748413ae2f5 100644
--- a/japanese/font-migu/pkg-plist
+++ b/japanese/font-migu/pkg-plist
@@ -26,7 +26,4 @@ etc/fonts/conf.d/62-fonts-migu.conf
 %%X_FONTSDIR%%/TTF/migu-1m-regular.ttf
 %%X_FONTSDIR%%/TTF/migu-2m-bold.ttf
 %%X_FONTSDIR%%/TTF/migu-2m-regular.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
diff --git a/japanese/font-mona-ipa/Makefile b/japanese/font-mona-ipa/Makefile
index c43cdec2242..06c53237919 100644
--- a/japanese/font-mona-ipa/Makefile
+++ b/japanese/font-mona-ipa/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	mona-ipa
 PORTVERSION=	1.0.8
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	http://www.geocities.jp/ipa_mona/
 PKGNAMEPREFIX=	ja-font-
diff --git a/japanese/font-mona-ipa/pkg-plist b/japanese/font-mona-ipa/pkg-plist
index f80d333fb58..00284b2cfed 100644
--- a/japanese/font-mona-ipa/pkg-plist
+++ b/japanese/font-mona-ipa/pkg-plist
@@ -81,7 +81,4 @@ etc/fonts/conf.d/62-fonts-mona-ipa.conf
 %%X_FONTSDIR%%/TTF/ipagui-mona.ttf
 %%X_FONTSDIR%%/TTF/ipam-mona.ttf
 %%X_FONTSDIR%%/TTF/ipamp-mona.ttf
-@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TTF || true
-@unexec %%LOCALBASE%%/bin/fc-cache -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 -f -v %D/%%X_FONTSDIR%%/TTF || true; fi
+@fc %%X_FONTSDIR%%/TTF
diff --git a/japanese/font-motoya-al/Makefile b/japanese/font-motoya-al/Makefile
index 49087935449..15872467b97 100644
--- a/japanese/font-motoya-al/Makefile
+++ b/japanese/font-motoya-al/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	font-motoya-al
 PORTVERSION=	0.0.20100921
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	LOCAL
 MASTER_SITE_SUBDIR=	hrs
diff --git a/japanese/font-motoya-al/pkg-plist b/japanese/font-motoya-al/pkg-plist
index 42a1c7cd924..b8c4bc4098d 100644
--- a/japanese/font-motoya-al/pkg-plist
+++ b/japanese/font-motoya-al/pkg-plist
@@ -8,6 +8,4 @@ etc/fonts/conf.d/20-unhint-motoya-al.conf
 etc/fonts/conf.d/62-fonts-motoya-al.conf
 %%X_FONTSDIR%%/TTF/MTLc3m.ttf
 %%X_FONTSDIR%%/TTF/MTLmr3m.ttf
-@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 -f -v %D/%%X_FONTSDIR%%/TTF || true; fi
+@fc %%X_FONTSDIR%%/TTF
diff --git a/japanese/font-mplus-ipa/Makefile b/japanese/font-mplus-ipa/Makefile
index df343596753..6ece9c1dce2 100644
--- a/japanese/font-mplus-ipa/Makefile
+++ b/japanese/font-mplus-ipa/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	mplus-ipa
 PORTVERSION=	1.0.20060520.p1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	hrs
diff --git a/japanese/font-mplus-ipa/pkg-plist b/japanese/font-mplus-ipa/pkg-plist
index b6c3c9dcbaa..b5ab1f635aa 100644
--- a/japanese/font-mplus-ipa/pkg-plist
+++ b/japanese/font-mplus-ipa/pkg-plist
@@ -76,7 +76,4 @@ etc/fonts/conf.d/62-fonts-mplus-ipa.conf
 %%X_FONTSDIR%%/TTF/M+1VM+IPAG-circle.ttf
 %%X_FONTSDIR%%/TTF/M+1P+IPAG.ttf
 %%X_FONTSDIR%%/TTF/M+1P+IPAG-circle.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
diff --git a/japanese/font-ricty/Makefile b/japanese/font-ricty/Makefile
index b740b81d964..545bfd63d36 100644
--- a/japanese/font-ricty/Makefile
+++ b/japanese/font-ricty/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	ricty
 PORTVERSION=	3.2.3
+PORTREVISION=	1
 CATEGORIES=	japanese x11-fonts
 PKGNAMEPREFIX=	ja-font-
 
diff --git a/japanese/font-ricty/pkg-plist b/japanese/font-ricty/pkg-plist
index 4dd56a29905..ba1e335a0e1 100644
--- a/japanese/font-ricty/pkg-plist
+++ b/japanese/font-ricty/pkg-plist
@@ -21,8 +21,5 @@
 %%RICTY%%%%X_FONTSDIR%%/TTF/Ricty-Regular.ttf
 %%DISCORD%%%%X_FONTSDIR%%/TTF/RictyDiscord-Bold.ttf
 %%DISCORD%%%%X_FONTSDIR%%/TTF/RictyDiscord-Regular.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%%/OTF/fonts.cache-1
+@fc %%X_FONTSDIR%%/TTF
 @dirrmtry %%X_FONTSDIR%%/TTF
-@unexec if [ -d %D/%%X_FONTSDIR%%/TTF ]; then %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TTF || true; fi
diff --git a/japanese/font-sazanami/Makefile b/japanese/font-sazanami/Makefile
index 0c238d705dd..c441f195886 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 5d9da724fe1..773c43f672b 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
diff --git a/japanese/font-takao/Makefile b/japanese/font-takao/Makefile
index ff3ac6cb38f..dd46e2ab728 100644
--- a/japanese/font-takao/Makefile
+++ b/japanese/font-takao/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	takao
 PORTVERSION=	003.02.01
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	http://launchpadlibrarian.net/40218948/
 PKGNAMEPREFIX=	ja-font-
diff --git a/japanese/font-takao/pkg-plist b/japanese/font-takao/pkg-plist
index 3be24cf661b..28f9df253b2 100644
--- a/japanese/font-takao/pkg-plist
+++ b/japanese/font-takao/pkg-plist
@@ -20,7 +20,4 @@ etc/fonts/conf.d/62-fonts-takao.conf
 %%X_FONTSDIR%%/OTF/TakaoMincho.otf
 %%X_FONTSDIR%%/OTF/TakaoPMincho.otf
 %%X_FONTSDIR%%/OTF/TakaoExMincho.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
diff --git a/japanese/font-ume/Makefile b/japanese/font-ume/Makefile
index b626383f490..019a9bbf1f8 100644
--- a/japanese/font-ume/Makefile
+++ b/japanese/font-ume/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	ume
 PORTVERSION=	0.0.464
+PORTREVISION=	1
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
 MASTER_SITE_SUBDIR=	${PORTNAME}-font/22212
diff --git a/japanese/font-ume/pkg-plist b/japanese/font-ume/pkg-plist
index 987e304b411..49402940a56 100644
--- a/japanese/font-ume/pkg-plist
+++ b/japanese/font-ume/pkg-plist
@@ -56,7 +56,4 @@ etc/fonts/conf.d/62-fonts-ume.conf
 %%X_FONTSDIR%%/TTF/ume-tms3.ttf
 %%X_FONTSDIR%%/TTF/ume-ugo4.ttf
 %%X_FONTSDIR%%/TTF/ume-ugo5.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
diff --git a/japanese/font-vlgothic/Makefile b/japanese/font-vlgothic/Makefile
index ab4f0a9aed2..f4e29583ed7 100644
--- a/japanese/font-vlgothic/Makefile
+++ b/japanese/font-vlgothic/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	vlgothic
 PORTVERSION=	20130607
+PORTREVISION=	1
 CATEGORIES=	japanese x11-fonts
 MASTER_SITES=	SFJP/vlgothic/58961
 PKGNAMEPREFIX=	ja-font-
diff --git a/japanese/font-vlgothic/pkg-plist b/japanese/font-vlgothic/pkg-plist
index 6f8472b0378..a8d80d00ae2 100644
--- a/japanese/font-vlgothic/pkg-plist
+++ b/japanese/font-vlgothic/pkg-plist
@@ -8,7 +8,4 @@ etc/fonts/conf.d/20-unhint-vlgothic.conf
 etc/fonts/conf.d/62-fonts-vlgothic.conf
 %%X_FONTSDIR%%/TTF/VL-PGothic-Regular.ttf
 %%X_FONTSDIR%%/TTF/VL-Gothic-Regular.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
-- 
cgit