Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (98706688453ad8b24914e9bdad9a5c487805171a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (98706688453ad8b24914e9bdad9a5c487805171a)
  • Date: Sun, 13 Aug 2017 16:17:27 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
editors/nvi/BUILD | 5 +++++
editors/nvi/CONFIGURE | 9 +++++++++
editors/nvi/DEPENDS | 2 ++
editors/nvi/DETAILS | 34 ++++++++++++++++++++++++++++++++++
editors/nvi/HISTORY | 3 +++
editors/nvi/INSTALL | 5 +++++
editors/nvi/PRE_BUILD | 4 ++++
editors/nvi/PROVIDES | 2 ++
9 files changed, 67 insertions(+)

New commits:
commit 98706688453ad8b24914e9bdad9a5c487805171a
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

nvi: new spell, Berkeley Vi Editor

diff --git a/ChangeLog b/ChangeLog
index 422aa01..6e0680d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2017-08-13 Vlad Glagolev <stealth AT sourcemage.org>
+ * editors/nvi: new spell, Berkeley Vi Editor
+
2017-08-11 Remko van der Vossen <wich AT sourcemage.org>
* disk/udev: spell deprecated in favour of disk/eudev

diff --git a/editors/nvi/BUILD b/editors/nvi/BUILD
new file mode 100755
index 0000000..dfee64c
--- /dev/null
+++ b/editors/nvi/BUILD
@@ -0,0 +1,5 @@
+OPTS="--program-prefix=n ${OPTS}" &&
+
+cd build &&
+
+default_build
diff --git a/editors/nvi/CONFIGURE b/editors/nvi/CONFIGURE
new file mode 100755
index 0000000..e2ca512
--- /dev/null
+++ b/editors/nvi/CONFIGURE
@@ -0,0 +1,9 @@
+config_query NVI_SYMLINK "Would you like to have /usr/bin/vi as a symlink to
/usr/bin/nvi?" n &&
+
+if [ "${NVI_SYMLINK}" == "y" ]; then
+ if [ -e /usr/bin/vi ] && `readlink -f "/usr/bin/vi" | grep -Eqv "nvi"`;
then
+ message "${MESSAGE_COLOR}VI is already provided by another vi clone.
Recast it" &&
+ message "with the vi symlink option disabled, then recast
${SPELL}.${DEFAULT_COLOR}" &&
+ NVI_SYMLINK="n"
+ fi
+fi
diff --git a/editors/nvi/DEPENDS b/editors/nvi/DEPENDS
new file mode 100755
index 0000000..dab0bdd
--- /dev/null
+++ b/editors/nvi/DEPENDS
@@ -0,0 +1,2 @@
+# disable building with bundled curses
+depends ncurses '--disable-curses'
diff --git a/editors/nvi/DETAILS b/editors/nvi/DETAILS
new file mode 100755
index 0000000..01aca15
--- /dev/null
+++ b/editors/nvi/DETAILS
@@ -0,0 +1,34 @@
+ SPELL=nvi
+ VERSION=1.79
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://sites.google.com/a/bostic.com/keithbostic/files/${SOURCE}
+ SOURCE_URL[1]=https://www.cpan.org/src/misc/${SOURCE}
+ SOURCE_URL[2]=http://www.opengroup.org/infosrv/mirrors/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:d1d8adb2aeeee127f5e6fe5cc8b9e3e26fe22084075d17cceecd9cee7956131becee764d721af69626d60d6d75873d5073dc9817995f0274ed307e044921a1d0
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ DOC_DIRS=""
+ WEB_SITE=https://sites.google.com/a/bostic.com/keithbostic/vi/
+ ENTERED=20170813
+ LICENSE[0]=BSD
+ KEYWORDS="editors"
+ SHORT="Berkeley Vi Editor"
+cat << EOF
+Nvi is an implementation of the ex/vi text editor originally distributed as
part
+of the Fourth Berkeley Software Distribution (4BSD), by the University of
+California, Berkeley.
+
+Nvi supports all the historic ex/vi features except for open mode and the
lisp
+edit option (e.g., it has a fully implemented underlying ex mode).
+
+It has a number of additional features as well:
+
+- 8-bit clean data, lines and files limited by available memory
+- Multiple edit buffers
+- Colon command-line editing and path name completion
+- Tag stacks (including support for Cscope databases)
+- Extended Regular Expressions
+- Infinite undo
+- Horizontal scrolling
+- Message catalogs (Dutch, English, French, German, Russian, Spanish,
Swedish)
+- Preliminary support for Perl and Tcl/Tk scripting languages
+EOF
diff --git a/editors/nvi/HISTORY b/editors/nvi/HISTORY
new file mode 100644
index 0000000..4cfc12b
--- /dev/null
+++ b/editors/nvi/HISTORY
@@ -0,0 +1,3 @@
+2017-08-13 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, CONFIGURE, PROVIDES:
created
+ spell, version 1.79
diff --git a/editors/nvi/INSTALL b/editors/nvi/INSTALL
new file mode 100755
index 0000000..cf2b17d
--- /dev/null
+++ b/editors/nvi/INSTALL
@@ -0,0 +1,5 @@
+default_install &&
+
+if [[ $NVI_SYMLINK == y ]]; then
+ ln -vsf "${TRACK_ROOT}/usr/bin/nvi" "${INSTALL_ROOT}/usr/bin/vi"
+fi
diff --git a/editors/nvi/PRE_BUILD b/editors/nvi/PRE_BUILD
new file mode 100755
index 0000000..c78c70c
--- /dev/null
+++ b/editors/nvi/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+sedit "s:\[ -f VI.pm \] &&:\[ ! -f VI.pm \] || \(:" build/Makefile.in
diff --git a/editors/nvi/PROVIDES b/editors/nvi/PROVIDES
new file mode 100755
index 0000000..1e25c73
--- /dev/null
+++ b/editors/nvi/PROVIDES
@@ -0,0 +1,2 @@
+VI
+TEXT-EDITOR



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (98706688453ad8b24914e9bdad9a5c487805171a), Vlad Glagolev, 08/13/2017

Archive powered by MHonArc 2.6.24.

Top of Page