textproc/bat-extras 2024.08.24 FreeBSD
Scripts that integrate with textproc/bat
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- textproc
- Package size
- 22.2 KiB, 110.7 KiB installed
Description
A collection of scripts that integrate textproc/bat (a Rust-based uberpager) with various command-line tools. Note that you'll have to install some related tools manually if you want them.
batdiff: Diff a file against the current git index, or diff two files. Optional: git-delta
batgrep Quickly search through and highlight files using ripgrep. Requires: ripgrep
batman: Colorize manpages (I'm ruined and can never go back to plain manpages).
batpipe: Drop-in replacement for lesspipe.
batwatch: Watch for changes in one or more files and display them with bat. Optional: entr
prettybat: Reformats and highlights source code. Requires: prettier, shfmt, blank, clang-format, rustfmt, etc. (as needed)
Install
Binary package:
pkg install bat-extras
From the ports tree:
cd /usr/ports/textproc/bat-extras/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= bat-extras>0:textproc/bat-extras
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2024.08.24 | 2024.08.24 | - | 2024.08.24 | 2024.08.24 |
| FreeBSD:14:quarterly | 2024.08.24 | 2024.08.24 | n/a | 2024.08.24 | 2024.08.24 |
| FreeBSD:15:latest | 2024.08.24 | 2024.08.24 | n/a | - | 2024.08.24 |
| FreeBSD:15:quarterly | 2024.08.24 | 2024.08.24 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2024.08.24 | 2024.08.24 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
bash: shells/bashshfmt: devel/shfmt
Runtime 2
bash: shells/bashbat: textproc/bat
The full lists below include those, and their dependencies in turn.
Build dependencies 4
Run dependencies 9
No port depends on this one.
Configuration
Options name: textproc_bat-extras
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| eth-p-bat-extras-v2024.08.24_GH0.tar.gz | 50671 | 2ff1b9104134f10721ef36580150365e94546e5b41b9a2a6eaa4851c5959b487 |
Commit history 0
No commits in the history this site was built from.