summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-12-12 13:32:51 +0000
committernia <nia@pkgsrc.org>2020-12-12 13:32:51 +0000
commitef47066943caed0d2b7f2cd4d77a2cc3be2f3311 (patch)
treeff3dc6a5271ca0a9c91f4f3a1d893c1dcfb9958b /editors
parentc32bbe17fb1a17d613739991500d38161075ab14 (diff)
downloadpkgsrc-ef47066943caed0d2b7f2cd4d77a2cc3be2f3311.tar.gz
Add editors/hexer.
The hexer utility is a multi-buffer editor for binary files for Unix-like systems that displays its buffer(s) as a hex dump. The user interface is kept similar to vi/ex.
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile3
-rw-r--r--editors/hexer/DESCR3
-rw-r--r--editors/hexer/Makefile15
-rw-r--r--editors/hexer/PLIST3
-rw-r--r--editors/hexer/distinfo7
-rw-r--r--editors/hexer/patches/patch-tio.c14
6 files changed, 44 insertions, 1 deletions
diff --git a/editors/Makefile b/editors/Makefile
index af2ecbe40a0..b8a0ace40b9 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.214 2020/11/28 15:56:45 maya Exp $
+# $NetBSD: Makefile,v 1.215 2020/12/12 13:32:51 nia Exp $
#
COMMENT= Editors
@@ -59,6 +59,7 @@ SUBDIR+= gummi
SUBDIR+= heme
SUBDIR+= hexcurse
SUBDIR+= hexedit
+SUBDIR+= hexer
SUBDIR+= hnb
SUBDIR+= javascript-mode
SUBDIR+= jde
diff --git a/editors/hexer/DESCR b/editors/hexer/DESCR
new file mode 100644
index 00000000000..0b7e3f137e3
--- /dev/null
+++ b/editors/hexer/DESCR
@@ -0,0 +1,3 @@
+The hexer utility is a multi-buffer editor for binary files for Unix-like
+systems that displays its buffer(s) as a hex dump. The user interface is
+kept similar to vi/ex.
diff --git a/editors/hexer/Makefile b/editors/hexer/Makefile
new file mode 100644
index 00000000000..56fa16df2fe
--- /dev/null
+++ b/editors/hexer/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/12/12 13:32:51 nia Exp $
+
+DISTNAME= hexer-1.0.6
+CATEGORIES= editors
+MASTER_SITES= https://devel.ringlet.net/files/editors/hexer/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://devel.ringlet.net/editors/hexer/
+COMMENT= Vi-like binary editor
+LICENSE= hexer-license
+
+MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/hexer/PLIST b/editors/hexer/PLIST
new file mode 100644
index 00000000000..9458d334a85
--- /dev/null
+++ b/editors/hexer/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/12 13:32:51 nia Exp $
+bin/hexer
+man/hexer.1
diff --git a/editors/hexer/distinfo b/editors/hexer/distinfo
new file mode 100644
index 00000000000..5b92ce61ed1
--- /dev/null
+++ b/editors/hexer/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/12/12 13:32:51 nia Exp $
+
+SHA1 (hexer-1.0.6.tar.gz) = a4569854b2991d6c74098a4d8663e38dab8386b5
+RMD160 (hexer-1.0.6.tar.gz) = 98840d75640a5d2e41f1a3a9beee6e93297e7b49
+SHA512 (hexer-1.0.6.tar.gz) = fc34037fa815b6f360572aa488a0a19d831d7f4d8a4d71f8882c75f727752b5381a84338a0eba077487e468f443ce954f854e80df710802ea94d6a23ee871630
+Size (hexer-1.0.6.tar.gz) = 129486 bytes
+SHA1 (patch-tio.c) = dc76324d87394dd111a3579c2f02d0bd96d3cb5d
diff --git a/editors/hexer/patches/patch-tio.c b/editors/hexer/patches/patch-tio.c
new file mode 100644
index 00000000000..049aae8a7d0
--- /dev/null
+++ b/editors/hexer/patches/patch-tio.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-tio.c,v 1.1 2020/12/12 13:32:51 nia Exp $
+
+Include stdarg.h for va_list.
+
+--- tio.c.orig 2020-04-24 13:06:48.000000000 +0000
++++ tio.c
+@@ -59,6 +59,7 @@
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <string.h>
++#include <stdarg.h>
+ #include <stdlib.h>
+ #include <errno.h>
+ #include <assert.h>