git: 1f67ed384660 - main - misc/lscolors: New port: Tool to colorize paths using LS_COLORS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Jan 2023 05:59:22 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f67ed3846605f260d2c436e12e245bbe3de3da2 commit 1f67ed3846605f260d2c436e12e245bbe3de3da2 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-05 01:34:58 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-05 05:59:15 +0000 misc/lscolors: New port: Tool to colorize paths using LS_COLORS --- misc/Makefile | 1 + misc/lscolors/Makefile | 62 ++++++++++++++++++++++++++++++++++++++++ misc/lscolors/distinfo | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ misc/lscolors/pkg-descr | 2 ++ 4 files changed, 140 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index bee1932c64b2..5859df9246da 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -239,6 +239,7 @@ SUBDIR += locale-en_DK SUBDIR += localedata SUBDIR += logsurfer + SUBDIR += lscolors SUBDIR += lv SUBDIR += lxde-common SUBDIR += lxi-tools diff --git a/misc/lscolors/Makefile b/misc/lscolors/Makefile new file mode 100644 index 000000000000..07db489411ed --- /dev/null +++ b/misc/lscolors/Makefile @@ -0,0 +1,62 @@ +PORTNAME= lscolors +DISTVERSIONPREFIX= v +DISTVERSION= 0.13.0 +CATEGORIES= misc + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Tool to colorize paths using LS_COLORS +WWW= https://github.com/sharkdp/lscolors + +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.12.1 \ + autocfg-1.1.0 \ + bitflags-1.3.2 \ + cfg-if-1.0.0 \ + crossterm-0.25.0 \ + crossterm_winapi-0.9.0 \ + fastrand-1.8.0 \ + instant-0.1.12 \ + libc-0.2.139 \ + lock_api-0.4.9 \ + log-0.4.17 \ + mio-0.8.5 \ + nu-ansi-term-0.46.0 \ + overload-0.1.1 \ + parking_lot-0.12.1 \ + parking_lot_core-0.9.5 \ + redox_syscall-0.2.16 \ + remove_dir_all-0.5.3 \ + scopeguard-1.1.0 \ + signal-hook-0.3.14 \ + signal-hook-mio-0.2.3 \ + signal-hook-registry-1.4.0 \ + smallvec-1.10.0 \ + tempfile-3.3.0 \ + wasi-0.11.0+wasi-snapshot-preview1 \ + 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_aarch64_gnullvm-0.42.0 \ + windows_aarch64_msvc-0.42.0 \ + windows_i686_gnu-0.42.0 \ + windows_i686_msvc-0.42.0 \ + windows_x86_64_gnu-0.42.0 \ + windows_x86_64_gnullvm-0.42.0 \ + windows_x86_64_msvc-0.42.0 + +PLIST_FILES= bin/${PORTNAME} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/misc/lscolors/distinfo b/misc/lscolors/distinfo new file mode 100644 index 000000000000..0094c081e080 --- /dev/null +++ b/misc/lscolors/distinfo @@ -0,0 +1,75 @@ +TIMESTAMP = 1672882243 +SHA256 (rust/crates/ansi_term-0.12.1.crate) = d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2 +SIZE (rust/crates/ansi_term-0.12.1.crate) = 24838 +SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa +SIZE (rust/crates/autocfg-1.1.0.crate) = 13272 +SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a +SIZE (rust/crates/bitflags-1.3.2.crate) = 23021 +SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd +SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 +SHA256 (rust/crates/crossterm-0.25.0.crate) = e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67 +SIZE (rust/crates/crossterm-0.25.0.crate) = 116533 +SHA256 (rust/crates/crossterm_winapi-0.9.0.crate) = 2ae1b35a484aa10e07fe0638d02301c5ad24de82d310ccbd2f3693da5f09bf1c +SIZE (rust/crates/crossterm_winapi-0.9.0.crate) = 15561 +SHA256 (rust/crates/fastrand-1.8.0.crate) = a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499 +SIZE (rust/crates/fastrand-1.8.0.crate) = 11369 +SHA256 (rust/crates/instant-0.1.12.crate) = 7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c +SIZE (rust/crates/instant-0.1.12.crate) = 6128 +SHA256 (rust/crates/libc-0.2.139.crate) = 201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79 +SIZE (rust/crates/libc-0.2.139.crate) = 638983 +SHA256 (rust/crates/lock_api-0.4.9.crate) = 435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df +SIZE (rust/crates/lock_api-0.4.9.crate) = 25685 +SHA256 (rust/crates/log-0.4.17.crate) = abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e +SIZE (rust/crates/log-0.4.17.crate) = 38028 +SHA256 (rust/crates/mio-0.8.5.crate) = e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de +SIZE (rust/crates/mio-0.8.5.crate) = 93993 +SHA256 (rust/crates/nu-ansi-term-0.46.0.crate) = 77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84 +SIZE (rust/crates/nu-ansi-term-0.46.0.crate) = 24311 +SHA256 (rust/crates/overload-0.1.1.crate) = b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39 +SIZE (rust/crates/overload-0.1.1.crate) = 24439 +SHA256 (rust/crates/parking_lot-0.12.1.crate) = 3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f +SIZE (rust/crates/parking_lot-0.12.1.crate) = 40967 +SHA256 (rust/crates/parking_lot_core-0.9.5.crate) = 7ff9f3fef3968a3ec5945535ed654cb38ff72d7495a25619e2247fb15a2ed9ba +SIZE (rust/crates/parking_lot_core-0.9.5.crate) = 32396 +SHA256 (rust/crates/redox_syscall-0.2.16.crate) = fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a +SIZE (rust/crates/redox_syscall-0.2.16.crate) = 24012 +SHA256 (rust/crates/remove_dir_all-0.5.3.crate) = 3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7 +SIZE (rust/crates/remove_dir_all-0.5.3.crate) = 9184 +SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd +SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470 +SHA256 (rust/crates/signal-hook-0.3.14.crate) = a253b5e89e2698464fc26b545c9edceb338e18a89effeeecfea192c3025be29d +SIZE (rust/crates/signal-hook-0.3.14.crate) = 49446 +SHA256 (rust/crates/signal-hook-mio-0.2.3.crate) = 29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af +SIZE (rust/crates/signal-hook-mio-0.2.3.crate) = 9064 +SHA256 (rust/crates/signal-hook-registry-1.4.0.crate) = e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0 +SIZE (rust/crates/signal-hook-registry-1.4.0.crate) = 17912 +SHA256 (rust/crates/smallvec-1.10.0.crate) = a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0 +SIZE (rust/crates/smallvec-1.10.0.crate) = 31564 +SHA256 (rust/crates/tempfile-3.3.0.crate) = 5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4 +SIZE (rust/crates/tempfile-3.3.0.crate) = 27578 +SHA256 (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423 +SIZE (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 28131 +SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 +SIZE (rust/crates/winapi-0.3.9.crate) = 1200382 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 +SHA256 (rust/crates/windows-sys-0.42.0.crate) = 5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7 +SIZE (rust/crates/windows-sys-0.42.0.crate) = 3006791 +SHA256 (rust/crates/windows_aarch64_gnullvm-0.42.0.crate) = 41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e +SIZE (rust/crates/windows_aarch64_gnullvm-0.42.0.crate) = 357917 +SHA256 (rust/crates/windows_aarch64_msvc-0.42.0.crate) = dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4 +SIZE (rust/crates/windows_aarch64_msvc-0.42.0.crate) = 659424 +SHA256 (rust/crates/windows_i686_gnu-0.42.0.crate) = fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7 +SIZE (rust/crates/windows_i686_gnu-0.42.0.crate) = 728570 +SHA256 (rust/crates/windows_i686_msvc-0.42.0.crate) = 84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246 +SIZE (rust/crates/windows_i686_msvc-0.42.0.crate) = 717477 +SHA256 (rust/crates/windows_x86_64_gnu-0.42.0.crate) = bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed +SIZE (rust/crates/windows_x86_64_gnu-0.42.0.crate) = 692493 +SHA256 (rust/crates/windows_x86_64_gnullvm-0.42.0.crate) = 09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028 +SIZE (rust/crates/windows_x86_64_gnullvm-0.42.0.crate) = 357906 +SHA256 (rust/crates/windows_x86_64_msvc-0.42.0.crate) = f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5 +SIZE (rust/crates/windows_x86_64_msvc-0.42.0.crate) = 659377 +SHA256 (sharkdp-lscolors-v0.13.0_GH0.tar.gz) = 8cdc8e45a813080182b06b1c547825b40bc202faf7f68c61e6466dc1c129894b +SIZE (sharkdp-lscolors-v0.13.0_GH0.tar.gz) = 18909 diff --git a/misc/lscolors/pkg-descr b/misc/lscolors/pkg-descr new file mode 100644 index 000000000000..fd383d339863 --- /dev/null +++ b/misc/lscolors/pkg-descr @@ -0,0 +1,2 @@ +lscolors is a tool and a library for colorizing paths according to +the `LS_COLORS` environment variable.