summaryrefslogtreecommitdiff
path: root/sysutils/hexyl/Makefile
blob: c81049951d03dbcbe7e0670d5a460c1c5e412d7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $FreeBSD$

PORTNAME=	hexyl
DISTVERSIONPREFIX=	v
DISTVERSION=	0.8.0
PORTREVISION=	5
CATEGORIES=	sysutils

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Command-line hex viewer

LICENSE=	APACHE20 MIT
LICENSE_COMB=	dual
LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	sharkdp

CARGO_CRATES=	ansi_term-0.11.0 \
		ansi_term-0.12.1 \
		atty-0.2.14 \
		bitflags-1.2.1 \
		clap-2.33.1 \
		hermit-abi-0.1.13 \
		libc-0.2.71 \
		strsim-0.8.0 \
		term_size-0.3.2 \
		textwrap-0.11.0 \
		unicode-width-0.1.7 \
		vec_map-0.8.2 \
		winapi-0.3.8 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-x86_64-pc-windows-gnu-0.4.0

PLIST_FILES=	bin/hexyl

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hexyl

.include <bsd.port.mk>