svn commit: r486533 - in head/devel: . p5-Color-ANSI-Util
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Dec 3 19:57:46 UTC 2018
Author: sunpoet
Date: Mon Dec 3 19:57:44 2018
New Revision: 486533
URL: https://svnweb.freebsd.org/changeset/ports/486533
Log:
Add p5-Color-ANSI-Util 0.162
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.
WWW: https://metacpan.org/release/Color-ANSI-Util
Added:
head/devel/p5-Color-ANSI-Util/
head/devel/p5-Color-ANSI-Util/Makefile (contents, props changed)
head/devel/p5-Color-ANSI-Util/distinfo (contents, props changed)
head/devel/p5-Color-ANSI-Util/pkg-descr (contents, props changed)
head/devel/p5-Color-ANSI-Util/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Mon Dec 3 19:55:29 2018 (r486532)
+++ head/devel/Makefile Mon Dec 3 19:57:44 2018 (r486533)
@@ -2198,6 +2198,7 @@
SUBDIR += p5-Clone-More
SUBDIR += p5-Clone-PP
SUBDIR += p5-Code-Perl
+ SUBDIR += p5-Color-ANSI-Util
SUBDIR += p5-Commandable
SUBDIR += p5-Commands-Guarded
SUBDIR += p5-CommitBit
Added: head/devel/p5-Color-ANSI-Util/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Color-ANSI-Util/Makefile Mon Dec 3 19:57:44 2018 (r486533)
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Color-ANSI-Util
+PORTVERSION= 0.162
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Routines for dealing with ANSI colors
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/devel/p5-Color-ANSI-Util/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Color-ANSI-Util/distinfo Mon Dec 3 19:57:44 2018 (r486533)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1543776807
+SHA256 (Color-ANSI-Util-0.162.tar.gz) = 8a9904c064efddda59b2ebeb3bcfb1782f7dc65c0eaa0e8eaa46c09ecf9a31ea
+SIZE (Color-ANSI-Util-0.162.tar.gz) = 21785
Added: head/devel/p5-Color-ANSI-Util/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Color-ANSI-Util/pkg-descr Mon Dec 3 19:57:44 2018 (r486533)
@@ -0,0 +1,8 @@
+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.
+
+WWW: https://metacpan.org/release/Color-ANSI-Util
Added: head/devel/p5-Color-ANSI-Util/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Color-ANSI-Util/pkg-plist Mon Dec 3 19:57:44 2018 (r486533)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Color/ANSI/Util.pm
+%%PERL5_MAN3%%/Color::ANSI::Util.3.gz
More information about the svn-ports-head
mailing list