From af8b08f119e8ce2175eff5be3b103f54abd77b87 Mon Sep 17 00:00:00 2001 From: Bernard Spil Date: Sun, 20 Dec 2020 13:27:03 +0000 Subject: converters/aha: Add "Ansi HTML Adapter" port --- converters/Makefile | 1 + converters/aha/Makefile | 27 +++++++++++++++++++++++++++ converters/aha/distinfo | 3 +++ converters/aha/pkg-descr | 6 ++++++ 4 files changed, 37 insertions(+) create mode 100644 converters/aha/Makefile create mode 100644 converters/aha/distinfo create mode 100644 converters/aha/pkg-descr (limited to 'converters') diff --git a/converters/Makefile b/converters/Makefile index 4dd0fcfc921d..dfa821910028 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -7,6 +7,7 @@ SUBDIR += R-cran-base64enc SUBDIR += R-cran-jsonlite SUBDIR += R-cran-rjson + SUBDIR += aha SUBDIR += aish SUBDIR += ascii2binary SUBDIR += asr10 diff --git a/converters/aha/Makefile b/converters/aha/Makefile new file mode 100644 index 000000000000..0e3661a31bed --- /dev/null +++ b/converters/aha/Makefile @@ -0,0 +1,27 @@ +# Created by: Bernard Spil +# $FreeBSD$ + +PORTNAME= aha +PORTVERSION= 0.5.1 +CATEGORIES= converters + +MAINTAINER= brnrd@FreeBSD.org +COMMENT= ANSI escape-coded formatted output to HTML converter + +LICENSE= LGPL20+ MPL11 +LICENSE_COMB= dual + +USE_GITHUB= yes +USES= gmake + +GH_ACCOUNT= theZiz +GH_PROJECT= aha + +PLIST_FILES= bin/aha man/man1/aha.1.gz + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aha + ${MV} ${STAGEDIR}${PREFIX}/share/man/man1/aha.1 \ + ${STAGEDIR}${PREFIX}/man/man1/ + +.include diff --git a/converters/aha/distinfo b/converters/aha/distinfo new file mode 100644 index 000000000000..8150cc16b8f0 --- /dev/null +++ b/converters/aha/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1608470204 +SHA256 (theZiz-aha-0.5.1_GH0.tar.gz) = 6aea13487f6b5c3e453a447a67345f8095282f5acd97344466816b05ebd0b3b1 +SIZE (theZiz-aha-0.5.1_GH0.tar.gz) = 394410 diff --git a/converters/aha/pkg-descr b/converters/aha/pkg-descr new file mode 100644 index 000000000000..46853003dd8b --- /dev/null +++ b/converters/aha/pkg-descr @@ -0,0 +1,6 @@ +Aha is the Ansi HTML Adapter + +Transforms console output formatted with escape-codes to +html output. + +WWW: https://github.com/theZiz/aha -- cgit v1.2.3