git: 294f9ea7f92a - main - textproc/rubygem-html-proofer: Add rubygem-html-proofer 3.19.1
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat May 22 14:47:29 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=294f9ea7f92a04eb657255c5ff0c766d5272b279
commit 294f9ea7f92a04eb657255c5ff0c766d5272b279
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-22 14:42:12 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-22 14:42:12 +0000
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
---
textproc/Makefile | 1 +
textproc/rubygem-html-proofer/Makefile | 28 ++++++++++++++++++++++++++++
textproc/rubygem-html-proofer/distinfo | 3 +++
textproc/rubygem-html-proofer/pkg-descr | 13 +++++++++++++
4 files changed, 45 insertions(+)
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 at FreeBSD.org>
+
+PORTNAME= html-proofer
+PORTVERSION= 3.19.1
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet at 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
More information about the dev-commits-ports-all
mailing list