diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-01-31 20:50:07 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-01-31 20:50:07 +0800 |
commit | 0192ba6fbe8a2d1afe33cf69adc13df244b0d8f6 (patch) | |
tree | 5d675ad001aa386433e4501a0ef8784c97b22177 /japanese/font-mona-ipa | |
parent | d62d8452cd08201bffa435ecb9043943ceff8540 (diff) | |
download | freebsd-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-mona-ipa')
-rw-r--r-- | japanese/font-mona-ipa/Makefile | 2 | ||||
-rw-r--r-- | japanese/font-mona-ipa/pkg-plist | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/japanese/font-mona-ipa/Makefile b/japanese/font-mona-ipa/Makefile index c43cdec2242f..06c53237919f 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 f80d333fb58e..00284b2cfedf 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 |