diff options
author | nia <nia@pkgsrc.org> | 2020-01-13 22:30:34 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-01-13 22:30:34 +0000 |
commit | cba01ba7d51030314cd32724f953b71011c7b327 (patch) | |
tree | b354de957b1cc64daef2750121482a8bf57cd777 /misc/pixd | |
parent | 9c473815c8a43d99958296ed056cb9fe6ba44cd8 (diff) | |
download | pkgsrc-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/pixd')
-rw-r--r-- | misc/pixd/DESCR | 7 | ||||
-rw-r--r-- | misc/pixd/Makefile | 23 | ||||
-rw-r--r-- | misc/pixd/PLIST | 3 | ||||
-rw-r--r-- | misc/pixd/distinfo | 6 |
4 files changed, 39 insertions, 0 deletions
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 |