Skip site navigation (1)Skip section navigation (2)
Date:      12 Jul 2004 19:04:28 -0000
From:      David Thiel <lx@redundancy.redundancy.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        espinafre@gmail.com
Subject:   ports/68956: New port: editors/2bsd-vi, the original BSD vi
Message-ID:  <20040712190428.22385.qmail@redundancy.redundancy.org>
Resent-Message-ID: <200407121910.i6CJACvP059201@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68956
>Category:       ports
>Synopsis:       New port: editors/2bsd-vi, the original BSD vi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 12 19:10:11 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Thiel
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD redundancy.redundancy.org 4.9-STABLE FreeBSD 4.9-STABLE #15: Wed Nov 19 21:41:32 PST 2003 lx@redundancy.redundancy.org:/usr/obj/usr/src/sys/REDUNDANCY i386


>Description:

This is the original BSD vi editor by Bill Joy, unencumbered and 
updated to build and run on modern systems.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	2bsd-vi
#	2bsd-vi/Makefile
#	2bsd-vi/distinfo
#	2bsd-vi/pkg-descr
#	2bsd-vi/pkg-plist
#	2bsd-vi/files
#	2bsd-vi/files/patch-Makefile
#
echo c - 2bsd-vi
mkdir -p 2bsd-vi > /dev/null 2>&1
echo x - 2bsd-vi/Makefile
sed 's/^X//' >2bsd-vi/Makefile << 'END-of-2bsd-vi/Makefile'
X# New ports collection makefile for:	2bsd-vi
X# Date created:			2004-07-12
X# Whom:				David Thiel <lx@redundancy.redundancy.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	vi
XPORTVERSION=	040605
XCATEGORIES=	editors
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	ex-vi/
XPKGNAMEPREFIX=	2bsd-
XDISTNAME=	ex-${PORTVERSION}
X
XMAINTAINER=	lx@redundancy.redundancy.org
XCOMMENT=	The original vi editor, updated to run on modern OSes
X
XMAN1=	ex.1 vi.1
XMLINKS=	ex.1 edit.1  vi.1 vedit.1  vi.1 view.1
X
X.include <bsd.port.mk>
END-of-2bsd-vi/Makefile
echo x - 2bsd-vi/distinfo
sed 's/^X//' >2bsd-vi/distinfo << 'END-of-2bsd-vi/distinfo'
XMD5 (ex-040605.tar.gz) = f4b9473c6a771b94ff2e605c53310908
XSIZE (ex-040605.tar.gz) = 265672
END-of-2bsd-vi/distinfo
echo x - 2bsd-vi/pkg-descr
sed 's/^X//' >2bsd-vi/pkg-descr << 'END-of-2bsd-vi/pkg-descr'
XThis is the original BSD ex/vi, updated to build and run on modern
XUnix systems. Compared to most of its many clones, the original vi is
Xa rather small program (~120 KB code on i386) just with its extremely
Xpowerful editing interface, but lacking fancy features like multiple
Xundo, multiple screens or syntax highlighting. In other words, it is a
Xtypical Unix program that does exactly what it should and nothing more.
XI intend to preserve this style in maintaining my port, except for
Xchanges to achieve POSIX.2 standards compliance, features in the SVR4
Xversions of vi, and, of course, bug fixes.
X
XWWW: http://ex-vi.sourceforge.net/
END-of-2bsd-vi/pkg-descr
echo x - 2bsd-vi/pkg-plist
sed 's/^X//' >2bsd-vi/pkg-plist << 'END-of-2bsd-vi/pkg-plist'
Xbin/ex
Xbin/edit
Xbin/vedit
Xbin/vi
Xbin/view
Xlibexec/exrecover
Xlibexec/expreserve
END-of-2bsd-vi/pkg-plist
echo c - 2bsd-vi/files
mkdir -p 2bsd-vi/files > /dev/null 2>&1
echo x - 2bsd-vi/files/patch-Makefile
sed 's/^X//' >2bsd-vi/files/patch-Makefile << 'END-of-2bsd-vi/files/patch-Makefile'
X--- /var/tmp/Makefile.orig	Mon Jul 12 11:06:48 2004
X+++ Makefile	Mon Jul 12 11:29:22 2004
X@@ -79,10 +79,9 @@
X # Destinations for installation. $(PRESERVEDIR) is used for recovery files.
X # It will get mode 1777.
X #
X-PREFIX		= /usr/local
X BINDIR		= $(PREFIX)/bin
X LIBEXECDIR	= $(PREFIX)/libexec
X-MANDIR		= $(PREFIX)/share/man
X+MANDIR		= $(PREFIX)/man
X PRESERVEDIR	= /var/preserve
X 
X #
X@@ -94,7 +93,7 @@
X #
X # A BSD-like install program. GNU install will fit well here, too.
X #
X-INSTALL		= /usr/ucb/install
X+INSTALL		= /usr/bin/install
X 
X #
X # Compiler and linker flags.
X@@ -276,13 +275,6 @@
X # install in standard place
X 
X install-man:
X-	test -d $(DESTDIR)$(PREFIX) || mkdir -p $(DESTDIR)$(PREFIX)
X-	test -d $(DESTDIR)$(MANDIR) || mkdir -p $(DESTDIR)$(MANDIR)
X-	test -d $(DESTDIR)$(MANDIR)/man1 || mkdir -p $(DESTDIR)$(MANDIR)/man1
X-	rm -f $(DESTDIR)$(MANDIR)/man1/ex.1 $(DESTDIR)$(MANDIR)/man1/edit.1 \
X-		$(DESTDIR)$(MANDIR)/man1/vedit.1 \
X-		$(DESTDIR)$(MANDIR)/man1/vi.1 \
X-		$(DESTDIR)$(MANDIR)/man1/view.1
X 	$(INSTALL) -c -m 644 ex.1 $(DESTDIR)$(MANDIR)/man1/ex.1
X 	$(INSTALL) -c -m 644 vi.1 $(DESTDIR)$(MANDIR)/man1/vi.1
X 	ln -s ex.1 $(DESTDIR)$(MANDIR)/man1/edit.1
X@@ -290,10 +282,6 @@
X 	ln -s vi.1 $(DESTDIR)$(MANDIR)/man1/view.1
X 
X install: all install-man
X-	rm -f $(DESTDIR)$(BINDIR)/ex $(DESTDIR)$(BINDIR)/edit \
X-		$(DESTDIR)$(BINDIR)/vedit $(DESTDIR)$(BINDIR)/vi \
X-		$(DESTDIR)$(BINDIR)/view
X-	test -d $(DESTDIR)$(BINDIR) || mkdir -p $(DESTDIR)$(BINDIR)
X # special provisions for sticky install
X 	if test -f $(DESTDIR)$(BINDIR)/ex; \
X 	then	test -f $(DESTDIR)$(BINDIR)/ex.old.$$$$ && exit 1; \
X@@ -303,15 +291,12 @@
X 		rm -f $(DESTDIR)$(BINDIR)/ex.old.$$$$; \
X 	fi
X 	$(INSTALL) -c -s -m 1755 ex $(DESTDIR)$(BINDIR)/ex
X-	test -d $(DESTDIR)$(LIBEXECDIR) || mkdir -p $(DESTDIR)$(LIBEXECDIR)
X 	$(INSTALL) -c -s exrecover $(DESTDIR)$(LIBEXECDIR)/exrecover
X 	$(INSTALL) -c -s expreserve $(DESTDIR)$(LIBEXECDIR)/expreserve
X 	ln -s ex $(DESTDIR)$(BINDIR)/edit
X 	ln -s ex $(DESTDIR)$(BINDIR)/vedit
X 	ln -s ex $(DESTDIR)$(BINDIR)/vi
X 	ln -s ex $(DESTDIR)$(BINDIR)/view
X-	test -d $(DESTDIR)$(PRESERVEDIR) || mkdir -p $(DESTDIR)$(PRESERVEDIR)
X-	chmod 1777 $(DESTDIR)$(PRESERVEDIR)
X 
X ex.o: config.h ex_argv.h ex.h ex_proto.h ex_temp.h ex_tty.h ex_tune.h
X ex.o: ex_vars.h libterm/libterm.h
END-of-2bsd-vi/files/patch-Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040712190428.22385.qmail>