1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

beav (binary editor and viewer)

Submitted by:	Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
This commit is contained in:
Satoshi Asami 1995-07-06 04:23:07 +00:00
parent 22f7f0b993
commit 5ee9b312ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1929
6 changed files with 113 additions and 0 deletions

25
editors/beav/Makefile Normal file
View File

@ -0,0 +1,25 @@
# New ports collection makefile for: beav-1.40.3
# Version required: 1.40-3 (debian)
# Date created: 01 July 1995
# Whom: thomas@ghpc8.ihf.rwth-aachen.de
#
# $Id$
#
DISTNAME= beav-140-3
PKGNAME= beav-1.40.3
CATEGORIES+= editors
KEYWORDS+= editors
MASTER_SITES= ftp://ftp.debian.org/debian/source/editors \\
ftp://ftp.uni-heidelberg.de/pub/linux/mirror.tsx11/distributions/debian/source/editors/ \\
ftp://extro.ucc.su.oz.au/linux/debian/source/editors/ \\
ftp://theta.iis.u-tokyo.ac.jp/pub2/Linux/distributions/debian/source/editors/
MAINTAINER= thomas@ghpc8.ihf.rwth-aachen.de
WRKSRC= ${WRKDIR}/beav-140
PATCH_STRIP= -p1
.include <bsd.port.mk>

1
editors/beav/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (beav-140-3.tar.gz) = 7a3a6648af9c3e00682f3f268442b0e8

View File

@ -0,0 +1,73 @@
diff -c beav-140.orig/Makefile beav-140/Makefile
*** beav-140.orig/Makefile Wed Nov 30 19:19:47 1994
--- beav-140/Makefile Sat Jul 1 18:07:14 1995
***************
*** 1,5 ****
# This is the makefile for BSD UNIX
! CFLAGS= -O2 -DUNIX -DNOPROTO
OFILES= basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
buffer.o echo.o language.o main.o search.o tty.o window.o \
--- 1,5 ----
# This is the makefile for BSD UNIX
! CFLAGS+= -DUNIX -DNOPROTO -DBSD
OFILES= basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
buffer.o echo.o language.o main.o search.o tty.o window.o \
***************
*** 14,20 ****
HFILES= def.h
! beav: $(OFILES)
$(CC) $(CFLAGS) $(OFILES) -s -ltermcap -lc -o beav
! (OFILES): $(HFILES)
--- 14,25 ----
HFILES= def.h
! all beav: $(OFILES)
$(CC) $(CFLAGS) $(OFILES) -s -ltermcap -lc -o beav
! install: beav
! install -c -s -m 755 -g bin -o bin beav $(PREFIX)/bin
! install -c -m 644 -g bin -o bin beav.1 $(PREFIX)/man/man1
! gzip -9nf $(PREFIX)/man/man1/beav.1
!
! $(OFILES): $(HFILES)
diff -c beav-140.orig/termio.c beav-140/termio.c
*** beav-140.orig/termio.c Wed Nov 30 18:43:35 1994
--- beav-140/termio.c Sat Jul 1 17:56:09 1995
***************
*** 12,17 ****
--- 12,20 ----
#include <signal.h>
#ifdef BSD
#include <sys/ioctl.h>
+ #ifdef __FreeBSD__
+ #include <sys/ioctl_compat.h>
+ #endif
#else
#ifdef OS2
#ifndef __EMX__
diff -c beav-140.orig/tcap.c beav-140/tcap.c
*** beav-140.orig/tcap.c Sat Jul 1 18:32:02 1995
--- beav-140/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;

1
editors/beav/pkg-comment Normal file
View File

@ -0,0 +1 @@
BEAV-1.40.3 (Binary Editor And Viewer), is a full featured binary file editor.

11
editors/beav/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
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.
This is version 1.40.3.

2
editors/beav/pkg-plist Normal file
View File

@ -0,0 +1,2 @@
bin/beav
man/man1/beav.1.gz