971bb1a587
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
21 lines
562 B
Text
21 lines
562 B
Text
# $NetBSD: Makefile.fccache,v 1.3 2011/09/12 13:38:43 apb Exp $
|
|
|
|
.ifndef _MAKEFILE_FCCACHE_
|
|
_MAKEFILE_FCCACHE_=1
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${NETBSDSRCDIR}/external/mit/xorg/tools/fc-cache/Makefile.fc-cache"
|
|
|
|
afterinstall:
|
|
${_MKMSG_CREATE} ${DESTDIR}${X11FONTDIR}/fonts.cache-1
|
|
${FCCACHE} -fv ${DESTDIR}${X11FONTDIR}
|
|
.if ${MKUNPRIVED} != "no"
|
|
cd ${DESTDIR} \
|
|
&& find .${X11FONTDIR} -name fonts.cache-1 \
|
|
| ${TOOL_SED} -e \
|
|
's/$$/ type=file mode=0444 uname=${BINOWN} gname=${BINGRP}/' \
|
|
| ${METALOG.add}
|
|
.endif
|
|
|
|
.endif # _MAKEFILE_FCCACHE_
|