svn commit: r543500 - in head/editors: . nvi2-port
Craig Leres
leres at FreeBSD.org
Mon Jul 27 01:30:40 UTC 2020
Author: leres
Date: Mon Jul 27 01:30:39 2020
New Revision: 543500
URL: https://svnweb.freebsd.org/changeset/ports/543500
Log:
editors/nvi2: New port
nvi is an implementation of the ex/vi text editor.
The original vi was written by William Joy. Later Mark Horton added
a number of enhancements.
nvi was written by Keith Bostic and was distributed as part of the
Fourth Berkeley Software Distribution (4BSD) by the University of
California, Berkeley.
This version is based on a fork of nvi by Sven Verdoolaege.
nvi2 is being actively maintained (unlike nvi-devel).
WWW: https://github.com/lichray/nvi2/
Added:
head/editors/nvi2-port/
head/editors/nvi2-port/Makefile (contents, props changed)
head/editors/nvi2-port/distinfo (contents, props changed)
head/editors/nvi2-port/pkg-descr (contents, props changed)
Modified:
head/editors/Makefile
Modified: head/editors/Makefile
==============================================================================
--- head/editors/Makefile Sun Jul 26 23:14:06 2020 (r543499)
+++ head/editors/Makefile Mon Jul 27 01:30:39 2020 (r543500)
@@ -202,6 +202,7 @@
SUBDIR += neovim-qt
SUBDIR += nvi-devel
SUBDIR += nvi-m17n
+ SUBDIR += nvi2-port
SUBDIR += o
SUBDIR += openoffice-4
SUBDIR += openoffice-devel
Added: head/editors/nvi2-port/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/nvi2-port/Makefile Mon Jul 27 01:30:39 2020 (r543500)
@@ -0,0 +1,52 @@
+# Created by: Craig Leres <leres at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= nvi2
+PORTVERSION= 2.1.3.g2020726
+CATEGORIES= editors
+
+MAINTAINER= leres at FreeBSD.org
+COMMENT= Updated implementation of the ex/vi text editor
+
+LICENSE= BSD3CLAUSE
+
+USES= bdb cmake:noninja ncurses
+USE_GITHUB= yes
+
+GH_ACCOUNT= lichray
+GH_TAGNAME= 0ef1c82
+
+CONFLICTS_INSTALL= nvi-m17n-[0-9]* nvi-[0-9]*
+
+OPTIONS_DEFINE= DEBUG WIDECHAR ICONV
+OPTIONS_DEFAULT= WIDECHAR ICONV
+
+WIDECHAR_DESC= Enable wide-character support (UTF-8)
+ICONV_DESC= Enable iconv support
+
+DEBUG_CMAKE_BOOL= ENABLE_DEBUG
+ICONV_CMAKE_BOOL= ENABLE_ICONV
+ICONV_USES= iconv
+WIDECHAR_CMAKE_BOOL= ENABLE_WIDECHAR
+
+CMAKE_SOURCE_PATH= ${WRKSRC}/build
+
+PLIST_FILES= bin/nex \
+ bin/nvi \
+ bin/nview \
+ man/man1/nvi.1.gz
+
+post-patch:
+ ${REINPLACE_CMD} -E \
+ -e 's,\.\./(cl|common|ex|regex|vi)/,${WRKSRC}/\1/,g' \
+ -e 's,\.\./(regex|README),${WRKSRC}/\1,g' \
+ ${WRKSRC}/build/CMakeLists.txt
+
+do-install:
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/nvi ${STAGEDIR}${PREFIX}/bin
+ ${LN} ${STAGEDIR}${PREFIX}/bin/nvi ${STAGEDIR}${PREFIX}/bin/nex
+ ${LN} ${STAGEDIR}${PREFIX}/bin/nvi ${STAGEDIR}${PREFIX}/bin/nview
+ ${INSTALL_MAN} ${WRKSRC}/man/vi.1 \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1/nvi.1
+
+.include <bsd.port.mk>
Added: head/editors/nvi2-port/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/nvi2-port/distinfo Mon Jul 27 01:30:39 2020 (r543500)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1595813081
+SHA256 (lichray-nvi2-2.1.3.g2020726-0ef1c82_GH0.tar.gz) = f18507f88866203d72bb0cd3f5ea744c57a8498066f7d6492b6796cad8f5afc6
+SIZE (lichray-nvi2-2.1.3.g2020726-0ef1c82_GH0.tar.gz) = 438819
Added: head/editors/nvi2-port/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/nvi2-port/pkg-descr Mon Jul 27 01:30:39 2020 (r543500)
@@ -0,0 +1,12 @@
+nvi is an implementation of the ex/vi text editor.
+
+The original vi was written by William Joy. Later Mark Horton added
+a number of enhancements.
+
+nvi was written by Keith Bostic and was distributed as part of the
+Fourth Berkeley Software Distribution (4BSD) by the University of
+California, Berkeley.
+
+This version is based on a fork of nvi by Sven Verdoolaege.
+
+WWW: https://github.com/lichray/nvi2/
More information about the svn-ports-head
mailing list