diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-01-16 08:58:55 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-01-16 08:58:55 +0000 |
commit | 6f4f5c0fba7dbb8357d9e9ac0c4f2f1be2e50a76 (patch) | |
tree | c9da5e515f573f0735a7bd9ce9ce8b287aa15683 /font/dejavu-ttf | |
parent | cbb77bbd0c67f5d73c0c346b966f132d02a7bc51 (diff) |
Build and install DejaVu fonts. ok naddy@.
Diffstat (limited to 'font/dejavu-ttf')
-rw-r--r-- | font/dejavu-ttf/Makefile | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/font/dejavu-ttf/Makefile b/font/dejavu-ttf/Makefile new file mode 100644 index 000000000..c3ad3847e --- /dev/null +++ b/font/dejavu-ttf/Makefile @@ -0,0 +1,64 @@ +# $OpenBSD: Makefile,v 1.1 2010/01/16 08:58:54 matthieu Exp $ + +FONT_FILES= \ + 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 ) ; \ + done + @rm -f ${DESTDIR}${fontdir}/fonts.scale + mkfontscale ${DESTDIR}${fontdir} + @rm -f ${DESTDIR}${fontdir}/fonts.dir + mkfontdir ${DESTDIR}${fontdir} + +.include <bsd.xorg.mk> + |