summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-01-13 22:30:34 +0000
committernia <nia@pkgsrc.org>2020-01-13 22:30:34 +0000
commitcba01ba7d51030314cd32724f953b71011c7b327 (patch)
treeb354de957b1cc64daef2750121482a8bf57cd777 /misc
parent9c473815c8a43d99958296ed056cb9fe6ba44cd8 (diff)
downloadpkgsrc-cba01ba7d51030314cd32724f953b71011c7b327.tar.gz
misc: Add pixd.
pixd is a tool for visualizing binary data using a colour palette. It is in a lot of ways akin to a hexdump tool, except using coloured squares to represent each octet. pixd uses 24-bit color SGR escape sequences. For a list of terminal emulators with support for these, see XVilka's list of supporting terminal emulators: https://gist.github.com/XVilka/8346728
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile3
-rw-r--r--misc/pixd/DESCR7
-rw-r--r--misc/pixd/Makefile23
-rw-r--r--misc/pixd/PLIST3
-rw-r--r--misc/pixd/distinfo6
5 files changed, 41 insertions, 1 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 321ca54dd3c..489403d58f1 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.530 2020/01/13 22:29:24 nia Exp $
+# $NetBSD: Makefile,v 1.531 2020/01/13 22:30:34 nia Exp $
#
COMMENT= Miscellaneous utilities
@@ -241,6 +241,7 @@ SUBDIR+= pdmenu
SUBDIR+= php-orangehrm
SUBDIR+= pick
SUBDIR+= pinfo
+SUBDIR+= pixd
SUBDIR+= ppower
SUBDIR+= pty-redir
SUBDIR+= py-anita
diff --git a/misc/pixd/DESCR b/misc/pixd/DESCR
new file mode 100644
index 00000000000..c75d6f059e8
--- /dev/null
+++ b/misc/pixd/DESCR
@@ -0,0 +1,7 @@
+pixd is a tool for visualizing binary data using a colour palette. It is in
+a lot of ways akin to a hexdump tool, except using coloured squares to
+represent each octet.
+
+pixd uses 24-bit color SGR escape sequences. For a list of terminal emulators
+with support for these, see XVilka's list of supporting terminal emulators:
+https://gist.github.com/XVilka/8346728
diff --git a/misc/pixd/Makefile b/misc/pixd/Makefile
new file mode 100644
index 00000000000..b91afd32083
--- /dev/null
+++ b/misc/pixd/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/01/13 22:30:34 nia Exp $
+
+DISTNAME= pixd-1.0.0
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=FireyFly/}
+GITHUB_PROJECT= pixd
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/FireyFly/pixd
+COMMENT= Colourful visualization tool for binary files
+LICENSE= mit
+
+USE_TOOLS+= gmake
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/pixd ${DESTDIR}${PREFIX}/bin/pixd
+ ${INSTALL_DATA} ${WRKSRC}/pixd.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pixd.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/pixd/PLIST b/misc/pixd/PLIST
new file mode 100644
index 00000000000..99c96657c65
--- /dev/null
+++ b/misc/pixd/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/13 22:30:34 nia Exp $
+bin/pixd
+man/man1/pixd.1
diff --git a/misc/pixd/distinfo b/misc/pixd/distinfo
new file mode 100644
index 00000000000..27f079c0d48
--- /dev/null
+++ b/misc/pixd/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/13 22:30:34 nia Exp $
+
+SHA1 (pixd-1.0.0.tar.gz) = 55df5a553a9a9e4a3d726bcfa255ea6c3a47fb11
+RMD160 (pixd-1.0.0.tar.gz) = 2453c6da9dbdac618ff0a3fafbf19f31e41c8de9
+SHA512 (pixd-1.0.0.tar.gz) = 35549ff4602123bb7b63cf22334bd67a3960dbdf8b18652d3627baa0f792aa2fa8a1a451032f4165a20e98157d4a7d2be79e5a1aad4df84cfc9b563cd28c6757
+Size (pixd-1.0.0.tar.gz) = 207124 bytes