Build and install DejaVu fonts. ok naddy@.
parent
1537180ef0
commit
09c379f6b1
8
3RDPARTY
8
3RDPARTY
|
@ -1,4 +1,4 @@
|
|||
# $OpenBSD: 3RDPARTY,v 1.67 2010/01/03 15:33:02 matthieu Exp $
|
||||
# $OpenBSD: 3RDPARTY,v 1.68 2010/01/16 08:58:54 matthieu Exp $
|
||||
#
|
||||
|
||||
Package: Freetype
|
||||
|
@ -37,6 +37,12 @@ Current Vers: 1.10
|
|||
Maintainer: The Gnome Foundation
|
||||
Archive Site: http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/
|
||||
|
||||
Package: DejaVu Fonts
|
||||
Version: 2.30
|
||||
Current Vers: 2.30
|
||||
Maintainer: Freedesktop.org
|
||||
Archive Site: http://dejavu-fonts.org/
|
||||
|
||||
Package: xlockmore
|
||||
Version: 5.22
|
||||
Current Vers: 5.29.1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $OpenBSD: Makefile,v 1.7 2010/01/11 20:30:50 matthieu Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2010/01/16 08:58:54 matthieu Exp $
|
||||
|
||||
# util is done early, alias must come last
|
||||
SUBDIR= encodings \
|
||||
|
@ -13,7 +13,7 @@ SUBDIR= encodings \
|
|||
xfree86-type1 ${EXTRAS} \
|
||||
alias
|
||||
|
||||
EXTRAS= bitstream-vera-ttf
|
||||
EXTRAS= dejavu-ttf bitstream-vera-ttf
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
Loading…
Reference in New Issue