pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/editors
Module Name: pkgsrc
Committed By: agc
Date: Wed Oct 7 00:14:48 UTC 2026
Modified Files:
pkgsrc/editors: Makefile
Added Files:
pkgsrc/editors/eh: DESCR Makefile PLIST distinfo
Log Message:
Add and enable editors/eh, version 1.9.0, to the packages collection
A minimalist version of vi(1). It is an example of the "Buffer Gap"
method outlined in the The Craft Of Text Editing used by many Emacs
style editors.
Create or read a text file to edit. Text files consists of lines of
printable UTF-8 text, tabs, or newline characters. A physical line
can be of arbitrary length and is delimited by either a newline or the
end of file. Tab stops are every eight columns. The behaviour of
non-printable characters may vary depending on the implementation of
the Curses library, stty(1) settings, or terminal emulator.
eh was the winner of IOCCC28, catalogued as 2024/howe
To generate a diff of this commit:
cvs rdiff -u -r1.270 -r1.271 pkgsrc/editors/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/eh/DESCR pkgsrc/editors/eh/Makefile \
pkgsrc/editors/eh/PLIST pkgsrc/editors/eh/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/editors/Makefile
diff -u pkgsrc/editors/Makefile:1.270 pkgsrc/editors/Makefile:1.271
--- pkgsrc/editors/Makefile:1.270 Sat Sep 12 14:31:52 2026
+++ pkgsrc/editors/Makefile Wed Oct 7 00:14:48 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.270 2026/09/12 14:31:52 wiz Exp $
+# $NetBSD: Makefile,v 1.271 2026/10/07 00:14:48 agc Exp $
#
COMMENT= Text and binary editors
@@ -27,6 +27,7 @@ SUBDIR+= ed
SUBDIR+= edt
SUBDIR+= edt-o3one
SUBDIR+= ee
+SUBDIR+= eh
SUBDIR+= elvis
SUBDIR+= elvis-x11
SUBDIR+= em
Added files:
Index: pkgsrc/editors/eh/DESCR
diff -u /dev/null pkgsrc/editors/eh/DESCR:1.1
--- /dev/null Wed Oct 7 00:14:48 2026
+++ pkgsrc/editors/eh/DESCR Wed Oct 7 00:14:48 2026
@@ -0,0 +1,10 @@
+A minimalist version of vi(1). It is an example of the "Buffer Gap"
+method outlined in the The Craft Of Text Editing used by many Emacs
+style editors.
+
+Create or read a text file to edit. Text files consists of lines of
+printable UTF-8 text, tabs, or newline characters. A physical line
+can be of arbitrary length and is delimited by either a newline or the
+end of file. Tab stops are every eight columns. The behaviour of
+non-printable characters may vary depending on the implementation of
+the Curses library, stty(1) settings, or terminal emulator.
Index: pkgsrc/editors/eh/Makefile
diff -u /dev/null pkgsrc/editors/eh/Makefile:1.1
--- /dev/null Wed Oct 7 00:14:48 2026
+++ pkgsrc/editors/eh/Makefile Wed Oct 7 00:14:48 2026
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2026/10/07 00:14:48 agc Exp $
+
+DISTNAME= eh-${VERSION}
+VERSION= 1.9.0
+CATEGORIES= editors
+MASTER_SITES= -${MASTER_SITE_CODEBERG:=SirWumpus/eh/archive/v${VERSION}.tar.gz}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://codeberg.org/SirWumpus/eh
+COMMENT= Minimalist version of the vi editor
+LICENSE= 2-clause-bsd
+
+WRKSRC= ${WRKDIR}/eh
+
+USE_LANGUAGES= c
+
+USE_BSD_MAKEFILE= yes
+AUTO_MKDIRS= yes
+TEST_TARGET= t
+
+_WRAP_EXTRA_ARGS.CC+= ${_RELRO_LDFLAGS}
+CWRAPPERS_PREPEND.cc+= ${_RELRO_LDFLAGS}
+DATE_CMD= date -u +'%a, %d %b %Y %H:%M:%SZ'
+BUILT= ${DATE_CMD:sh}
+CPPFLAGS+= -DBUILT="\"${BUILT}\"" -DVERSION="\"${VERSION}\""
+
+do-build:
+ (cd ${WRKSRC} && ${CC} ${CPPFLAGS} eh.c -o eh -lcurses)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/eh ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/curses.buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/editors/eh/PLIST
diff -u /dev/null pkgsrc/editors/eh/PLIST:1.1
--- /dev/null Wed Oct 7 00:14:48 2026
+++ pkgsrc/editors/eh/PLIST Wed Oct 7 00:14:48 2026
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2026/10/07 00:14:48 agc Exp $
+bin/eh
Index: pkgsrc/editors/eh/distinfo
diff -u /dev/null pkgsrc/editors/eh/distinfo:1.1
--- /dev/null Wed Oct 7 00:14:48 2026
+++ pkgsrc/editors/eh/distinfo Wed Oct 7 00:14:48 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/10/07 00:14:48 agc Exp $
+
+BLAKE2s (eh-1.9.0.tar.gz) = 6d0a1b68e7645b4d8034a11322dcdbc7b1d4c51c29f67ed925d37bd8baadddb5
+SHA512 (eh-1.9.0.tar.gz) = 41432003af57c6d3805b2b1566efd7efa4cde1552e4af571d1bf66740c6fc3dfee9705c1ed0057e3a0096c145c628353c33338f84e337cd4387885c221deedd9
+Size (eh-1.9.0.tar.gz) = 171387 bytes
Home |
Main Index |
Thread Index |
Old Index