summaryrefslogtreecommitdiff
path: root/textproc/riffdiff/Makefile
blob: 0b1a6bd241e6d1492bc09e0bc0f24c305e11614d (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
PORTNAME=	riffdiff
DISTVERSION=	2.26.0
PORTREVISION=	1
CATEGORIES=	textproc

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Diff filter highlighting which line parts have changed
WWW=		https://github.com/walles/riff

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	moar:textproc/moar

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	walles
GH_PROJECT=	riff

CARGO_CRATES=	addr2line-0.14.0 \
		adler-0.2.3 \
		aho-corasick-0.7.18 \
		ansi_term-0.11.0 \
		anstream-0.5.0 \
		anstyle-1.0.2 \
		anstyle-parse-0.2.1 \
		anstyle-query-1.0.0 \
		anstyle-wincon-2.1.0 \
		autocfg-1.0.1 \
		backtrace-0.3.54 \
		bitflags-1.3.2 \
		bytecount-0.6.2 \
		cc-1.0.79 \
		cfg-if-1.0.0 \
		clap-4.4.2 \
		clap_builder-4.4.2 \
		clap_derive-4.4.2 \
		clap_lex-0.5.1 \
		colorchoice-1.0.0 \
		ctor-0.1.16 \
		difference-2.0.0 \
		diffus-0.10.0 \
		either-1.6.1 \
		errno-0.2.8 \
		errno-dragonfly-0.1.2 \
		fastrand-1.9.0 \
		gimli-0.23.0 \
		git-version-0.3.4 \
		git-version-macro-0.3.4 \
		heck-0.4.1 \
		hermit-abi-0.1.19 \
		instant-0.1.12 \
		io-lifetimes-1.0.6 \
		itertools-0.10.1 \
		lazy_static-1.4.0 \
		libc-0.2.140 \
		linux-raw-sys-0.1.4 \
		memchr-2.5.0 \
		miniz_oxide-0.4.3 \
		num_cpus-1.13.0 \
		object-0.22.0 \
		output_vt100-0.1.2 \
		pretty_assertions-0.6.1 \
		proc-macro-hack-0.5.19 \
		proc-macro2-1.0.66 \
		quote-1.0.33 \
		redox_syscall-0.2.10 \
		regex-1.5.5 \
		regex-syntax-0.6.26 \
		rustc-demangle-0.1.18 \
		rustix-0.36.9 \
		strsim-0.10.0 \
		syn-1.0.48 \
		syn-2.0.30 \
		tempfile-3.4.0 \
		threadpool-1.8.1 \
		unicode-ident-1.0.11 \
		unicode-xid-0.2.1 \
		utf8parse-0.2.1 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-sys-0.42.0 \
		windows-sys-0.45.0 \
		windows-sys-0.48.0 \
		windows-targets-0.42.1 \
		windows-targets-0.48.5 \
		windows_aarch64_gnullvm-0.42.1 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_msvc-0.42.1 \
		windows_aarch64_msvc-0.48.5 \
		windows_i686_gnu-0.42.1 \
		windows_i686_gnu-0.48.5 \
		windows_i686_msvc-0.42.1 \
		windows_i686_msvc-0.48.5 \
		windows_x86_64_gnu-0.42.1 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnullvm-0.42.1 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_msvc-0.42.1 \
		windows_x86_64_msvc-0.48.5

PLIST_FILES=	bin/riff

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

.include <bsd.port.mk>