summaryrefslogtreecommitdiff
path: root/sysutils/hexyl/Makefile
blob: 947fa0a4ad78c44b729445a5d5951972b63fd1be (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
43
44
45
46
47
48
49
50
51
52
# $FreeBSD$

PORTNAME=	hexyl
DISTVERSIONPREFIX=	v
DISTVERSION=	0.5.1
PORTREVISION=	3
CATEGORIES=	sysutils

MAINTAINER=	tobik@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 \
		atty-0.2.11 \
		bitflags-1.0.4 \
		cc-1.0.37 \
		cfg-if-0.1.9 \
		clap-2.33.0 \
		ctrlc-3.1.2 \
		kernel32-sys-0.2.2 \
		libc-0.2.55 \
		nix-0.13.0 \
		numtoa-0.1.0 \
		redox_syscall-0.1.54 \
		redox_termios-0.1.1 \
		strsim-0.8.0 \
		term_size-0.3.1 \
		termion-1.5.2 \
		textwrap-0.11.0 \
		unicode-width-0.1.5 \
		vec_map-0.8.1 \
		void-1.0.2 \
		winapi-0.2.8 \
		winapi-0.3.7 \
		winapi-build-0.1.1 \
		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>