blob: bfab1af3f1e77e0a597d49fbe3a06ec9c9d714fd (
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
|
# $OpenBSD: Makefile.bsd-wrapper,v 1.9 2000/04/30 21:45:01 maja Exp $
MAN= lynx.1
COPTS+= -DUSE_SSL
CLEANFILES= lynx.1
DPADD= ${LIBSSL} ${LIBCRYPTO}
LDADD= -lssl -lcrypto
GNUCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}"
HTMLDIR= /usr/share/doc/html
HELPFILES= keystrokes/alt_edit_help.html keystrokes/bookmark_help.html \
keystrokes/cookie_help.html keystrokes/dired_help.html \
keystrokes/edit_help.html keystrokes/environments.html \
keystrokes/follow_help.html keystrokes/gopher_types_help.html \
keystrokes/history_help.html keystrokes/keystroke_help.html \
keystrokes/movement_help.html keystrokes/option_help.html \
keystrokes/other_help.html keystrokes/print_help.html \
keystrokes/scrolling_help.html keystrokes/test_display.html \
keystrokes/visited_help.html keystrokes/xterm_help.html \
Lynx_users_guide.html about_lynx.html lynx-dev.html \
lynx_help_main.html lynx_url_support.html
.include <bsd.own.mk>
.ifdef NOMAN
LYNX_CAT1=
.else
LYNX_CAT1=lynx.cat1
.endif
all: config.status ${LYNX_CAT1}
${MAKE} ${GNUCFLAGS}
.FORCE: .IGNORE
.ifdef GLOBAL_AUTOCONF_CACHE
CF= --cache-file=${GLOBAL_AUTOCONF_CACHE}
.else
CF=
.endif
config: .FORCE
.ifndef GLOBAL_AUTOCONF_CACHE
-rm -f config.cache
.endif
PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
${GNUCFLAGS} \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
sh ${.CURDIR}/configure --prefix=/usr --libdir=/etc
config.status:
PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
${GNUCFLAGS} \
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
sh ${.CURDIR}/configure --prefix=/usr --libdir=/etc ${CF}
lynx.1: ${.CURDIR}/lynx.man
-cp -p ${.ALLSRC} ${.TARGET}
.ifdef NOMAN
maninstall:
@echo NOMAN is set
.endif
helpinstall:
@-for i in ${HELPFILES}; do \
j=`dirname $$i`; \
echo "Installing ${DESTDIR}${HTMLDIR}/lynx_help/$$i"; \
${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
${.CURDIR}/lynx_help/$$i ${DESTDIR}${HTMLDIR}/lynx_help/$$j/; \
done
install: maninstall helpinstall
${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} \
-g ${BINGRP} -m ${BINMODE} lynx ${DESTDIR}/usr/bin/lynx
distribution:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
${.CURDIR}/lynx.cfg ${DESTDIR}/etc/lynx.cfg
clean cleandir:
-@if [ -e makefile ]; then ${MAKE} distclean; fi
rm -f ${CLEANFILES}
depend:
# Nothing here so far...
lint:
# Nothing here so far...
tags:
# Nothing here so far...
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
.ifndef NOMAN
.include <bsd.man.mk>
.endif
|