92.19. aha-0.5.1
ANSI colour escapes to HTML converter
0.5.1-1 · MPL-1.1 OR LGPL-2.0-or-later · 0.1 SBU · 90.5 KiB, 4 files · 41_system, 300 of 1047 · ports/core/cli/aha
Homepage: https://github.com/theZiz/aha
aha reads text carrying ANSI colour and attribute escapes on standard input and writes it as HTML, keeping the colours, bold, underline and blink. kinfocenter runs it at run time to turn the coloured output of the command-line tools behind several of its pages into HTML it can show.
Depends on: nothing a recipe names.
Required by (1): kinfocenter.
Sources: aha-0.5.1.tar.gz (385.2 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install aha'
build.sh:
make
make PREFIX=/usr DESTDIR=$PKG install
Programs: aha.
Directories: /usr/share/licenses/aha.
The Makefile appends its own -std=c99 -Wall -Wextra to the exported CFLAGS and links with LDFLAGS, so the tree’s release and hardening flags reach the program with nothing passed. PREFIX=/usr on the install line replaces upstream’s /usr/local, which the package lint refuses. The install puts aha.1 in /usr/share/man/man1 as well as the program.