1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add sysutils/vivid

vivid is a generator for the LS_COLORS environment variable that controls the
colorized output of ls, tree, fd, bfs, dust and many other tools.

It uses a YAML configuration format for the filetype-database and the color
themes. In contrast to dircolors, the database and the themes are organized in
different files. This allows users to choose and customize color themes
independent from the collection of file extensions. Instead of using cryptic
ANSI escape codes, colors can be specified in the RRGGBB format and will be
translated to either truecolor (24-bit) ANSI codes or 8-bit codes for older
terminal emulators.

WWW: https://github.com/sharkdp/vivid
This commit is contained in:
Mateusz Piotrowski 2021-02-24 17:21:54 +00:00
parent dc55a12876
commit 6864fa1474
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566490
4 changed files with 171 additions and 0 deletions

View File

@ -1460,6 +1460,7 @@
SUBDIR += vimpager
SUBDIR += virt-what
SUBDIR += virtualmin
SUBDIR += vivid
SUBDIR += vm-bhyve
SUBDIR += vmdktool
SUBDIR += vmtouch

67
sysutils/vivid/Makefile Normal file
View File

@ -0,0 +1,67 @@
# $FreeBSD$
PORTNAME= vivid
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.0
CATEGORIES= sysutils
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Themeable LS_COLORS generator with a rich filetype datebase
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_colours-1.0.1 \
ansi_term-0.11.0 \
arrayref-0.3.6 \
arrayvec-0.5.1 \
atty-0.2.14 \
autocfg-1.0.1 \
base64-0.12.3 \
bitflags-1.2.1 \
blake2b_simd-0.5.10 \
cc-1.0.60 \
cfg-if-0.1.10 \
clap-2.33.3 \
constant_time_eq-0.1.5 \
crossbeam-utils-0.7.2 \
dirs-3.0.1 \
dirs-sys-0.3.5 \
getrandom-0.1.15 \
hermit-abi-0.1.15 \
lazy_static-1.4.0 \
libc-0.2.77 \
linked-hash-map-0.5.3 \
proc-macro2-1.0.21 \
quote-1.0.7 \
redox_syscall-0.1.57 \
redox_users-0.3.5 \
rust-argon2-0.8.2 \
rust-embed-5.6.0 \
rust-embed-impl-5.6.0 \
rust-embed-utils-5.0.0 \
same-file-1.0.6 \
strsim-0.8.0 \
syn-1.0.41 \
term_size-0.3.2 \
textwrap-0.11.0 \
unicode-width-0.1.8 \
unicode-xid-0.2.1 \
vec_map-0.8.2 \
walkdir-2.3.1 \
wasi-0.9.0+wasi-snapshot-preview1 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
yaml-rust-0.4.4
PLIST_FILES= bin/vivid
.include <bsd.port.mk>

91
sysutils/vivid/distinfo Normal file
View File

@ -0,0 +1,91 @@
TIMESTAMP = 1614186930
SHA256 (rust/crates/ansi_colours-1.0.1.tar.gz) = 1d0f302a81afc6a7f4350c04f0ba7cfab529cc009bca3324b3fb5764e6add8b6
SIZE (rust/crates/ansi_colours-1.0.1.tar.gz) = 9937
SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b
SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087
SHA256 (rust/crates/arrayref-0.3.6.tar.gz) = a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544
SIZE (rust/crates/arrayref-0.3.6.tar.gz) = 10035
SHA256 (rust/crates/arrayvec-0.5.1.tar.gz) = cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8
SIZE (rust/crates/arrayvec-0.5.1.tar.gz) = 26816
SHA256 (rust/crates/atty-0.2.14.tar.gz) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
SIZE (rust/crates/atty-0.2.14.tar.gz) = 5470
SHA256 (rust/crates/autocfg-1.0.1.tar.gz) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a
SIZE (rust/crates/autocfg-1.0.1.tar.gz) = 12908
SHA256 (rust/crates/base64-0.12.3.tar.gz) = 3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff
SIZE (rust/crates/base64-0.12.3.tar.gz) = 57545
SHA256 (rust/crates/bitflags-1.2.1.tar.gz) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693
SIZE (rust/crates/bitflags-1.2.1.tar.gz) = 16745
SHA256 (rust/crates/blake2b_simd-0.5.10.tar.gz) = d8fb2d74254a3a0b5cac33ac9f8ed0e44aa50378d9dbb2e5d83bd21ed1dc2c8a
SIZE (rust/crates/blake2b_simd-0.5.10.tar.gz) = 34093
SHA256 (rust/crates/cc-1.0.60.tar.gz) = ef611cc68ff783f18535d77ddd080185275713d852c4f5cbb6122c462a7a825c
SIZE (rust/crates/cc-1.0.60.tar.gz) = 53351
SHA256 (rust/crates/cfg-if-0.1.10.tar.gz) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822
SIZE (rust/crates/cfg-if-0.1.10.tar.gz) = 7933
SHA256 (rust/crates/clap-2.33.3.tar.gz) = 37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002
SIZE (rust/crates/clap-2.33.3.tar.gz) = 201925
SHA256 (rust/crates/constant_time_eq-0.1.5.tar.gz) = 245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc
SIZE (rust/crates/constant_time_eq-0.1.5.tar.gz) = 4936
SHA256 (rust/crates/crossbeam-utils-0.7.2.tar.gz) = c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8
SIZE (rust/crates/crossbeam-utils-0.7.2.tar.gz) = 34338
SHA256 (rust/crates/dirs-3.0.1.tar.gz) = 142995ed02755914747cc6ca76fc7e4583cd18578746716d0508ea6ed558b9ff
SIZE (rust/crates/dirs-3.0.1.tar.gz) = 12245
SHA256 (rust/crates/dirs-sys-0.3.5.tar.gz) = 8e93d7f5705de3e49895a2b5e0b8855a1c27f080192ae9c32a6432d50741a57a
SIZE (rust/crates/dirs-sys-0.3.5.tar.gz) = 10643
SHA256 (rust/crates/getrandom-0.1.15.tar.gz) = fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6
SIZE (rust/crates/getrandom-0.1.15.tar.gz) = 24786
SHA256 (rust/crates/hermit-abi-0.1.15.tar.gz) = 3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9
SIZE (rust/crates/hermit-abi-0.1.15.tar.gz) = 9597
SHA256 (rust/crates/lazy_static-1.4.0.tar.gz) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
SIZE (rust/crates/lazy_static-1.4.0.tar.gz) = 10443
SHA256 (rust/crates/libc-0.2.77.tar.gz) = f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235
SIZE (rust/crates/libc-0.2.77.tar.gz) = 507233
SHA256 (rust/crates/linked-hash-map-0.5.3.tar.gz) = 8dd5a6d5999d9907cda8ed67bbd137d3af8085216c2ac62de5be860bd41f304a
SIZE (rust/crates/linked-hash-map-0.5.3.tar.gz) = 16130
SHA256 (rust/crates/proc-macro2-1.0.21.tar.gz) = 36e28516df94f3dd551a587da5357459d9b36d945a7c37c3557928c1c2ff2a2c
SIZE (rust/crates/proc-macro2-1.0.21.tar.gz) = 36909
SHA256 (rust/crates/quote-1.0.7.tar.gz) = aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37
SIZE (rust/crates/quote-1.0.7.tar.gz) = 25170
SHA256 (rust/crates/redox_syscall-0.1.57.tar.gz) = 41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce
SIZE (rust/crates/redox_syscall-0.1.57.tar.gz) = 17087
SHA256 (rust/crates/redox_users-0.3.5.tar.gz) = de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d
SIZE (rust/crates/redox_users-0.3.5.tar.gz) = 12644
SHA256 (rust/crates/rust-argon2-0.8.2.tar.gz) = 9dab61250775933275e84053ac235621dfb739556d5c54a2f2e9313b7cf43a19
SIZE (rust/crates/rust-argon2-0.8.2.tar.gz) = 28291
SHA256 (rust/crates/rust-embed-5.6.0.tar.gz) = 213acf1bc5a6dfcd70b62db1e9a7d06325c0e73439c312fcb8599d456d9686ee
SIZE (rust/crates/rust-embed-5.6.0.tar.gz) = 896698
SHA256 (rust/crates/rust-embed-impl-5.6.0.tar.gz) = 7903c2cf599db8f310b392332f38367ca4acc84420fa1aee3536299f433c10d5
SIZE (rust/crates/rust-embed-impl-5.6.0.tar.gz) = 3589
SHA256 (rust/crates/rust-embed-utils-5.0.0.tar.gz) = 97655158074ccb2d2cfb1ccb4c956ef0f4054e43a2c1e71146d4991e6961e105
SIZE (rust/crates/rust-embed-utils-5.0.0.tar.gz) = 1440
SHA256 (rust/crates/same-file-1.0.6.tar.gz) = 93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502
SIZE (rust/crates/same-file-1.0.6.tar.gz) = 10183
SHA256 (rust/crates/strsim-0.8.0.tar.gz) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a
SIZE (rust/crates/strsim-0.8.0.tar.gz) = 9309
SHA256 (rust/crates/syn-1.0.41.tar.gz) = 6690e3e9f692504b941dc6c3b188fd28df054f7fb8469ab40680df52fdcc842b
SIZE (rust/crates/syn-1.0.41.tar.gz) = 224979
SHA256 (rust/crates/term_size-0.3.2.tar.gz) = 1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9
SIZE (rust/crates/term_size-0.3.2.tar.gz) = 10917
SHA256 (rust/crates/textwrap-0.11.0.tar.gz) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060
SIZE (rust/crates/textwrap-0.11.0.tar.gz) = 17322
SHA256 (rust/crates/unicode-width-0.1.8.tar.gz) = 9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3
SIZE (rust/crates/unicode-width-0.1.8.tar.gz) = 16732
SHA256 (rust/crates/unicode-xid-0.2.1.tar.gz) = f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564
SIZE (rust/crates/unicode-xid-0.2.1.tar.gz) = 14392
SHA256 (rust/crates/vec_map-0.8.2.tar.gz) = f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191
SIZE (rust/crates/vec_map-0.8.2.tar.gz) = 14466
SHA256 (rust/crates/walkdir-2.3.1.tar.gz) = 777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d
SIZE (rust/crates/walkdir-2.3.1.tar.gz) = 23413
SHA256 (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.tar.gz) = cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519
SIZE (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.tar.gz) = 31521
SHA256 (rust/crates/winapi-0.3.9.tar.gz) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
SIZE (rust/crates/winapi-0.3.9.tar.gz) = 1200382
SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
SHA256 (rust/crates/winapi-util-0.1.5.tar.gz) = 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178
SIZE (rust/crates/winapi-util-0.1.5.tar.gz) = 10164
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
SHA256 (rust/crates/yaml-rust-0.4.4.tar.gz) = 39f0c922f1a334134dc2f7a8b67dc5d25f0735263feec974345ff706bcf20b0d
SIZE (rust/crates/yaml-rust-0.4.4.tar.gz) = 48359
SHA256 (sharkdp-vivid-v0.6.0_GH0.tar.gz) = c8640f524aef1cd4dc15286bdc6189894ad067ea79bf8c40b9ca8d9d752d161f
SIZE (sharkdp-vivid-v0.6.0_GH0.tar.gz) = 98743

12
sysutils/vivid/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
vivid is a generator for the LS_COLORS environment variable that controls the
colorized output of ls, tree, fd, bfs, dust and many other tools.
It uses a YAML configuration format for the filetype-database and the color
themes. In contrast to dircolors, the database and the themes are organized in
different files. This allows users to choose and customize color themes
independent from the collection of file extensions. Instead of using cryptic
ANSI escape codes, colors can be specified in the RRGGBB format and will be
translated to either truecolor (24-bit) ANSI codes or 8-bit codes for older
terminal emulators.
WWW: https://github.com/sharkdp/vivid