pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc misc: Add pixd.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9390bc06d4d
branches:  trunk
changeset: 408946:e9390bc06d4d
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jan 13 22:30:34 2020 +0000

description:
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:

 misc/Makefile      |   3 ++-
 misc/pixd/DESCR    |   7 +++++++
 misc/pixd/Makefile |  23 +++++++++++++++++++++++
 misc/pixd/PLIST    |   3 +++
 misc/pixd/distinfo |   6 ++++++
 5 files changed, 41 insertions(+), 1 deletions(-)

diffs (72 lines):

diff -r 08578244b47e -r e9390bc06d4d misc/Makefile
--- a/misc/Makefile     Mon Jan 13 22:29:24 2020 +0000
+++ b/misc/Makefile     Mon Jan 13 22:30:34 2020 +0000
@@ -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+=       php-orangehrm
 SUBDIR+=       pick
 SUBDIR+=       pinfo
+SUBDIR+=       pixd
 SUBDIR+=       ppower
 SUBDIR+=       pty-redir
 SUBDIR+=       py-anita
diff -r 08578244b47e -r e9390bc06d4d misc/pixd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/pixd/DESCR   Mon Jan 13 22:30:34 2020 +0000
@@ -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 -r 08578244b47e -r e9390bc06d4d misc/pixd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/pixd/Makefile        Mon Jan 13 22:30:34 2020 +0000
@@ -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@localhost
+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 -r 08578244b47e -r e9390bc06d4d misc/pixd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/pixd/PLIST   Mon Jan 13 22:30:34 2020 +0000
@@ -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 -r 08578244b47e -r e9390bc06d4d misc/pixd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/pixd/distinfo        Mon Jan 13 22:30:34 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index