pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nextvi: import of 5.3



Module Name:	pkgsrc-wip
Committed By:	Bartosz Kuzma <bartosz.kuzma%gmail.com@localhost>
Pushed By:	bartosz.kuzma
Date:		Thu Jun 18 17:25:46 2026 +0200
Changeset:	24e03843e7194afacd3633eb4d0ce36433b3cb55

Modified Files:
	Makefile
Added Files:
	nextvi/DESCR
	nextvi/Makefile
	nextvi/PLIST
	nextvi/distinfo
	nextvi/patches/patch-Makefile

Log Message:
nextvi: import of 5.3

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=24e03843e7194afacd3633eb4d0ce36433b3cb55

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                      |  1 +
 nextvi/DESCR                  | 10 ++++++++++
 nextvi/Makefile               | 21 +++++++++++++++++++++
 nextvi/PLIST                  |  3 +++
 nextvi/distinfo               |  6 ++++++
 nextvi/patches/patch-Makefile | 13 +++++++++++++
 6 files changed, 54 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index b914f2e2c3..7174aaf3c8 100644
--- a/Makefile
+++ b/Makefile
@@ -2638,6 +2638,7 @@ SUBDIR+=	newt
 SUBDIR+=	nextpnr
 SUBDIR+=	nextpnr-himbaechel-gowin
 SUBDIR+=	nextpnr-ice40_update
+SUBDIR+=	nextvi
 SUBDIR+=	nfcapdu
 SUBDIR+=	nfstrace
 SUBDIR+=	ng-spice-dev
diff --git a/nextvi/DESCR b/nextvi/DESCR
new file mode 100644
index 0000000000..8bfc379a93
--- /dev/null
+++ b/nextvi/DESCR
@@ -0,0 +1,10 @@
+Nextvi is a modern clone of the command-line text editor vi(1),
+initially developed by Bill Joy in 1976 for Unix-based systems.
+Nextvi builds upon many standard features from vi(1) including
+a unique modal interface that allows users to switch between normal,
+insert, and command modes for efficient text manipulation.
+Additional enhancements include an unrestricted macro system,
+syntax highlighting, keymaps, bidirectional UTF-8 support, and
+numerous other features. Nextvi remains highly efficient, portable,
+and hackable, ensuring its continued relevance and high quality
+for years to come.
diff --git a/nextvi/Makefile b/nextvi/Makefile
new file mode 100644
index 0000000000..624dfeb7a9
--- /dev/null
+++ b/nextvi/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	nextvi-5.3
+CATEGORIES=	editors
+MASTER_SITES=	${MASTER_SITE_GITHUB:=kyx0r/}
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	bartosz.kuzma%gmail.com@localhost
+HOMEPAGE=	https://github.com/kyx0r/nextvi/
+COMMENT=	Small vi/ex terminal text editor
+LICENSE=	isc
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/vi \
+		${DESTDIR}${PREFIX}/bin/nextvi
+	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/vi.1 \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nextvi.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/nextvi/PLIST b/nextvi/PLIST
new file mode 100644
index 0000000000..c4c2a7d936
--- /dev/null
+++ b/nextvi/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/nextvi
+man/man1/nextvi.1
diff --git a/nextvi/distinfo b/nextvi/distinfo
new file mode 100644
index 0000000000..5e270ac978
--- /dev/null
+++ b/nextvi/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (nextvi-5.3.tar.gz) = 61c14bc8af3866deb6e05382d03968a1cb1d4bb1c8f457812315f760fda2540f
+SHA512 (nextvi-5.3.tar.gz) = 8641544f362faa412775179d4fd530d85b51776a10aa5f00be62aaf5001edcfe4347e8bab8a1e558c3d1af947785a02d233079145b84250ae012de6a466b72d0
+Size (nextvi-5.3.tar.gz) = 270343 bytes
+SHA1 (patch-Makefile) = 58d2d9bca1b98573395fc066118a5a00427b5685
diff --git a/nextvi/patches/patch-Makefile b/nextvi/patches/patch-Makefile
new file mode 100644
index 0000000000..4861348da7
--- /dev/null
+++ b/nextvi/patches/patch-Makefile
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Makefile.orig	2026-05-31 18:18:04.818630007 +0000
++++ Makefile
+@@ -12,8 +12,6 @@ CFLAGS := \
+ CFLAGS += -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE
+ CFLAGS += -MMD
+ 
+-CC = c99
+-
+ prefix = /usr/local
+ bindir := ${prefix}/bin
+ 


Home | Main Index | Thread Index | Old Index