From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 12 19:10:12 2004 Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG> Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3655C16A4CE for <freebsd-ports-bugs@hub.freebsd.org>; Mon, 12 Jul 2004 19:10:12 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2958043D4C for <freebsd-ports-bugs@hub.freebsd.org>; Mon, 12 Jul 2004 19:10:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6CJACKq059202 for <freebsd-ports-bugs@freefall.freebsd.org>; Mon, 12 Jul 2004 19:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6CJACvP059201; Mon, 12 Jul 2004 19:10:12 GMT (envelope-from gnats) Resent-Date: Mon, 12 Jul 2004 19:10:12 GMT Resent-Message-Id: <200407121910.i6CJACvP059201@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Thiel <lx@redundancy.redundancy.org> Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7AE516A4D4 for <FreeBSD-gnats-submit@freebsd.org>; Mon, 12 Jul 2004 19:04:08 +0000 (GMT) Received: from redundancy.redundancy.org (redundancy.redundancy.org [198.144.201.242]) by mx1.FreeBSD.org (Postfix) with SMTP id 65EDE43D53 for <FreeBSD-gnats-submit@freebsd.org>; Mon, 12 Jul 2004 19:04:08 +0000 (GMT) (envelope-from lx@redundancy.redundancy.org) Received: (qmail 22386 invoked by uid 1000); 12 Jul 2004 19:04:28 -0000 Message-Id: <20040712190428.22385.qmail@redundancy.redundancy.org> Date: 12 Jul 2004 19:04:28 -0000 From: David Thiel <lx@redundancy.redundancy.org> To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: krion@FreeBSD.org cc: espinafre@gmail.com Subject: ports/68956: New port: editors/2bsd-vi, the original BSD vi X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Thiel <lx@redundancy.redundancy.org> List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs> List-Post: <mailto:freebsd-ports-bugs@freebsd.org> List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 12 Jul 2004 19:10:12 -0000 >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: