aboutsummaryrefslogtreecommitdiff
path: root/chinese/ttfm
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-07-25 21:10:25 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-07-25 21:10:25 +0000
commit501c27bf0bef9614cf5934f67ad7adf07d4cab07 (patch)
treea5856e53f00b72f45906fd783bf992c11c59d1d9 /chinese/ttfm
parent3a9a708a9ff4e682096831eb54af158301091567 (diff)
downloadports-501c27bf0bef9614cf5934f67ad7adf07d4cab07.tar.gz
ports-501c27bf0bef9614cf5934f67ad7adf07d4cab07.zip
chinese/ttfm: don't touch user font cache on install
This matches USES=fonts (@fc, @fcfontsdir) behavior. PR: 207263 MFH: 2016Q3
Notes
Notes: svn path=/head/; revision=419066
Diffstat (limited to 'chinese/ttfm')
-rw-r--r--chinese/ttfm/Makefile.ttf6
1 files changed, 3 insertions, 3 deletions
diff --git a/chinese/ttfm/Makefile.ttf b/chinese/ttfm/Makefile.ttf
index e4e21bff54cf..2825922a8348 100644
--- a/chinese/ttfm/Makefile.ttf
+++ b/chinese/ttfm/Makefile.ttf
@@ -63,7 +63,7 @@ do-install-ttf:
.endfor
.if ${PORT_OPTIONS:MX11}
@${ECHO_MSG} "===> Running fc-cache"
- -@${LOCALBASE}/bin/fc-cache -f -v ${STAGEDIR}${XFONTSDIR}
+ -@${LOCALBASE}/bin/fc-cache -f -s -v ${STAGEDIR}${XFONTSDIR}
.endif
add-plist-post: add-plist-ttf
@@ -82,8 +82,8 @@ add-plist-ttf:
. endfor
.endfor
.if ${PORT_OPTIONS:MX11}
- @${ECHO_CMD} "@unexec ${LOCALBASE}/bin/fc-cache -f -v ${XFONTSDIR} || true" >> ${TMPPLIST}
- @${ECHO_CMD} "@exec ${LOCALBASE}/bin/fc-cache -f -v ${XFONTSDIR} || true" >> ${TMPPLIST}
+ @${ECHO_CMD} "@unexec ${LOCALBASE}/bin/fc-cache -f -s -v ${XFONTSDIR} || true" >> ${TMPPLIST}
+ @${ECHO_CMD} "@exec ${LOCALBASE}/bin/fc-cache -f -s -v ${XFONTSDIR} || true" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec find ${XFONTSDIR} -size -3c -delete || true" >> ${TMPPLIST}
.endif