Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2020 12:52:28 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r541748 - in head/textproc: . p5-HTML-FromANSI-Tiny
Message-ID:  <202007091252.069CqSBZ044204@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Jul  9 12:52:27 2020
New Revision: 541748
URL: https://svnweb.freebsd.org/changeset/ports/541748

Log:
  Perl module for easy converting colored command line output to HTML.
  
  WWW: https://metacpan.org/release/HTML-FromANSI-Tiny

Added:
  head/textproc/p5-HTML-FromANSI-Tiny/
  head/textproc/p5-HTML-FromANSI-Tiny/Makefile   (contents, props changed)
  head/textproc/p5-HTML-FromANSI-Tiny/distinfo   (contents, props changed)
  head/textproc/p5-HTML-FromANSI-Tiny/pkg-descr   (contents, props changed)
  head/textproc/p5-HTML-FromANSI-Tiny/pkg-plist   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Thu Jul  9 12:50:44 2020	(r541747)
+++ head/textproc/Makefile	Thu Jul  9 12:52:27 2020	(r541748)
@@ -519,6 +519,7 @@
     SUBDIR += p5-HTML-FormatText-WithLinks
     SUBDIR += p5-HTML-FormatText-WithLinks-AndTables
     SUBDIR += p5-HTML-Fraction
+    SUBDIR += p5-HTML-FromANSI-Tiny
     SUBDIR += p5-HTML-HTML5-Entities
     SUBDIR += p5-HTML-HTML5-Parser
     SUBDIR += p5-HTML-HTMLDoc

Added: head/textproc/p5-HTML-FromANSI-Tiny/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-HTML-FromANSI-Tiny/Makefile	Thu Jul  9 12:52:27 2020	(r541748)
@@ -0,0 +1,21 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	HTML-FromANSI-Tiny
+PORTVERSION=	0.105
+CATEGORIES=	textproc perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
+COMMENT=	Easily convert colored command line output to HTML
+
+RUN_DEPENDS=	p5-HTML-Parser>=0:www/p5-HTML-Parser
+TEST_DEPENDS=	p5-Test-Differences>=0:devel/p5-Test-Differences \
+		p5-Test-Requires>=0:devel/p5-Test-Requires
+
+NO_ARCH=	yes
+USES=		perl5
+USE_PERL5=	configure
+
+.include <bsd.port.mk>

Added: head/textproc/p5-HTML-FromANSI-Tiny/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-HTML-FromANSI-Tiny/distinfo	Thu Jul  9 12:52:27 2020	(r541748)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1504709183
+SHA256 (HTML-FromANSI-Tiny-0.105.tar.gz) = f0a7e26387ed2600226c56e1d3509a0e6990c9eee0fce73f9c7e4f83fd9075f4
+SIZE (HTML-FromANSI-Tiny-0.105.tar.gz) = 28657

Added: head/textproc/p5-HTML-FromANSI-Tiny/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-HTML-FromANSI-Tiny/pkg-descr	Thu Jul  9 12:52:27 2020	(r541748)
@@ -0,0 +1,8 @@
+Convert the output from a terminal command that is decorated with ANSI
+escape sequences into customizable HTML (with a small amount of code).
+
+Parse::ANSIColor::Tiny returns a data structure that's easy to reformat
+into any desired output.  Reformatting to HTML seemed simple and common
+enough to warrant this module as well.
+
+WWW: https://metacpan.org/release/HTML-FromANSI-Tiny

Added: head/textproc/p5-HTML-FromANSI-Tiny/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/p5-HTML-FromANSI-Tiny/pkg-plist	Thu Jul  9 12:52:27 2020	(r541748)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/HTML/FromANSI/Tiny.pm
+%%PERL5_MAN3%%/HTML::FromANSI::Tiny.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007091252.069CqSBZ044204>