summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-11-12 17:07:08 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-11-12 17:07:08 +0000
commitb68b701bedd7732e9b1aab15347c18fc2f5c0698 (patch)
tree3841f3a09866ec06dacbc39f2eb770069562399f
parentUpdate to 1.07. (diff)
Import HTML-FromText 1.005 Perl module.
The text2html function marks up plain text as HTML. By default it converts HTML metacharacters into the corresponding entities. More sophisticated transformations, such as splitting the text into paragraphs or marking up bulleted lists, can be carried out by setting the appropriate options. PR: 44903 Submitted by: Seamus Venasse <svenasse@polaris.ca>
Notes
Notes: svn path=/head/; revision=69962
Diffstat (limited to '')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-HTML-FromText/Makefile22
-rw-r--r--www/p5-HTML-FromText/distinfo1
-rw-r--r--www/p5-HTML-FromText/pkg-comment1
-rw-r--r--www/p5-HTML-FromText/pkg-descr10
-rw-r--r--www/p5-HTML-FromText/pkg-plist6
6 files changed, 41 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index ce7ff772a943..74ae7063a25f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -302,6 +302,7 @@
SUBDIR += p5-HTML-Element-Extended
SUBDIR += p5-HTML-Embperl
SUBDIR += p5-HTML-FillInForm
+ SUBDIR += p5-HTML-FromText
SUBDIR += p5-HTML-Mason
SUBDIR += p5-HTML-Navigation
SUBDIR += p5-HTML-Pager
diff --git a/www/p5-HTML-FromText/Makefile b/www/p5-HTML-FromText/Makefile
new file mode 100644
index 000000000000..f84931dcf6bd
--- /dev/null
+++ b/www/p5-HTML-FromText/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: HTML::FromText
+# Date created: 04 November 2002
+# Whom: Seamus Venasse <svenasse@polaris.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTML-FromText
+PORTVERSION= 1.005
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= HTML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svenasse@polaris.ca
+
+PERL_CONFIGURE= yes
+
+MAN3= HTML::FromText.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/www/p5-HTML-FromText/distinfo b/www/p5-HTML-FromText/distinfo
new file mode 100644
index 000000000000..0c2907f4bd36
--- /dev/null
+++ b/www/p5-HTML-FromText/distinfo
@@ -0,0 +1 @@
+MD5 (HTML-FromText-1.005.tar.gz) = 983342bb72acc94ce58b6c7d3a14f62b
diff --git a/www/p5-HTML-FromText/pkg-comment b/www/p5-HTML-FromText/pkg-comment
new file mode 100644
index 000000000000..aaace9a59e2e
--- /dev/null
+++ b/www/p5-HTML-FromText/pkg-comment
@@ -0,0 +1 @@
+Mark up text as HTML
diff --git a/www/p5-HTML-FromText/pkg-descr b/www/p5-HTML-FromText/pkg-descr
new file mode 100644
index 000000000000..2ae971b5c070
--- /dev/null
+++ b/www/p5-HTML-FromText/pkg-descr
@@ -0,0 +1,10 @@
+The text2html function marks up plain text as HTML. By
+default it converts HTML metacharacters into the
+corresponding entities. More sophisticated transformations,
+such as splitting the text into paragraphs or marking up
+bulleted lists, can be carried out by setting the
+appropriate options.
+
+WWW: http://search.cpan.org/author/GDR/HTML-FromText/
+
+Seamus Venasse <svenasse@polaris.ca>
diff --git a/www/p5-HTML-FromText/pkg-plist b/www/p5-HTML-FromText/pkg-plist
new file mode 100644
index 000000000000..8a004a100859
--- /dev/null
+++ b/www/p5-HTML-FromText/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+lib/perl5/site_perl/%%PERL_VER%%/HTML/FromText.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML/FromText/.packlist
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/HTML 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML/FromText 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML 2>/dev/null || true