From 293fa4b70724e13d49e0e1cbe69bcbf206865a06 Mon Sep 17 00:00:00 2001 From: bad Date: Sun, 20 Dec 1998 21:01:22 +0000 Subject: Import of beav-1.40.11, a full featured binary editor and viewer. --- editors/beav/Makefile | 19 +++++++++++ editors/beav/files/md5 | 1 + editors/beav/patches/patch-a | 78 ++++++++++++++++++++++++++++++++++++++++++++ editors/beav/pkg/COMMENT | 1 + editors/beav/pkg/DESCR | 9 +++++ editors/beav/pkg/PLIST | 3 ++ 6 files changed, 111 insertions(+) create mode 100644 editors/beav/Makefile create mode 100644 editors/beav/files/md5 create mode 100644 editors/beav/patches/patch-a create mode 100644 editors/beav/pkg/COMMENT create mode 100644 editors/beav/pkg/DESCR create mode 100644 editors/beav/pkg/PLIST (limited to 'editors/beav') diff --git a/editors/beav/Makefile b/editors/beav/Makefile new file mode 100644 index 00000000000..5b075662088 --- /dev/null +++ b/editors/beav/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: beav +# Version required: 1.40-11 (debian) +# Date created: 01 July 1995 +# Whom: Thomas Gellekum +# +# $Id: Makefile,v 1.1.1.1 1998/12/20 21:01:22 bad Exp $ +# + +DISTNAME= beav_1.40-11 +PKGNAME= beav-1.40.11 +CATEGORIES= editors +MASTER_SITES= ftp://ftp.debian.org/debian/hamm/hamm/source/editors/ + +MAINTAINER= ports@FreeBSD.ORG + +MAN1= beav.1 +WRKSRC= ${WRKDIR}/beav-1.40 + +.include diff --git a/editors/beav/files/md5 b/editors/beav/files/md5 new file mode 100644 index 00000000000..56f6d2f3e28 --- /dev/null +++ b/editors/beav/files/md5 @@ -0,0 +1 @@ +MD5 (beav_1.40-11.tar.gz) = 841a1d66124abd6d6357774b3bfb01fd diff --git a/editors/beav/patches/patch-a b/editors/beav/patches/patch-a new file mode 100644 index 00000000000..57651203ddf --- /dev/null +++ b/editors/beav/patches/patch-a @@ -0,0 +1,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 + #ifdef BSD + #include ++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++ #include ++ #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 +! struct winsize ttysize; + #endif /* BSD */ + #ifdef ULTRIX + struct winsize ttysize; +--- 38,44 ---- + + #ifdef BSD + #include +! 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 + diff --git a/editors/beav/pkg/COMMENT b/editors/beav/pkg/COMMENT new file mode 100644 index 00000000000..6e89cfe3b9e --- /dev/null +++ b/editors/beav/pkg/COMMENT @@ -0,0 +1 @@ +Binary Editor And Viewer, a full featured binary file editor. diff --git a/editors/beav/pkg/DESCR b/editors/beav/pkg/DESCR new file mode 100644 index 00000000000..8a2929eea14 --- /dev/null +++ b/editors/beav/pkg/DESCR @@ -0,0 +1,9 @@ +BEAV (Binary Editor And Viewer), is a full featured binary file +editor. Just about any operation that you could want to do to a binary +file is possible with BEAV. You can insert or delete in the middle of +a file thereby changing it's size. You can edit multiple files in +multiple windows and cut and paste between them. You can display and +edit data in hex, octal, decimal, binary, ascii, or ebcdic formats. You +can display data in byte, word, or long word formats in either Intel or +Motorola byte ordering. You can send the formatted display mode to a +file or printer. diff --git a/editors/beav/pkg/PLIST b/editors/beav/pkg/PLIST new file mode 100644 index 00000000000..45957b7f06d --- /dev/null +++ b/editors/beav/pkg/PLIST @@ -0,0 +1,3 @@ +bin/beav +share/doc/beav/beav.txt +@dirrm share/doc/beav -- cgit v1.2.3