blob: d21f8ed1809097e236c0933cb9e1e3638ed6ec5e (
plain) (
blame)
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
|
.if !exists(${.CURDIR}/../Makefile.inc)
error:
@echo
@echo " You MUST link/copy"
@echo
@echo " ../Makefile.inc.NetBSD or ../Makefile.inc.FreeBSD"
@echo
@echo " to ../Makefile.inc before you can proceed !"
@echo
.else
#FONTS = vt100pc.814 vt100sg.814 vt220l.814 vt220h.814 vt220l.808\
# vt220h.808 vt220l.816 vt220h.816 vt220l.810 vt220h.810
FONTS = vt220l.814 vt220h.814 vt220l.808 vt220h.808 \
vt220l.816 vt220h.816 vt220l.810 vt220h.810
CLEANFILES= ${FONTS}
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} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
$$i ${DESTDIR}${FONTDIR}; \
done
clean:
rm -f ${CLEANFILES}
.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
.endif
|