2016-10-02 03:19:28 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2016/10/02 09:19:28 tb Exp $
|
2013-03-09 07:34:40 -07:00
|
|
|
|
|
|
|
FONTCONFIG = ${.CURDIR}/../../../dist/fontconfig
|
|
|
|
CONFIGDIR = /etc/fonts/conf.d
|
|
|
|
CONFAVAILDIR= /etc/fonts/conf.avail
|
2014-08-31 07:50:27 -06:00
|
|
|
CONFAVAILREL= ../conf.avail
|
2013-03-09 07:34:40 -07:00
|
|
|
|
|
|
|
DOC_FILES= \
|
|
|
|
README
|
|
|
|
|
|
|
|
CONF_LINKS = \
|
|
|
|
10-scale-bitmap-fonts.conf \
|
|
|
|
20-unhint-small-vera.conf \
|
|
|
|
30-lucida-aliases.conf \
|
|
|
|
30-urw-aliases.conf \
|
|
|
|
30-metric-aliases.conf \
|
|
|
|
31-nonmst.conf \
|
|
|
|
40-nonlatin.conf \
|
|
|
|
45-latin.conf \
|
|
|
|
49-sansserif.conf \
|
|
|
|
50-user.conf \
|
|
|
|
51-local.conf \
|
|
|
|
60-latin.conf \
|
|
|
|
65-fonts-persian.conf \
|
|
|
|
65-nonlatin.conf \
|
|
|
|
69-unifont.conf \
|
|
|
|
80-delicious.conf \
|
|
|
|
90-synthetic.conf
|
|
|
|
|
|
|
|
AVAIL_FILES = \
|
|
|
|
10-autohint.conf \
|
|
|
|
10-no-sub-pixel.conf \
|
|
|
|
10-scale-bitmap-fonts.conf \
|
|
|
|
10-sub-pixel-bgr.conf \
|
|
|
|
10-sub-pixel-rgb.conf \
|
|
|
|
10-sub-pixel-vbgr.conf \
|
|
|
|
10-sub-pixel-vrgb.conf \
|
|
|
|
10-unhinted.conf \
|
|
|
|
11-lcdfilter-default.conf \
|
|
|
|
11-lcdfilter-legacy.conf \
|
|
|
|
11-lcdfilter-light.conf \
|
|
|
|
20-unhint-small-vera.conf \
|
|
|
|
25-unhint-nonlatin.conf \
|
2013-03-16 05:26:42 -06:00
|
|
|
30-lucida-aliases.conf \
|
2013-03-09 07:34:40 -07:00
|
|
|
30-urw-aliases.conf \
|
|
|
|
30-metric-aliases.conf \
|
2013-03-16 05:17:57 -06:00
|
|
|
31-nonmst.conf \
|
2013-03-09 07:34:40 -07:00
|
|
|
40-nonlatin.conf \
|
|
|
|
45-latin.conf \
|
|
|
|
49-sansserif.conf \
|
|
|
|
50-user.conf \
|
|
|
|
51-local.conf \
|
|
|
|
60-latin.conf \
|
|
|
|
65-fonts-persian.conf \
|
|
|
|
65-khmer.conf \
|
|
|
|
65-nonlatin.conf \
|
|
|
|
69-unifont.conf \
|
|
|
|
70-no-bitmaps.conf \
|
|
|
|
70-yes-bitmaps.conf \
|
|
|
|
80-delicious.conf \
|
|
|
|
90-synthetic.conf
|
|
|
|
|
2013-03-16 08:30:18 -06:00
|
|
|
all cleandir:
|
2013-03-09 07:34:40 -07:00
|
|
|
|
|
|
|
install:
|
2013-03-16 09:09:38 -06:00
|
|
|
@for i in ${AVAIL_FILES}; do \
|
|
|
|
echo ${INSTALL_DATA} $$i ${DESTDIR}${CONFAVAILDIR}; \
|
|
|
|
${INSTALL_DATA} ${FONTCONFIG}/conf.d/$$i ${DESTDIR}${CONFAVAILDIR}; \
|
2013-03-09 07:34:40 -07:00
|
|
|
done
|
2013-03-16 09:09:38 -06:00
|
|
|
${INSTALL_DATA} ${FONTCONFIG}/conf.d/README ${DESTDIR}/${CONFIGDIR}
|
|
|
|
@(echo cd ${DESTDIR}${CONFIGDIR}; \
|
|
|
|
cd ${DESTDIR}${CONFIGDIR}; \
|
|
|
|
for i in ${CONF_LINKS}; do \
|
2016-10-02 03:19:28 -06:00
|
|
|
echo rm $$i";" ln -s ${CONFAVAILREL}/$$i . ";" \
|
|
|
|
chown -h ${BINOWN}:${BINGRP} $$i; \
|
2013-03-09 07:34:40 -07:00
|
|
|
rm -f $$i; \
|
2014-08-31 07:50:27 -06:00
|
|
|
ln -s ${CONFAVAILREL}/$$i .; \
|
2016-10-02 03:19:28 -06:00
|
|
|
chown -h ${BINOWN}:${BINGRP} $$i .; \
|
2013-03-09 07:34:40 -07:00
|
|
|
done)
|
|
|
|
|
|
|
|
NOOBJ=
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include <bsd.xorg.mk>
|