aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-HTML-FormatExternal
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2015-03-09 03:30:08 +0800
committermatthew <matthew@FreeBSD.org>2015-03-09 03:30:08 +0800
commit91c4b2a34386cbaba52bde155e9e483f18c60bce (patch)
tree8b14e9c7c8cee62a8fae043ba2c4142ba19e079f /textproc/p5-HTML-FormatExternal
parent352bccf6f6abb7c20ba149bc8f38a5ed44defaf3 (diff)
downloadfreebsd-ports-gnome-91c4b2a34386cbaba52bde155e9e483f18c60bce.tar.gz
freebsd-ports-gnome-91c4b2a34386cbaba52bde155e9e483f18c60bce.tar.zst
freebsd-ports-gnome-91c4b2a34386cbaba52bde155e9e483f18c60bce.zip
HTML-FormatExternal lets you turn HTML into plain text using one of
the browsing/formatting programs, elinks http://elinks.cz/ html2text http://www.mbayer.de/html2text/ links http://links.twibright.com/ lynx http://lynx.isc.org/ netrik http://netrik.sourceforge.net/ vilistextum http://bhaak.dyndns.org/vilistextum/ w3m http://sourceforge.net/projects/w3m zen http://www.nocrew.org/software/zen/ WWW: http://search.cpan.org/dist/HTML-FormatExternal/
Diffstat (limited to 'textproc/p5-HTML-FormatExternal')
-rw-r--r--textproc/p5-HTML-FormatExternal/Makefile46
-rw-r--r--textproc/p5-HTML-FormatExternal/distinfo2
-rw-r--r--textproc/p5-HTML-FormatExternal/pkg-descr13
-rw-r--r--textproc/p5-HTML-FormatExternal/pkg-plist18
4 files changed, 79 insertions, 0 deletions
diff --git a/textproc/p5-HTML-FormatExternal/Makefile b/textproc/p5-HTML-FormatExternal/Makefile
new file mode 100644
index 000000000000..02b402edd567
--- /dev/null
+++ b/textproc/p5-HTML-FormatExternal/Makefile
@@ -0,0 +1,46 @@
+# $FreeBSD$
+
+PORTNAME= HTML-FormatExternal
+PORTVERSION= 22
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= HTML to text formatting using external programs
+
+LICENSE= GPLv3
+
+OPTIONS_DEFINE= ELINKS HTML2TEXT LINKS LYNX LYNX_CURRENT NETRIK W3M
+OPTIONS_DEFAULT= LYNX
+
+BUILD_DEPENDS= p5-Encode>=0:${PORTSDIR}/converters/p5-Encode \
+ p5-URI>=0.08:${PORTSDIR}/net/p5-URI
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+INSTALL_TARGET= pure_install
+
+ELINKS_DESC= Install with elinks
+ELINKS_RUN_DEPENDS= elinks:${PORTSDIR}/www/elinks
+
+HTML2TEXT_DESC= Install with html2text
+HTML2TEXT_RUN_DEPENDS= html2text:${PORTSDIR}/textproc/html2text
+
+LINKS_DESC= Install with links
+LINKS_RUN_DEPENDS= links:${PORTSDIR}/www/links
+
+LYNX_DESC= Install with lynx
+LYNX_RUN_DEPENDS= lynx:${PORTSDIR}/www/lynx
+
+LYNX_CURRENT_DESC= Install with lynx-current
+LYNX_CURRENT_RUN_DEPENDS= lynx:${PORTSDIR}/www/lynx-current
+
+NETRIK_DESC= Install with netrik
+NETRIK_RUN_DEPENDS= netrik:${PORTSDIR}/www/netrik
+
+W3M_DESC= Install with w3m
+W3M_RUN_DEPENDS= w3m:${PORTSDIR}/www/w3m
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-HTML-FormatExternal/distinfo b/textproc/p5-HTML-FormatExternal/distinfo
new file mode 100644
index 000000000000..cce325e619d0
--- /dev/null
+++ b/textproc/p5-HTML-FormatExternal/distinfo
@@ -0,0 +1,2 @@
+SHA256 (HTML-FormatExternal-22.tar.gz) = 8dbce273f43796e3bf5d14ac4166694de4ed68a560fd0675d4a297ef998d2793
+SIZE (HTML-FormatExternal-22.tar.gz) = 50668
diff --git a/textproc/p5-HTML-FormatExternal/pkg-descr b/textproc/p5-HTML-FormatExternal/pkg-descr
new file mode 100644
index 000000000000..78b5fbf93f59
--- /dev/null
+++ b/textproc/p5-HTML-FormatExternal/pkg-descr
@@ -0,0 +1,13 @@
+HTML-FormatExternal lets you turn HTML into plain text using one of
+the browsing/formatting programs,
+
+ elinks http://elinks.cz/
+ html2text http://www.mbayer.de/html2text/
+ links http://links.twibright.com/
+ lynx http://lynx.isc.org/
+ netrik http://netrik.sourceforge.net/
+ vilistextum http://bhaak.dyndns.org/vilistextum/
+ w3m http://sourceforge.net/projects/w3m
+ zen http://www.nocrew.org/software/zen/
+
+WWW: http://search.cpan.org/dist/HTML-FormatExternal/
diff --git a/textproc/p5-HTML-FormatExternal/pkg-plist b/textproc/p5-HTML-FormatExternal/pkg-plist
new file mode 100644
index 000000000000..af947ce30080
--- /dev/null
+++ b/textproc/p5-HTML-FormatExternal/pkg-plist
@@ -0,0 +1,18 @@
+%%SITE_PERL%%/HTML/FormatExternal.pm
+%%SITE_PERL%%/HTML/FormatText/Elinks.pm
+%%SITE_PERL%%/HTML/FormatText/Html2text.pm
+%%SITE_PERL%%/HTML/FormatText/Links.pm
+%%SITE_PERL%%/HTML/FormatText/Lynx.pm
+%%SITE_PERL%%/HTML/FormatText/Netrik.pm
+%%SITE_PERL%%/HTML/FormatText/Vilistextum.pm
+%%SITE_PERL%%/HTML/FormatText/W3m.pm
+%%SITE_PERL%%/HTML/FormatText/Zen.pm
+%%PERL5_MAN3%%/HTML::FormatExternal.3.gz
+%%PERL5_MAN3%%/HTML::FormatText::Elinks.3.gz
+%%PERL5_MAN3%%/HTML::FormatText::Html2text.3.gz
+%%PERL5_MAN3%%/HTML::FormatText::Links.3.gz
+%%PERL5_MAN3%%/HTML::FormatText::Lynx.3.gz
+%%PERL5_MAN3%%/HTML::FormatText::Netrik.3.gz
+%%PERL5_MAN3%%/HTML::FormatText::Vilistextum.3.gz
+%%PERL5_MAN3%%/HTML::FormatText::W3m.3.gz
+%%PERL5_MAN3%%/HTML::FormatText::Zen.3.gz