summaryrefslogtreecommitdiff
path: root/share/misc/pcvtfonts/Makefile
blob: be19d33fb635222a665e25060ce76201031207c1 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#	$OpenBSD: Makefile,v 1.6 2002/05/13 15:27:58 mickey Exp $

FONTS	= 	vt220l.814 vt220h.814 vt220l.808 vt220h.808 \
		vt220l.816 vt220h.816 vt220l.810 vt220h.810 \
		koi8-r-8x08 koi8-r-8x10 koi8-r-8x14 koi8-r-8x16 \
		koi8-u-8x08 koi8-u-8x10 koi8-u-8x14 koi8-u-8x16 \
		iso8859-13.808 iso8859-13.810 iso8859-13.814 iso8859-13.816 \
		iso8859-1-euro.816

LIBMODE	=	444
LIBOWN	=	bin
LIBGRP	=	bin
CLEANFILES= 	${FONTS}
FONTDIR =	${BINDIR}/misc/pcvtfonts

all: $(FONTS)

install: ${FONTS}
	@if [ ! -d ${DESTDIR}${FONTDIR} ]; then mkdir ${DESTDIR}${FONTDIR};fi
	@for i in ${FONTS}; do \
		echo "installing font $$i into ${DESTDIR}${FONTDIR}"; \
		install -c -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
		$$i ${DESTDIR}${FONTDIR}; \
	done

clean:
	rm -f ${CLEANFILES}

.include "../../Makefile.inc"
.include <bsd.prog.mk>

# this seems to be the lowest common denominator

vt100pc.814: ${.CURDIR}/vt100pc.814.uu
	uudecode ${.CURDIR}/$@.uu

vt100sg.814: ${.CURDIR}/vt100sg.814.uu
	uudecode ${.CURDIR}/$@.uu

vt220l.814: ${.CURDIR}/vt220l.814.uu
	uudecode ${.CURDIR}/$@.uu

vt220h.814: ${.CURDIR}/vt220h.814.uu
	uudecode ${.CURDIR}/$@.uu

vt220l.808: ${.CURDIR}/vt220l.808.uu
	uudecode ${.CURDIR}/$@.uu

vt220h.808: ${.CURDIR}/vt220h.808.uu
	uudecode ${.CURDIR}/$@.uu

vt220l.816: ${.CURDIR}/vt220l.816.uu
	uudecode ${.CURDIR}/$@.uu

vt220h.816: ${.CURDIR}/vt220h.816.uu
	uudecode ${.CURDIR}/$@.uu

vt220l.810: ${.CURDIR}/vt220l.810.uu
	uudecode ${.CURDIR}/$@.uu

vt220h.810: ${.CURDIR}/vt220h.810.uu
	uudecode ${.CURDIR}/$@.uu

koi8-r-8x08: ${.CURDIR}/koi8-r-8x08.uu
	uudecode ${.CURDIR}/$@.uu

koi8-r-8x10: ${.CURDIR}/koi8-r-8x10.uu
	uudecode ${.CURDIR}/$@.uu

koi8-r-8x14: ${.CURDIR}/koi8-r-8x14.uu
	uudecode ${.CURDIR}/$@.uu

koi8-r-8x16: ${.CURDIR}/koi8-r-8x16.uu
	uudecode ${.CURDIR}/$@.uu

koi8-u-8x08: ${.CURDIR}/koi8-u-8x08.uu
	uudecode ${.CURDIR}/$@.uu

koi8-u-8x10: ${.CURDIR}/koi8-u-8x10.uu
	uudecode ${.CURDIR}/$@.uu

koi8-u-8x14: ${.CURDIR}/koi8-u-8x14.uu
	uudecode ${.CURDIR}/$@.uu

koi8-u-8x16: ${.CURDIR}/koi8-u-8x16.uu
	uudecode ${.CURDIR}/$@.uu

iso8859-1-euro.816: ${.CURDIR}/iso8859-1-euro.816.uu
	uudecode ${.CURDIR}/$@.uu

iso8859-13.808: ${.CURDIR}/iso8859-13.808.uu
	uudecode ${.CURDIR}/$@.uu

iso8859-13.810: ${.CURDIR}/iso8859-13.810.uu
	uudecode ${.CURDIR}/$@.uu

iso8859-13.814: ${.CURDIR}/iso8859-13.814.uu
	uudecode ${.CURDIR}/$@.uu

iso8859-13.816: ${.CURDIR}/iso8859-13.816.uu
	uudecode ${.CURDIR}/$@.uu