Initial import of bvi version 1.2.0.

bvi is a binary visual display editor, based on vi.

Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
This commit is contained in:
kevlo 2000-03-14 07:57:37 +00:00
parent 8b82aabdda
commit 6cd3aeda96
7 changed files with 67 additions and 0 deletions

23
editors/bvi/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/03/14 07:57:37 kevlo Exp $
DISTNAME= bvi-1.2.0
CATEGORIES= editors
HOMEPAGE= http://bvi.linuxbox.com/
MAINTAINER= naddy@unix-ag.uni-kl.de
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://bvi.linuxbox.com/download/
EXTRACT_SUFX= .src.tar.gz
FAKE= Yes
HAS_CONFIGURE= Yes
CONFIGURE_ARGS= --prefix='$${DESTDIR}${PREFIX}'
.include <bsd.port.mk>

3
editors/bvi/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (bvi-1.2.0.src.tar.gz) = 9508763dcb62f25b7b20016faf426d89
RMD160 (bvi-1.2.0.src.tar.gz) = 4c28d00329cea660b5e1a993a332f08590c8740d
SHA1 (bvi-1.2.0.src.tar.gz) = fc591885358ed7695234dfab6fc05c8aca210279

View File

@ -0,0 +1,21 @@
--- Makefile.in.orig Fri Oct 22 17:27:36 1999
+++ Makefile.in Tue Mar 14 23:46:44 2000
@@ -33,6 +33,7 @@
DEFS = @DEFS@
LDFLAGS= @LDFLAGS@
LIBS = @LIBS@
+SHELL = /bin/sh
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -49,7 +50,9 @@
install: all installdirs
@echo "Installing bvi"
- @$(INSTALL_PROGRAM) bvi.1 $(man2dir)
+ @$(INSTALL_DATA) bvi.1 $(man2dir)
+ @if [ -f $(man2dir)/bview.1 ]; then rm $(man2dir)/bview.1; fi
+ @ln $(man2dir)/bvi.1 $(man2dir)/bview.1
@$(INSTALL_PROGRAM) -s bvi $(bindir)
@if [ -f $(bindir)/bview ]; then rm $(bindir)/bview; fi
@if [ -f $(bindir)/bvedit ]; then rm $(bindir)/bvedit; fi

View File

@ -0,0 +1,11 @@
--- io.c.orig Tue Nov 2 10:44:10 1999
+++ io.c Sat Nov 6 16:56:15 1999
@@ -119,7 +119,7 @@
} else if (S_ISBLK(buf.st_mode)) {
filemode = BLOCK_SPECIAL;
} else if (S_ISREG(buf.st_mode)) {
- if ((unsigned long)buf.st_size > (unsigned long)SIZE_T_MAX) {
+ if (buf.st_size > SIZE_T_MAX) {
move(maxy, 0);
endwin();
printf("File too large\n");

1
editors/bvi/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
binary visual display editor, based on vi

3
editors/bvi/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
bvi (binary visual) is a display oriented binary editor based on
the vi(1) texteditor. It uses commands similar to the commands of
vi(1), with some changes due to their different tasks.

5
editors/bvi/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
bin/bvi
bin/bview
bin/bvedit
man/man1/bvi.1
man/man1/bview.1