blob: 2619862ac95235d92b6e894c6b0f3189d7ce05ab (
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
|
# $FreeBSD$
GZIP_CMD?= gzip
MKBOLD_CMD?= mkbold
MKITALIC_CMD?= mkitalic
DIST_ALL= 5x10B.bdf 5x10a.bdf 5x10rk.bdf knj10.bdf knj10B.bdf \
maru10.bdf min10.bdf
DIST_NOBOLD= 5x10rk.bdf
MADE_BOLD= ${DIST_NOBOLD:S/.bdf/b.bdf/g}
DIST_NOITALIC= ${DIST_ALL} ${MADE_BOLD}
MADE_ITALIC= ${DIST_NOITALIC:S/.bdf/i.bdf/g}
BDF_ALL= ${DIST_ALL} ${MADE_BOLD} ${MADE_ITALIC}
PCF_ALL= ${BDF_ALL:S/.bdf/.pcf.gz/g}
all: ${PCF_ALL}
maru10.bdf: knj10.bdf maru10.bdf.diff
patch -o $@ < $@.diff
min10.bdf: knj10.bdf min10.bdf.diff
patch -o $@ < $@.diff
${MADE_BOLD}: ${.TARGET:S/b.bdf/.bdf/}
${MKBOLD_CMD} $> > $@
${MADE_ITALIC}: ${.TARGET:S/i.bdf/.bdf/}
${MKITALIC_CMD} $> > $@
${PCF_ALL}: ${.TARGET:S/.pcf.gz/.bdf/}
bdftopcf $> | ${GZIP_CMD} -c > $@
install:
mkdir -p ${DESTDIR}%%FONTSDIR%%
${BSD_INSTALL_DATA} ${PCF_ALL} ${DESTDIR}%%FONTSDIR%%
clean::
rm ${MADE_BOLD} ${MADE_ITALIC} ${PCF_ALL}
|