BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2024.08.242024.08.24-2024.08.242024.08.24
FreeBSD:14:quarterly2024.08.242024.08.24n/a2024.08.242024.08.24
FreeBSD:15:latest2024.08.242024.08.24n/a-2024.08.24
FreeBSD:15:quarterly2024.08.242024.08.24n/an/an/a
FreeBSD:16:latest2024.08.242024.08.24n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

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

OptionDefaultDescription
DOCSoffBuild and/or install documentation
Service scripts
none

Files

distinfo 1
FileSizeSHA256
eth-p-bat-extras-v2024.08.24_GH0.tar.gz506712ff1b9104134f10721ef36580150365e94546e5b41b9a2a6eaa4851c5959b487

Commit history 0

No commits in the history this site was built from.