1 # $NetBSD: Makefile,v 1.5 2023/01/21 04:04:30 mrg Exp $ 2 3 # When updating fontconfig, be sure to update the fonts.conf. This 4 # requires running ./configure like this: 5 # 6 # env PKG_CONFIG_PATH=/usr/X11R7/share/pkgconfig \ 7 # ./configure \ 8 # --prefix=/usr/X11R7 --localstatedir=/var \ 9 # --with-default-fonts=/usr/X11R7/lib/X11/fonts \ 10 # --with-add-fonts=/usr/pkg/lib/X11/fonts,/usr/pkg/share/fonts \ 11 # --with-configdir=conf.d 12 # cd src && gmake fcalias.h fcaliastail.h fcftalias.h fcftaliastail.h fcobjshash.h 13 # 14 # and then running gmake fonts.conf and copying the new file here. 15 # (gmake is required here as the FC_CONFIGDIR pattern uses $(subst).) 16 # 17 18 SUBDIR= conf.d conf.avail 19 20 .include <bsd.own.mk> 21 22 .PATH: ${X11SRCDIR.fontconfig} 23 CONFIGFILES= \ 24 fonts.conf \ 25 fonts.dtd 26 27 FILESDIR= \ 28 /etc/fonts 29 30 .include <bsd.x11.mk> 31 .include <bsd.prog.mk> 32 .include <bsd.subdir.mk> 33