aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2015-03-07 11:24:19 +0800
committervanilla <vanilla@FreeBSD.org>2015-03-07 11:24:19 +0800
commit84251a935af1ca0da1ce53be5dd9ec5b4ae85f5a (patch)
tree995c737c3b9b15acd7635ae5e564af7fc77c6843 /textproc
parent982ac67b47851269861958a56cb9c90766042eba (diff)
downloadfreebsd-ports-gnome-84251a935af1ca0da1ce53be5dd9ec5b4ae85f5a.tar.gz
freebsd-ports-gnome-84251a935af1ca0da1ce53be5dd9ec5b4ae85f5a.tar.zst
freebsd-ports-gnome-84251a935af1ca0da1ce53be5dd9ec5b4ae85f5a.zip
Add p5-Text-Colorizer 0.02.2, create colored text from text and color
description. PR: 198099 Submitted by: gebhart@secnetix.de
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Colorizer/Makefile23
-rw-r--r--textproc/p5-Text-Colorizer/distinfo2
-rw-r--r--textproc/p5-Text-Colorizer/pkg-descr5
-rw-r--r--textproc/p5-Text-Colorizer/pkg-plist4
5 files changed, 35 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index ccb709093c38..02feacf6b17a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -784,6 +784,7 @@
SUBDIR += p5-Text-CharWidth
SUBDIR += p5-Text-Chomp
SUBDIR += p5-Text-ClearSilver
+ SUBDIR += p5-Text-Colorizer
SUBDIR += p5-Text-Context
SUBDIR += p5-Text-Context-EitherSide
SUBDIR += p5-Text-DHCPLeases
diff --git a/textproc/p5-Text-Colorizer/Makefile b/textproc/p5-Text-Colorizer/Makefile
new file mode 100644
index 000000000000..df7d09ae688b
--- /dev/null
+++ b/textproc/p5-Text-Colorizer/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= Text-Colorizer
+PORTVERSION= 0.02.2
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:NKH
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gebhart@secnetix.de
+COMMENT= Create colored text from text and color description
+
+LICENSE= ART20 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-Readonly>=0:${PORTSDIR}/devel/p5-Readonly \
+ p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Colorizer/distinfo b/textproc/p5-Text-Colorizer/distinfo
new file mode 100644
index 000000000000..fb5d67a3c4ca
--- /dev/null
+++ b/textproc/p5-Text-Colorizer/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Text-Colorizer-0.02.2.tar.gz) = 00a3125a3fb9375e2e8b31319abcbf524cfd2f2d27be161a5829d57e6cfcfe2c
+SIZE (Text-Colorizer-0.02.2.tar.gz) = 13420
diff --git a/textproc/p5-Text-Colorizer/pkg-descr b/textproc/p5-Text-Colorizer/pkg-descr
new file mode 100644
index 000000000000..750d07b8f1bc
--- /dev/null
+++ b/textproc/p5-Text-Colorizer/pkg-descr
@@ -0,0 +1,5 @@
+This module defined methods to produce colored html from ANSI color description.
+The generated code use pre tags. The generated HTML can be embeded in your pod
+documentation.
+
+WWW: http://search.cpan.org/dist/Text-Colorizer/
diff --git a/textproc/p5-Text-Colorizer/pkg-plist b/textproc/p5-Text-Colorizer/pkg-plist
new file mode 100644
index 000000000000..96b9ad0f5628
--- /dev/null
+++ b/textproc/p5-Text-Colorizer/pkg-plist
@@ -0,0 +1,4 @@
+bin/text_colorizer
+%%SITE_PERL%%/Text/Colorizer.pm
+%%PERL5_MAN3%%/Text::Colorizer.3.gz
+man/man1/text_colorizer.1.gz