aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTML-FromANSI
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-09-29 07:44:53 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-09-29 07:44:53 +0000
commit2059438150a68197d5de96131f56a4d1dd718db9 (patch)
treee84ddb18c48df4ef4637caa81983d187b8186a9a /www/p5-HTML-FromANSI
parentc9e3c632c5ed405d0e152968ba045d4549e282de (diff)
downloadports-2059438150a68197d5de96131f56a4d1dd718db9.tar.gz
ports-2059438150a68197d5de96131f56a4d1dd718db9.zip
Add p5-HTML-FromANSI 1.01, mark up ANSI sequences as HTML.
PR: ports/103747 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes: svn path=/head/; revision=174090
Diffstat (limited to 'www/p5-HTML-FromANSI')
-rw-r--r--www/p5-HTML-FromANSI/Makefile32
-rw-r--r--www/p5-HTML-FromANSI/distinfo3
-rw-r--r--www/p5-HTML-FromANSI/pkg-descr7
-rw-r--r--www/p5-HTML-FromANSI/pkg-plist7
4 files changed, 49 insertions, 0 deletions
diff --git a/www/p5-HTML-FromANSI/Makefile b/www/p5-HTML-FromANSI/Makefile
new file mode 100644
index 000000000000..0c2c0b97b593
--- /dev/null
+++ b/www/p5-HTML-FromANSI/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: p5-HTML-FromANSI
+# Date created: 2006-09-28
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTML-FromANSI
+PORTVERSION= 1.01
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= HTML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Mark up ANSI sequences as HTML
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/Term/VT102.pm:${PORTSDIR}/devel/p5-Term-VT102
+
+PERL_CONFIGURE= yes
+
+MAN1= ansi2html.1
+MAN3= HTML::FromANSI.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601 # from p5-HTML-Parser
+IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-HTML-FromANSI/distinfo b/www/p5-HTML-FromANSI/distinfo
new file mode 100644
index 000000000000..b378ab264a65
--- /dev/null
+++ b/www/p5-HTML-FromANSI/distinfo
@@ -0,0 +1,3 @@
+MD5 (HTML-FromANSI-1.01.tar.gz) = 1e9e79b2a2a8c7bf4e1110e7d0ac111b
+SHA256 (HTML-FromANSI-1.01.tar.gz) = 920d8c602627d5577f9247ff930e228b1ee3eef8d43002e9fb2d8f637b92820d
+SIZE (HTML-FromANSI-1.01.tar.gz) = 6485
diff --git a/www/p5-HTML-FromANSI/pkg-descr b/www/p5-HTML-FromANSI/pkg-descr
new file mode 100644
index 000000000000..d78399846e65
--- /dev/null
+++ b/www/p5-HTML-FromANSI/pkg-descr
@@ -0,0 +1,7 @@
+This small module converts ANSI text sequences to corresponding HTML
+codes, using stylesheets to control color and blinking properties.
+
+It exports ansi2html() by default, which takes an array, joins it it
+into a single scalar, and returns its HTML rendering.
+
+WWW: http://search.cpan.org/dist/HTML-FromANSI/
diff --git a/www/p5-HTML-FromANSI/pkg-plist b/www/p5-HTML-FromANSI/pkg-plist
new file mode 100644
index 000000000000..1825c5a6289b
--- /dev/null
+++ b/www/p5-HTML-FromANSI/pkg-plist
@@ -0,0 +1,7 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/FromANSI/.packlist
+%%SITE_PERL%%/HTML/FromANSI.pm
+bin/ansi2html
+@dirrmtry %%SITE_PERL%%/HTML
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/FromANSI
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML