1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

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)
This commit is contained in:
Jan Beich 2015-01-31 12:50:07 +00:00
parent 06be6f2de8
commit 4a9828c21d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378204
30 changed files with 30 additions and 67 deletions

View File

@ -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-

View File

@ -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

View File

@ -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-

View File

@ -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

View File

@ -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-

View File

@ -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

View File

@ -3,7 +3,7 @@
PORTNAME= kochi
PORTVERSION= 20030809
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= japanese x11-fonts
MASTER_SITES= SFJP/efont/5411/
PKGNAMEPREFIX= ja-font-

View File

@ -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

View File

@ -3,6 +3,7 @@
PORTNAME= koruri
PORTVERSION= 20141224
PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= SFJP/koruri/62469
PKGNAMEPREFIX= ja-font-

View File

@ -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

View File

@ -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-

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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-

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -3,6 +3,7 @@
PORTNAME= ricty
PORTVERSION= 3.2.3
PORTREVISION= 1
CATEGORIES= japanese x11-fonts
PKGNAMEPREFIX= ja-font-

View File

@ -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

View File

@ -2,7 +2,7 @@
PORTNAME= sazanami
PORTVERSION= 20040629
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= japanese x11-fonts
MASTER_SITES= SFJP/efont/10087
PKGNAMEPREFIX= ja-font-

View File

@ -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

View File

@ -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-

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -3,6 +3,7 @@
PORTNAME= vlgothic
PORTVERSION= 20130607
PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= SFJP/vlgothic/58961
PKGNAMEPREFIX= ja-font-

View File

@ -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