summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1998-12-20 21:01:22 +0000
committerbad <bad@pkgsrc.org>1998-12-20 21:01:22 +0000
commit293fa4b70724e13d49e0e1cbe69bcbf206865a06 (patch)
treec3a3a7d390002c7e7c96f2808ac13e0c70c4d025 /editors
parent13610f7b045a50828d50e313da205f22bde47723 (diff)
downloadpkgsrc-293fa4b70724e13d49e0e1cbe69bcbf206865a06.tar.gz
Import of beav-1.40.11, a full featured binary editor and viewer.
Diffstat (limited to 'editors')
-rw-r--r--editors/beav/Makefile19
-rw-r--r--editors/beav/files/md51
-rw-r--r--editors/beav/patches/patch-a78
-rw-r--r--editors/beav/pkg/COMMENT1
-rw-r--r--editors/beav/pkg/DESCR9
-rw-r--r--editors/beav/pkg/PLIST3
6 files changed, 111 insertions, 0 deletions
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 <tg@FreeBSD.ORG>
+#
+# $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 <bsd.port.mk>
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 <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
+
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