1#	$NetBSD: Makefile.fccache,v 1.3 2011/09/12 13:38:43 apb Exp $
2
3.ifndef _MAKEFILE_FCCACHE_
4_MAKEFILE_FCCACHE_=1
5
6.include <bsd.own.mk>
7
8.include "${NETBSDSRCDIR}/external/mit/xorg/tools/fc-cache/Makefile.fc-cache"
9
10afterinstall:
11	${_MKMSG_CREATE} ${DESTDIR}${X11FONTDIR}/fonts.cache-1
12	${FCCACHE} -fv ${DESTDIR}${X11FONTDIR}
13.if ${MKUNPRIVED} != "no"
14	cd ${DESTDIR} \
15	&& find .${X11FONTDIR} -name fonts.cache-1 \
16	    | ${TOOL_SED} -e \
17		's/$$/ type=file mode=0444 uname=${BINOWN} gname=${BINGRP}/' \
18	    | ${METALOG.add}
19.endif
20
21.endif # _MAKEFILE_FCCACHE_
22