aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-motoya-al
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-01-31 12:50:07 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-01-31 12:50:07 +0000
commit4a9828c21dc282135e322df1a89c96eb02381c36 (patch)
tree5d675ad001aa386433e4501a0ef8784c97b22177 /japanese/font-motoya-al
parent06be6f2de88d7c64bd5371c5c01cd27d9dbfb986 (diff)
downloadports-4a9828c21dc282135e322df1a89c96eb02381c36.tar.gz
ports-4a9828c21dc282135e322df1a89c96eb02381c36.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)
Notes
Notes: svn path=/head/; revision=378204
Diffstat (limited to 'japanese/font-motoya-al')
-rw-r--r--japanese/font-motoya-al/Makefile2
-rw-r--r--japanese/font-motoya-al/pkg-plist4
2 files changed, 2 insertions, 4 deletions
diff --git a/japanese/font-motoya-al/Makefile b/japanese/font-motoya-al/Makefile
index 49087935449e..15872467b975 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 42a1c7cd9241..b8c4bc4098d2 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