blob: 57651203ddf55bc0a0fce5bff2f48ec68aebb9f1 (
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
68
69
70
71
72
73
74
75
76
77
78
|
--- Makefile.orig Sat Dec 13 09:34:59 1997
+++ Makefile Mon Aug 10 10:45:21 1998
@@ -1,6 +1,6 @@
# This is the makefile for BSD UNIX
#CFLAGS= -g -DUNIX
-CFLAGS= -O2 -DUNIX
+CFLAGS+= -DUNIX -DBSD
CC=gcc
OFILES= basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
@@ -16,10 +16,16 @@
HFILES= def.h prototyp.h
-beav: $(OFILES)
- $(CC) $(CFLAGS) $(OFILES) -lncurses -o beav
+all beav: $(OFILES)
+ $(CC) $(CFLAGS) $(OFILES) -ltermcap -o beav
+
+install: beav
+ $(BSD_INSTALL_PROGRAM) beav $(PREFIX)/bin
+ mkdir -p $(PREFIX)/share/doc/beav
+ $(BSD_INSTALL_DATA) beav140.txt $(PREFIX)/share/doc/beav/beav.txt
+ $(BSD_INSTALL_MAN) beav.1 $(PREFIX)/man/man1
clean:
rm -f *.o beav
-(OFILES): $(HFILES)
+$(OFILES): $(HFILES)
*** beav-140.orig/termio.c Wed Nov 30 18:43:35 1994
--- termio.c Sat Jul 1 17:56:09 1995
***************
*** 12,17 ****
--- 12,20 ----
#include <signal.h>
#ifdef BSD
#include <sys/ioctl.h>
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ #include <sys/ioctl_compat.h>
+ #endif
#else
#ifdef OS2
#ifndef __EMX__
*** beav-140.orig/tcap.c Sat Jul 1 18:32:02 1995
--- tcap.c Sat Jul 1 18:24:29 1995
***************
*** 38,44 ****
#ifdef BSD
#include <sys/ioctl.h>
! struct winsize ttysize;
#endif /* BSD */
#ifdef ULTRIX
struct winsize ttysize;
--- 38,44 ----
#ifdef BSD
#include <sys/ioctl.h>
! struct ttysize ttysize;
#endif /* BSD */
#ifdef ULTRIX
struct winsize ttysize;
*** beav-140.orig/beav.1 Sun Mar 3 03:13:16 1996
--- beav.1 Sun Mar 3 03:14:31 1996
***************
*** 59,63 ****
If there is any data that has not been saved you will be warned.
.PP
.SH FILES
! /usr/doc/beav/beav.txt
--- 59,63 ----
If there is any data that has not been saved you will be warned.
.PP
.SH FILES
! /usr/local/share/doc/beav/beav.txt
|