BSD Ports

devel/p5-Color-ANSI-Util 0.165 FreeBSD

Routines for dealing with ANSI colors

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
17.2 KiB, 54.4 KiB installed

Description

Color::ANSI::Util provides routines for dealing with ANSI colors. The two main functions are ansifg and ansibg. With those functions, you can specify colors in RGB and let it output the correct ANSI color escape code according to the color depth support of the terminal (whether 16-color, 256-color, or 24bit). There are other functions to convert RGB to ANSI in specific color depths, or reverse functions to convert from ANSI to RGB codes.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Color-ANSI-Util0.165
DragonFlydevel/p5-Color-ANSI-Util0.165
HardenedBSDdevel/p5-Color-ANSI-Util0.165
GhostBSDdevel/p5-Color-ANSI-Util0.165

Install

Binary package:

pkg install p5-Color-ANSI-Util

From the ports tree:

cd /usr/ports/devel/p5-Color-ANSI-Util/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Color-ANSI-Util>0:devel/p5-Color-ANSI-Util

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:latest0.1650.1650.1640.1650.165
FreeBSD:14:quarterly0.1650.165n/a0.1650.165
FreeBSD:15:latest0.1650.165n/a0.1650.165
FreeBSD:15:quarterly0.1650.165n/an/an/a
FreeBSD:16:latest0.1650.165n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Color/ANSI/Util.pm
  • %%PERL5_MAN3%%/Color::ANSI::Util.3.gz
distinfo 1
FileSizeSHA256
Color-ANSI-Util-0.165.tar.gz2239170a69e7c4e65cb0c35bf16a0115a6d113a534e4ad9cd6cf2d767a6bd55311ae5
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.