aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-22 14:42:12 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-22 14:42:12 +0000
commit294f9ea7f92a04eb657255c5ff0c766d5272b279 (patch)
tree74a2d5e846394c9df928fdf900777945f46e0839
parent9ca2b48d710f1904809599d49512a3b7f5951841 (diff)
textproc/rubygem-html-proofer: Add rubygem-html-proofer 3.19.1
HTMLProofer is a set of tests to validate your HTML output. These tests check if your image references are legitimate, if they have alt tags, if your internal links are working, and so on. It's intended to be an all-in-one checker for your output. In scope for this project is any well-known and widely-used test for HTML document quality. A major use for this project is continuous integration -- so we must have reliable results. We usually balance correctness over performance. And, if necessary, we should be able to trace this program's detection of HTML errors back to documented best practices or standards, such as W3 specifications. WWW: https://github.com/gjtorikian/html-proofer
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-html-proofer/Makefile28
-rw-r--r--textproc/rubygem-html-proofer/distinfo3
-rw-r--r--textproc/rubygem-html-proofer/pkg-descr13
4 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 6c4a88c93122..38cd8288f524 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1608,6 +1608,7 @@
SUBDIR += rubygem-hikidoc
SUBDIR += rubygem-html-pipeline
SUBDIR += rubygem-html-pipeline27
+ SUBDIR += rubygem-html-proofer
SUBDIR += rubygem-html2text
SUBDIR += rubygem-htmlentities
SUBDIR += rubygem-ini
diff --git a/textproc/rubygem-html-proofer/Makefile b/textproc/rubygem-html-proofer/Makefile
new file mode 100644
index 000000000000..c5d78d2399b8
--- /dev/null
+++ b/textproc/rubygem-html-proofer/Makefile
@@ -0,0 +1,28 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= html-proofer
+PORTVERSION= 3.19.1
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Test your rendered HTML files
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-addressable>=2.3<3:www/rubygem-addressable \
+ rubygem-mercenary>=0.3<1:devel/rubygem-mercenary \
+ rubygem-nokogumbo>=2.0<3:textproc/rubygem-nokogumbo \
+ rubygem-parallel>=1.3<2:sysutils/rubygem-parallel \
+ rubygem-rainbow>=3.0<4:devel/rubygem-rainbow \
+ rubygem-typhoeus>=1.3<2:www/rubygem-typhoeus \
+ rubygem-yell>=2.0<3:sysutils/rubygem-yell
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+PLIST_FILES= bin/htmlproofer
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-html-proofer/distinfo b/textproc/rubygem-html-proofer/distinfo
new file mode 100644
index 000000000000..ae34fcc87c8a
--- /dev/null
+++ b/textproc/rubygem-html-proofer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621183176
+SHA256 (rubygem/html-proofer-3.19.1.gem) = 09e62fcdff7e839a7dd956e4a02a549a4ffc71dc77721b6ad50c1d4f958101f7
+SIZE (rubygem/html-proofer-3.19.1.gem) = 22016
diff --git a/textproc/rubygem-html-proofer/pkg-descr b/textproc/rubygem-html-proofer/pkg-descr
new file mode 100644
index 000000000000..d6229b1755d4
--- /dev/null
+++ b/textproc/rubygem-html-proofer/pkg-descr
@@ -0,0 +1,13 @@
+HTMLProofer is a set of tests to validate your HTML output. These tests check if
+your image references are legitimate, if they have alt tags, if your internal
+links are working, and so on. It's intended to be an all-in-one checker for your
+output.
+
+In scope for this project is any well-known and widely-used test for HTML
+document quality. A major use for this project is continuous integration -- so
+we must have reliable results. We usually balance correctness over performance.
+And, if necessary, we should be able to trace this program's detection of HTML
+errors back to documented best practices or standards, such as W3
+specifications.
+
+WWW: https://github.com/gjtorikian/html-proofer