blob: 6797e41d5e2a595033e9c8d4dca5bce359f1d04d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# $OpenBSD: Makefile,v 1.3 2016/10/02 09:23:26 tb Exp $
FONT_FILES= \
DejaVuMathTeXGyre.ttf \
DejaVuSans-Bold.ttf \
DejaVuSans-BoldOblique.ttf \
DejaVuSans-ExtraLight.ttf \
DejaVuSans-Oblique.ttf \
DejaVuSans.ttf \
DejaVuSansCondensed-Bold.ttf \
DejaVuSansCondensed-BoldOblique.ttf \
DejaVuSansCondensed-Oblique.ttf \
DejaVuSansCondensed.ttf \
DejaVuSansMono-Bold.ttf \
DejaVuSansMono-BoldOblique.ttf \
DejaVuSansMono-Oblique.ttf \
DejaVuSansMono.ttf \
DejaVuSerif-Bold.ttf \
DejaVuSerif-BoldItalic.ttf \
DejaVuSerif-Italic.ttf \
DejaVuSerif.ttf \
DejaVuSerifCondensed-Bold.ttf \
DejaVuSerifCondensed-BoldItalic.ttf \
DejaVuSerifCondensed-Italic.ttf \
DejaVuSerifCondensed.ttf
CONFIG_FILES= \
20-unhint-small-dejavu-sans-mono.conf \
20-unhint-small-dejavu-sans.conf \
20-unhint-small-dejavu-serif.conf
BINGRP= wheel
fontdir= ${X11BASE}/lib/X11/fonts/TTF
fontconfigdir= /etc/fonts
depend:
all:
clean:
cleandir:
install:
@for f in ${FONT_FILES}; do \
echo "${INSTALL_DATA} -c ${.CURDIR}/ttf/$$f ${DESTDIR}${fontdir}" ; \
${INSTALL_DATA} -c ${.CURDIR}/ttf/$$f ${DESTDIR}${fontdir} ; \
done
@for f in ${CONFIG_FILES}; do \
echo ${INSTALL_DATA} -c ${.CURDIR}/fontconfig/$$f \
${DESTDIR}${fontconfigdir}/conf.avail ; \
${INSTALL_DATA} -c ${.CURDIR}/fontconfig/$$f \
${DESTDIR}${fontconfigdir}/conf.avail ; \
( cd ${DESTDIR}${fontconfigdir}/conf.d ; \
rm -f $$f ; \
ln -s ../conf.avail/$$f ; \
chown -h ${BINOWN}:${BINGRP} $$f ) ; \
done
@rm -f ${DESTDIR}${fontdir}/fonts.scale
mkfontscale ${DESTDIR}${fontdir}
chown root:wheel ${DESTDIR}${fontdir}/fonts.scale
@rm -f ${DESTDIR}${fontdir}/fonts.dir
mkfontdir ${DESTDIR}${fontdir}
chown root:wheel ${DESTDIR}${fontdir}/fonts.dir
.include <bsd.xorg.mk>
|