head	1.14;
access;
symbols
	pkgsrc-2026Q1:1.14.0.2
	pkgsrc-2026Q1-base:1.14
	pkgsrc-2025Q4:1.13.0.6
	pkgsrc-2025Q4-base:1.13
	pkgsrc-2025Q3:1.13.0.4
	pkgsrc-2025Q3-base:1.13
	pkgsrc-2025Q2:1.13.0.2
	pkgsrc-2025Q2-base:1.13
	pkgsrc-2025Q1:1.12.0.2
	pkgsrc-2025Q1-base:1.12
	pkgsrc-2024Q4:1.11.0.2
	pkgsrc-2024Q4-base:1.11
	pkgsrc-2024Q3:1.10.0.8
	pkgsrc-2024Q3-base:1.10
	pkgsrc-2024Q2:1.10.0.6
	pkgsrc-2024Q2-base:1.10
	pkgsrc-2024Q1:1.10.0.4
	pkgsrc-2024Q1-base:1.10
	pkgsrc-2023Q4:1.10.0.2
	pkgsrc-2023Q4-base:1.10
	pkgsrc-2023Q3:1.9.0.2
	pkgsrc-2023Q3-base:1.9
	pkgsrc-2023Q2:1.6.0.2
	pkgsrc-2023Q2-base:1.6
	pkgsrc-2023Q1:1.5.0.4
	pkgsrc-2023Q1-base:1.5
	pkgsrc-2022Q4:1.5.0.2
	pkgsrc-2022Q4-base:1.5
	pkgsrc-2022Q3:1.3.0.4
	pkgsrc-2022Q3-base:1.3
	pkgsrc-2022Q2:1.3.0.2
	pkgsrc-2022Q2-base:1.3
	pkgsrc-2022Q1:1.2.0.2
	pkgsrc-2022Q1-base:1.2;
locks; strict;
comment	@# @;


1.14
date	2026.02.17.13.12.59;	author pin;	state Exp;
branches;
next	1.13;
commitid	ua8QhYtvBTYzpJuG;

1.13
date	2025.04.02.17.47.55;	author pin;	state Exp;
branches;
next	1.12;
commitid	aLzgEKur44BzfvPF;

1.12
date	2024.12.27.21.25.14;	author pin;	state Exp;
branches;
next	1.11;
commitid	n56am7PbylqsxbDF;

1.11
date	2024.10.30.18.49.29;	author pin;	state Exp;
branches;
next	1.10;
commitid	gVv5zfG0eHiExIvF;

1.10
date	2023.12.17.06.58.48;	author pin;	state Exp;
branches;
next	1.9;
commitid	PnMghdCSfglAPMQE;

1.9
date	2023.09.13.08.10.40;	author pin;	state Exp;
branches;
next	1.8;
commitid	hLP1ICOQn3mqhAEE;

1.8
date	2023.09.10.18.34.07;	author pin;	state Exp;
branches;
next	1.7;
commitid	q56BI9ySc9lnPfEE;

1.7
date	2023.07.26.19.37.47;	author pin;	state Exp;
branches;
next	1.6;
commitid	FyVAf2aLV5nWElyE;

1.6
date	2023.05.11.09.43.25;	author pin;	state Exp;
branches;
next	1.5;
commitid	jZlooFUfy2RuOwoE;

1.5
date	2022.12.08.10.55.17;	author pin;	state Exp;
branches;
next	1.4;
commitid	iX0k7q1XYNf3aK4E;

1.4
date	2022.12.05.11.22.39;	author pin;	state Exp;
branches;
next	1.3;
commitid	LvZYOM9zyxJppm4E;

1.3
date	2022.05.23.07.05.42;	author pin;	state Exp;
branches;
next	1.2;
commitid	sQpTlUhqfgESh9FD;

1.2
date	2022.01.13.20.32.08;	author wiz;	state Exp;
branches;
next	1.1;
commitid	FrGb8ohXI2UzVvoD;

1.1
date	2022.01.13.14.13.59;	author schmonz;	state Exp;
branches;
next	;
commitid	IOEzwsTSm42LPtoD;


desc
@@


1.14
log
@sysutils/hexyl: update to 0.17.0

What's Changed

    Enable custom colors with environment variables by @@dan-hipschman in #248
    Add new braille character table and color schemes by @@aticu in #247
    Add shell completion by @@friedz in #251
    Add option to output result in C include file style (#242) by @@wpcwzy in #246
    Fix some clippy warnings by @@saulvaldelvira in #241
    Fix issue #238 by @@ilmanzo in #239
    Fix CI by @@dan-hipschman in #249
    Check if terminal_width is less than offset and return 1 (see #244) by @@selfup in #245
    Add colors to --help by @@starsep in #253
    Improve crate && fix CI by @@Its-Just-Nans in #256
    feat: handle standard input "-" by @@Its-Just-Nans in #257
@
text
@# $NetBSD: Makefile,v 1.13 2025/04/02 17:47:55 pin Exp $

DISTNAME=	hexyl-0.17.0
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_GITHUB:=sharkdp/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/sharkdp/hexyl/
COMMENT=	Command-line hex viewer
LICENSE=	apache-2.0

TOOL_DEPENDS+=	go-md2man-[0-9]*:../../textproc/go-md2man

.include "cargo-depends.mk"

RUST_REQ=		1.88.0
INSTALLATION_DIRS=	${PKGMANDIR}/man1

# Use go-md2man to generate manpages and install them
post-install:
	go-md2man < ${WRKSRC}/doc/hexyl.1.md > ${WRKSRC}/doc/hexyl.1
	${INSTALL_MAN} ${WRKSRC}/doc/hexyl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
@


1.13
log
@sysutils/hexyl: reset maintainer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2024/12/27 21:25:14 pin Exp $
d3 1
a3 1
DISTNAME=	hexyl-0.16.0
d17 1
a17 1
RUST_REQ=		1.74.0
@


1.12
log
@sysutils/hexyl: update to 0.16.0

Features

    New --print-color-table option, see #229 (@@sahinfalcon)

Bugfixes

    Throw an error when try to view a directory, see #234 (@@Integral-Tech)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/10/30 18:49:29 pin Exp $
d8 1
a8 1
MAINTAINER=	pin@@NetBSD.org
@


1.11
log
@sysutils/hexyl: update to 0.15.0

Features
    Add codepage 1047 for EBCDIC, see #226 (@@v1gnesh)

Other
    Rewrite CLI using the derive API, see #225 (@@sorairolake)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/12/17 06:58:48 pin Exp $
d3 1
a3 1
DISTNAME=	hexyl-0.15.0
d17 1
@


1.10
log
@sysutils/hexyl: update to 0.14.0

Features
 - New --character-table option, with the ability to use codepage 437,
   see #194 and #195 (@@sharifhsn)
 - New --character-table=ascii option for a ASCII-only character table,
   see #212 and #36 (@@sharkdp)

Bugfixes
 - Show output when doing hexyl /dev/zero, see #211 (@@sharifhsn)
 - Respect NO_COLOR environment variable, see #210 (@@sharkdp)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/09/13 08:10:40 pin Exp $
d3 1
a3 1
DISTNAME=	hexyl-0.14.0
@


1.9
log
@sysutils/hexyl: generate manpage when building
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/09/10 18:34:07 pin Exp $
d3 1
a3 2
DISTNAME=	hexyl-0.13.1
PKGREVISION=	2
d8 1
a8 1
MAINTAINER=	pkgsrc-users@@NetBSD.org
@


1.8
log
@sysutils/hexyl: install man page
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/07/26 19:37:47 pin Exp $
d4 1
a4 1
PKGREVISION=	1
d14 2
d20 1
a20 3
post-build:
	${CP} ${FILESDIR}/hexyl.1 ${WRKDIR}/hexyl.1

d22 2
a23 1
	${INSTALL_MAN} ${WRKDIR}/hexyl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
@


1.7
log
@sysutils/hexyl: update to 0.13.1

v0.13.1
Bugfixes
 - Correctly handle discontinuous input (stdin), see #196 and #197 (@@sharifhsn)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/05/11 09:43:25 pin Exp $
d4 1
d16 1
a16 1
INSTALLATION_DIRS=	bin
d18 5
a22 3
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/${PKGBASE} \
		${DESTDIR}${PREFIX}/bin
@


1.6
log
@sysutils/hexyl: update to 0.13.0

Features
 - Support both little and big Endian dumps using --endianness={little,big},
 see #189 and #104 (@@RinHizakura)

Changes
 - Breaking: Changed the meaning of the short flag -C to be consistent with
 hexdump -C. Previously, this would hide the character panel, but now -C shows
 the character panel, in case it has been previously (e.g. in an alias)
 disabled with --no-characters, see #187 (@@sharkdp)

hexyl as a library
 - New endianness method for PrinterBuilder
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/12/08 10:55:17 pin Exp $
d3 1
a3 1
DISTNAME=	hexyl-0.13.0
@


1.5
log
@sysutils/hexyl: update to 0.12.0

Features
 - Only show one panel by default if the terminal width is not wide enough for
   two panels, see #182 (@@sharkdp)
 - Respect the NO_COLOR environment variable, see #179 (@@sharifhsn)

Bugfixes
 - Do not fail with an error if --panels=auto is used and the output is piped,
   see #184 (@@sharkdp)

Changes
 - Breaking: For xxd-compatibility reasons, --group_bytes has been renamed
   to --group-size (with an --groupsize alias), see #121 (@@sharkdp)

hexyl as a library
 - Breaking: num_group_bytes has been renamed to group_size.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/12/05 11:22:39 pin Exp $
d3 1
a3 1
DISTNAME=	hexyl-0.12.0
@


1.4
log
@sysutils/hexyl: update to 0.11.0

Features
 - Significantly improved performance, see #173 and #176 (@@sharifhsn)
 - Added variable panels through the --panels and --terminal-width flags,
   see #13 and #164 (@@sharifhsn)
 - Added new --group-bytes/-g option, see #104 and #170 (@@RinHizakura)
 - Added new --base B option (where B can be binary, octal, decimal or
   hexadecimal), see #147 and #178 (@@sharifhsn)
 - Show actual zero bytes as ⋄ in the character panel (previously: 0), in
   order not to confuse them with ASCII
 - 0 bytes if colors are deactivated. Closes #166 (@@sharkdp)

hexyl as a library
 - Breaking change: Printer::new is deprecated as a part of the public API.
   Alternatively, you can now construct a Printer using the PrinterBuilder
   builder API, see #168. (@@sharifhsn)

Other
 - More tests for the squeezing feature, see #177 (@@mkatychev)

Thank you
 - Special thanks go to @@sharifhsn, not just for the new features, bugfixes
   and performance improvements. But also for many internal improvements of
   the code base and other maintenance tasks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/05/23 07:05:42 pin Exp $
d3 1
a3 1
DISTNAME=	hexyl-0.11.0
@


1.3
log
@sysutils/hexyl: update to 0.10.0

Features
-Added new --plain, --no-characters, and --no-position flags
-Allow hex numbers and units for --block-size argument

Other
-Added a man page
 not installed on NetBSD for now,
 see https://github.com/sharkdp/hexyl/issues/159
-Mention ability to specify length in hex
 --length and --bytes are now marked as conflicting command-line options
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/01/13 20:32:08 wiz Exp $
d3 1
a3 1
DISTNAME=	hexyl-0.10.0
@


1.2
log
@hexyl: move cargo depends to cargo-depends.mk to simplify updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2022/01/13 14:13:59 schmonz Exp $
d3 1
a3 1
DISTNAME=	hexyl-0.9.0
a14 2
USE_LANGUAGES=		c

d18 2
a19 1
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/${PKGBASE} ${DESTDIR}${PREFIX}/bin
@


1.1
log
@Add hexyl, a simple hex viewer for the terminal. It uses a colored
output to distinguish different categories of bytes (NULL bytes,
printable ASCII characters, ASCII whitespace characters, other ASCII
characters and non-ASCII).
@
text
@d1 1
a1 1
# $NetBSD$
d13 1
a13 42
CARGO_CRATE_DEPENDS+=	aho-corasick-0.7.18
CARGO_CRATE_DEPENDS+=	ansi_term-0.11.0
CARGO_CRATE_DEPENDS+=	ansi_term-0.12.1
CARGO_CRATE_DEPENDS+=	anyhow-1.0.42
CARGO_CRATE_DEPENDS+=	assert_cmd-1.0.7
CARGO_CRATE_DEPENDS+=	atty-0.2.14
CARGO_CRATE_DEPENDS+=	autocfg-1.0.1
CARGO_CRATE_DEPENDS+=	bitflags-1.2.1
CARGO_CRATE_DEPENDS+=	bstr-0.2.16
CARGO_CRATE_DEPENDS+=	clap-2.33.3
CARGO_CRATE_DEPENDS+=	difflib-0.4.0
CARGO_CRATE_DEPENDS+=	doc-comment-0.3.3
CARGO_CRATE_DEPENDS+=	either-1.6.1
CARGO_CRATE_DEPENDS+=	float-cmp-0.8.0
CARGO_CRATE_DEPENDS+=	hermit-abi-0.1.19
CARGO_CRATE_DEPENDS+=	itertools-0.10.1
CARGO_CRATE_DEPENDS+=	lazy_static-1.4.0
CARGO_CRATE_DEPENDS+=	libc-0.2.98
CARGO_CRATE_DEPENDS+=	memchr-2.4.0
CARGO_CRATE_DEPENDS+=	normalize-line-endings-0.3.0
CARGO_CRATE_DEPENDS+=	num-traits-0.2.14
CARGO_CRATE_DEPENDS+=	predicates-2.0.0
CARGO_CRATE_DEPENDS+=	predicates-core-1.0.2
CARGO_CRATE_DEPENDS+=	predicates-tree-1.0.2
CARGO_CRATE_DEPENDS+=	proc-macro2-1.0.27
CARGO_CRATE_DEPENDS+=	quote-1.0.9
CARGO_CRATE_DEPENDS+=	regex-1.5.4
CARGO_CRATE_DEPENDS+=	regex-automata-0.1.10
CARGO_CRATE_DEPENDS+=	regex-syntax-0.6.25
CARGO_CRATE_DEPENDS+=	strsim-0.8.0
CARGO_CRATE_DEPENDS+=	syn-1.0.73
CARGO_CRATE_DEPENDS+=	term_size-0.3.2
CARGO_CRATE_DEPENDS+=	textwrap-0.11.0
CARGO_CRATE_DEPENDS+=	thiserror-1.0.26
CARGO_CRATE_DEPENDS+=	thiserror-impl-1.0.26
CARGO_CRATE_DEPENDS+=	treeline-0.1.0
CARGO_CRATE_DEPENDS+=	unicode-width-0.1.8
CARGO_CRATE_DEPENDS+=	unicode-xid-0.2.2
CARGO_CRATE_DEPENDS+=	wait-timeout-0.2.0
CARGO_CRATE_DEPENDS+=	winapi-0.3.9
CARGO_CRATE_DEPENDS+=	winapi-i686-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+=	winapi-x86_64-pc-windows-gnu-0.4.0
@

