diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/rubygem-html2text/Makefile | 21 | ||||
-rw-r--r-- | textproc/rubygem-html2text/distinfo | 3 | ||||
-rw-r--r-- | textproc/rubygem-html2text/pkg-descr | 5 |
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 122afb609651..82400fc16064 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1474,6 +1474,7 @@ SUBDIR += rubygem-html-pipeline SUBDIR += rubygem-html-pipeline-gitlab SUBDIR += rubygem-html-pipeline1 + SUBDIR += rubygem-html2text SUBDIR += rubygem-htmlentities SUBDIR += rubygem-ini SUBDIR += rubygem-itextomml diff --git a/textproc/rubygem-html2text/Makefile b/textproc/rubygem-html2text/Makefile new file mode 100644 index 000000000000..ba82eceefa35 --- /dev/null +++ b/textproc/rubygem-html2text/Makefile @@ -0,0 +1,21 @@ +# Created by: Torsten Zuehlsdorff <tz@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= html2text +PORTVERSION= 0.2.0 +CATEGORIES= textproc rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Convert HTML into a plain text format + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= rubygem-nokogiri>=1.6:textproc/rubygem-nokogiri + +NO_ARCH= yes +USE_RUBY= yes +USES= gem + +.include <bsd.port.mk> diff --git a/textproc/rubygem-html2text/distinfo b/textproc/rubygem-html2text/distinfo new file mode 100644 index 000000000000..75a2526f4c37 --- /dev/null +++ b/textproc/rubygem-html2text/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1489069258 +SHA256 (rubygem/html2text-0.2.0.gem) = 31c2f0be9ab7aa4fc780b07d5f84882ebc22a9024c29a45f4f5adfe42e92ad4f +SIZE (rubygem/html2text-0.2.0.gem) = 11776 diff --git a/textproc/rubygem-html2text/pkg-descr b/textproc/rubygem-html2text/pkg-descr new file mode 100644 index 000000000000..3d481b3e67f7 --- /dev/null +++ b/textproc/rubygem-html2text/pkg-descr @@ -0,0 +1,5 @@ +html2text is a very simple script that uses Ruby's DOM +methods to load HTML from a string, and then iterates +over the resulting DOM to correctly output plain text. + +WWW: https://github.com/soundasleep/html2text_ruby |