mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
80 lines
1.9 KiB
Plaintext
80 lines
1.9 KiB
Plaintext
--- 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,17 @@
|
|
|
|
HFILES= def.h prototyp.h
|
|
|
|
-beav: $(OFILES)
|
|
- $(CC) $(CFLAGS) $(OFILES) -lncurses -o beav
|
|
+all beav: $(OFILES)
|
|
+ $(CC) $(CFLAGS) $(OFILES) -ltermcap -o beav
|
|
+
|
|
+install: beav
|
|
+ install -c -s -m 755 -g bin -o bin beav $(PREFIX)/bin
|
|
+ mkdir -p $(PREFIX)/share/doc/beav
|
|
+ install -c -m 644 -g bin -o bin beav140.txt $(PREFIX)/share/doc/beav/beav.txt
|
|
+ install -c -m 644 -g bin -o bin beav.1 $(PREFIX)/man/man1
|
|
+ gzip -9nf $(PREFIX)/man/man1/beav.1
|
|
|
|
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
|
|
|