devel/rubygem-hansi: Add rubygem-hansi 0.2.1 Welcome to The ANSI Hansi. This is your Hipster ANSI color library. It allows you to produce colorized console output. Many ANSI color libraries are already out there. However, this library tackles a few issues most of them have: - It supports 8 color, 16 color, 88 color, 256 color and 24 bit (True Color) mode. - It transparently converts colors between modes without you having to worry about this. It uses the YUV distance (rather than the RGB distance) to closer match how our brain perceives color similarity. - It supports proper color nesting. - It can automatically detect how many colors the current terminal supports. - It does not enforce a DSL to be used (in fact, it does not include a DSL, but it makes it really easy to build your own DSL). - Makes it easy to define string templates for highlighting, but doesn't force you to use them. - It supports themes, but doesn't force you to use them. Themes make semantic coloring easier. - It supports converting ANSI colors to CSS rules. It does not support parsing an ANSI colored string into HTML, this would be outside the scope of this library. - It has zero dependencies and does not include a native extension. - It does not monkey patch anything.bde0d028b6
Port details
devel/rubygem-hansi 0.2.1
Der ANSI Hansi - create colorized console output
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 0.2.1
- Upstream
- up to date
- Last update
- to 0.2.1 · bde0d028b6
- Quarterly
- 2026Q4: 0.2.1
- WWW
- https://github.com/rkh/hansi
- Links
- cgit · VuXML
Install
- Package
# pkg install rubygem-hansiinstalls 0.2.1 fromlatest; fromquarterly(2026Q4) 0.2.1- Port
# cd /usr/ports/devel/rubygem-hansi && make install clean- Size
- 74 KiB download · 142 KiB installed
- Depends on
- devel/ruby-gems 4.0.21, lang/ruby34 3.4.9_2,1
- License
- MIT
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 0.2.1 | 0.2.1 | – |
| FreeBSD 15 | 0.2.1 | 0.2.1 | – |
| FreeBSD 14 | 0.2.1 | 0.2.1 | 0.2.1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 0.2.1 | 0.2.1 | – |
| FreeBSD 14 | 0.2.1 | 0.2.1 | 0.2.1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 0.2.1.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.