1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

textproc/htmltest: New port

HTML validator written in Go.

htmltest runs your HTML output through a series of checks to ensure all your
links, images, scripts references work, your alt tags are filled in, et cetera.

WWW: https://github.com/wjdp/htmltest
This commit is contained in:
Danilo G. Baio 2021-11-13 21:37:01 -03:00
parent 213837d19c
commit 35402f9f8d
4 changed files with 77 additions and 0 deletions

View File

@ -278,6 +278,7 @@
SUBDIR += htmldoc
SUBDIR += htmlise
SUBDIR += htmlq
SUBDIR += htmltest
SUBDIR += htmltolatex
SUBDIR += humanzip
SUBDIR += hunspell

View File

@ -0,0 +1,39 @@
PORTNAME= htmltest
DISTVERSIONPREFIX= v
DISTVERSION= 0.15.0
CATEGORIES= textproc
MAINTAINER= dbaio@FreeBSD.org
COMMENT= HTML validator written in Go
LICENSE= MIT
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= wjdp
GH_TUPLE= \
badoux:checkmail:v1.2.1:badoux_checkmail/vendor/github.com/badoux/checkmail \
daviddengcn:go-algs:fe23fabd9d06:daviddengcn_go_algs/vendor/github.com/daviddengcn/go-algs \
daviddengcn:go-assert:ba7e68aeeff6:daviddengcn_go_assert/vendor/github.com/daviddengcn/go-assert \
daviddengcn:go-villa:68107afb6d76:daviddengcn_go_villa/vendor/github.com/daviddengcn/go-villa \
docopt:docopt.go:ee0de3bc6815:docopt_docopt_go/vendor/github.com/docopt/docopt_go \
fatih:color:v1.10.0:fatih_color/vendor/github.com/fatih/color \
go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
golang:net:6772e930b67b:golang_net/vendor/golang.org/x/net \
golang:sys:4bcb84eeeb78:golang_sys/vendor/golang.org/x/sys \
golangplus:bytes:v1.0.0:golangplus_bytes/vendor/github.com/golangplus/bytes \
golangplus:sort:v1.0.0:golangplus_sort/vendor/github.com/golangplus/sort \
imdario:mergo:v0.3.11:imdario_mergo/vendor/github.com/imdario/mergo \
mattn:go-colorable:v0.1.8:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-isatty:v0.0.12:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
seborama:govcr:v2.4.2:seborama_govcr/vendor/gopkg.in/seborama/govcr.v2
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
post-extract:
( cd ${WRKSRC} && ${MV} vendor/github.com/docopt/docopt_go \
vendor/github.com/docopt/docopt-go )
.include <bsd.port.mk>

View File

@ -0,0 +1,33 @@
TIMESTAMP = 1636840211
SHA256 (wjdp-htmltest-v0.15.0_GH0.tar.gz) = d8a8fa1f7ce6cf7a05401fa7ae3f1dd85e4abb2f0354f8825a2e628d4824df9b
SIZE (wjdp-htmltest-v0.15.0_GH0.tar.gz) = 5679726
SHA256 (badoux-checkmail-v1.2.1_GH0.tar.gz) = 41e1b4afb111bcbec7b0650a4a02ea9f68dd4178f80dc3e33727c45481dfe6eb
SIZE (badoux-checkmail-v1.2.1_GH0.tar.gz) = 3188
SHA256 (daviddengcn-go-algs-fe23fabd9d06_GH0.tar.gz) = e14291ed15d7bc62e55f3ae1eb74fda28185574bc3353291db0fc93cfcd899b6
SIZE (daviddengcn-go-algs-fe23fabd9d06_GH0.tar.gz) = 8461
SHA256 (daviddengcn-go-assert-ba7e68aeeff6_GH0.tar.gz) = f868d6608c106986874cd59f6f985e585c2b40d532ba9da9486a8bfa810b147d
SIZE (daviddengcn-go-assert-ba7e68aeeff6_GH0.tar.gz) = 3642
SHA256 (daviddengcn-go-villa-68107afb6d76_GH0.tar.gz) = 8b67640868ccf35ed4e3cb819cdbe9de98c7f4d709a34bd7a794c14bd5e50516
SIZE (daviddengcn-go-villa-68107afb6d76_GH0.tar.gz) = 23052
SHA256 (docopt-docopt.go-ee0de3bc6815_GH0.tar.gz) = ba02d30f7be6ff0f486c9ea8cacd84255d643cf58397a6926b805c76ed6da43a
SIZE (docopt-docopt.go-ee0de3bc6815_GH0.tar.gz) = 30673
SHA256 (fatih-color-v1.10.0_GH0.tar.gz) = a00342a7ffb8b119346dce56e152a111cbb9eab3970c429cc2ed4272aec2858e
SIZE (fatih-color-v1.10.0_GH0.tar.gz) = 1267532
SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209
SHA256 (golang-net-6772e930b67b_GH0.tar.gz) = fde23e272650c45d1538ff7fc0e88d3935f6bb2a45c8c4d595c0b9375301d52e
SIZE (golang-net-6772e930b67b_GH0.tar.gz) = 1251401
SHA256 (golang-sys-4bcb84eeeb78_GH0.tar.gz) = 8404dc19a7a60236cc3c25abb192125961d338b182f97115d6265e063a4198e8
SIZE (golang-sys-4bcb84eeeb78_GH0.tar.gz) = 1101830
SHA256 (golangplus-bytes-v1.0.0_GH0.tar.gz) = 1b0116b6b25a8594536c51eb198fd3b22a54b0c4f57861a4e7b75bfbbc8720e6
SIZE (golangplus-bytes-v1.0.0_GH0.tar.gz) = 4884
SHA256 (golangplus-sort-v1.0.0_GH0.tar.gz) = 94edd9e105ee82ff865c75a71ae88f569d208208c78c0264e1b664f2d02d0b83
SIZE (golangplus-sort-v1.0.0_GH0.tar.gz) = 5241
SHA256 (imdario-mergo-v0.3.11_GH0.tar.gz) = 36544167ad735d458781b89ce3c3bfd56dd6ebdeadd5f3b4e1e0c6e0ab4f2191
SIZE (imdario-mergo-v0.3.11_GH0.tar.gz) = 22060
SHA256 (mattn-go-colorable-v0.1.8_GH0.tar.gz) = 1027954f9abbe06b6e117e3047af70204dd0eb4f8c27fcd459fb2574b279755f
SIZE (mattn-go-colorable-v0.1.8_GH0.tar.gz) = 9571
SHA256 (mattn-go-isatty-v0.0.12_GH0.tar.gz) = addbdc341d7685ed4cc8d2d8a8fd2bd9b784bde00d0ea99fb251039fc10c611c
SIZE (mattn-go-isatty-v0.0.12_GH0.tar.gz) = 4548
SHA256 (seborama-govcr-v2.4.2_GH0.tar.gz) = 4149074f85150fcca2770c8f8f3d5a69c85c3f1a8a4899ca231739b5383434fa
SIZE (seborama-govcr-v2.4.2_GH0.tar.gz) = 19932

View File

@ -0,0 +1,4 @@
htmltest runs your HTML output through a series of checks to ensure all your
links, images, scripts references work, your alt tags are filled in, et cetera.
WWW: https://github.com/wjdp/htmltest