aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-HTML-FormatText-WithLinks
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-08-21 08:36:04 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-08-21 08:36:04 +0000
commitea1790a2680d2d1a03728ca3aeb93d2c9a793e5b (patch)
treee23107af97152ca2ab5f1fa9f248d71e4936607d /textproc/p5-HTML-FormatText-WithLinks
parent18d9f10c342edf23011e6d61965dfd650829d217 (diff)
downloadports-ea1790a2680d2d1a03728ca3aeb93d2c9a793e5b.tar.gz
ports-ea1790a2680d2d1a03728ca3aeb93d2c9a793e5b.zip
HTML::FormatText::WithLinks takes HTML and turns it into plain text
but prints all the links in the HTML as footnotes. By default, it attempts to mimic the format of the lynx text based web browser's --dump option. Author: Struan Donald. <struan@cpan.org> WWW: http://search.cpan.org/~struan/HTML-FormatText-WithLinks-0.09/ PR: ports/115358 Submitted by: loader <loader at freebsdmall.com>
Notes
Notes: svn path=/head/; revision=198025
Diffstat (limited to 'textproc/p5-HTML-FormatText-WithLinks')
-rw-r--r--textproc/p5-HTML-FormatText-WithLinks/Makefile24
-rw-r--r--textproc/p5-HTML-FormatText-WithLinks/distinfo3
-rw-r--r--textproc/p5-HTML-FormatText-WithLinks/pkg-descr7
-rw-r--r--textproc/p5-HTML-FormatText-WithLinks/pkg-plist5
4 files changed, 39 insertions, 0 deletions
diff --git a/textproc/p5-HTML-FormatText-WithLinks/Makefile b/textproc/p5-HTML-FormatText-WithLinks/Makefile
new file mode 100644
index 000000000000..4fa63909fca9
--- /dev/null
+++ b/textproc/p5-HTML-FormatText-WithLinks/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-HTML-FormatText-WithLinks
+# Date created: 2007-08-10
+# Whom: loader <loader@freebsdmall.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTML-FormatText-WithLinks
+PORTVERSION= 0.09
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= HTML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= loader@freebsdmall.com
+COMMENT= Perl5 module to convert HTML to text with links as footnotes
+
+BUILD_DEPENDS= ${SITE_PERL}/HTML/FormatText.pm:${PORTSDIR}/textproc/p5-HTML-Format
+RUN_DEPENDS= ${SITE_PERL}/HTML/FormatText.pm:${PORTSDIR}/textproc/p5-HTML-Format
+
+PERL_CONFIGURE= yes
+MAN3= HTML::FormatText::WithLinks.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-HTML-FormatText-WithLinks/distinfo b/textproc/p5-HTML-FormatText-WithLinks/distinfo
new file mode 100644
index 000000000000..ba4810e4c51f
--- /dev/null
+++ b/textproc/p5-HTML-FormatText-WithLinks/distinfo
@@ -0,0 +1,3 @@
+MD5 (HTML-FormatText-WithLinks-0.09.tar.gz) = 3d48f2bae0aa3068de6a31dea4043127
+SHA256 (HTML-FormatText-WithLinks-0.09.tar.gz) = 4a41de8d3d71a8b29c1a772cf6baecfab26b8b92a45ca2a0868fafca4da3eafe
+SIZE (HTML-FormatText-WithLinks-0.09.tar.gz) = 7671
diff --git a/textproc/p5-HTML-FormatText-WithLinks/pkg-descr b/textproc/p5-HTML-FormatText-WithLinks/pkg-descr
new file mode 100644
index 000000000000..687d1996da67
--- /dev/null
+++ b/textproc/p5-HTML-FormatText-WithLinks/pkg-descr
@@ -0,0 +1,7 @@
+HTML::FormatText::WithLinks takes HTML and turns it into plain text
+but prints all the links in the HTML as footnotes. By default, it
+attempts to mimic the format of the lynx text based web browser's
+--dump option.
+
+Author: Struan Donald. <struan@cpan.org>
+WWW: http://search.cpan.org/~struan/HTML-FormatText-WithLinks-0.09/
diff --git a/textproc/p5-HTML-FormatText-WithLinks/pkg-plist b/textproc/p5-HTML-FormatText-WithLinks/pkg-plist
new file mode 100644
index 000000000000..d224e6e4aa55
--- /dev/null
+++ b/textproc/p5-HTML-FormatText-WithLinks/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/HTML/FormatText/WithLinks.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/FormatText/WithLinks/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/FormatText/WithLinks
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/FormatText
+@dirrmtry %%SITE_PERL%%/HTML/FormatText