svn commit: r435757 - in head/textproc: . rubygem-html2text
Torsten Zuehlsdorff
tz at FreeBSD.org
Thu Mar 9 14:25:13 UTC 2017
Author: tz
Date: Thu Mar 9 14:25:12 2017
New Revision: 435757
URL: https://svnweb.freebsd.org/changeset/ports/435757
Log:
New port: textproc/rubygem-html2text
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
Added:
head/textproc/rubygem-html2text/
head/textproc/rubygem-html2text/Makefile (contents, props changed)
head/textproc/rubygem-html2text/distinfo (contents, props changed)
head/textproc/rubygem-html2text/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Thu Mar 9 14:23:49 2017 (r435756)
+++ head/textproc/Makefile Thu Mar 9 14:25:12 2017 (r435757)
@@ -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
Added: head/textproc/rubygem-html2text/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/rubygem-html2text/Makefile Thu Mar 9 14:25:12 2017 (r435757)
@@ -0,0 +1,21 @@
+# Created by: Torsten Zuehlsdorff <tz at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= html2text
+PORTVERSION= 0.2.0
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby at 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>
Added: head/textproc/rubygem-html2text/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/rubygem-html2text/distinfo Thu Mar 9 14:25:12 2017 (r435757)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1489069258
+SHA256 (rubygem/html2text-0.2.0.gem) = 31c2f0be9ab7aa4fc780b07d5f84882ebc22a9024c29a45f4f5adfe42e92ad4f
+SIZE (rubygem/html2text-0.2.0.gem) = 11776
Added: head/textproc/rubygem-html2text/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/rubygem-html2text/pkg-descr Thu Mar 9 14:25:12 2017 (r435757)
@@ -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
More information about the svn-ports-all
mailing list