From f60498621a3b9f526417739d20305748169937b9 Mon Sep 17 00:00:00 2001 From: Matthias Fechner Date: Sun, 20 Dec 2020 08:22:47 +0000 Subject: [PATCH] New port: Tool to check markdown files and flag style issues It is expected that this port fails to build till the complete rubygem-chef upgrade is committed which can take some time depending on some approvals. PR: 234114 Submitted by: vvelox@vvelox.net --- textproc/Makefile | 1 + textproc/rubygem-mdl/Makefile | 26 ++++++++++++++++++++++++++ textproc/rubygem-mdl/distinfo | 3 +++ textproc/rubygem-mdl/pkg-descr | 3 +++ 4 files changed, 33 insertions(+) create mode 100644 textproc/rubygem-mdl/Makefile create mode 100644 textproc/rubygem-mdl/distinfo create mode 100644 textproc/rubygem-mdl/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index 34f333a3cc93..6e3b5138034b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1610,6 +1610,7 @@ SUBDIR += rubygem-loofah SUBDIR += rubygem-ltsv SUBDIR += rubygem-markaby + SUBDIR += rubygem-mdl SUBDIR += rubygem-minima SUBDIR += rubygem-multi_xml SUBDIR += rubygem-nokogiri diff --git a/textproc/rubygem-mdl/Makefile b/textproc/rubygem-mdl/Makefile new file mode 100644 index 000000000000..12023c4c5fac --- /dev/null +++ b/textproc/rubygem-mdl/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= mdl +PORTVERSION= 0.11.0 +CATEGORIES= textproc rubygems +MASTER_SITES= RG + +MAINTAINER= vvelox@vvelox.net +COMMENT= Check markdown files and flag style issues + +LICENSE= MIT + +RUN_DEPENDS= rubygem-kramdown>=2.3<3:textproc/rubygem-kramdown \ + rubygem-kramdown-parser-gfm>=1.1<2:textproc/rubygem-kramdown-parser-gfm \ + rubygem-mixlib-cli>=2.1.1<3:devel/rubygem-mixlib-cli \ + rubygem-mixlib-config>=2.2.1<4:devel/rubygem-mixlib-config \ + rubygem-mixlib-shellout>=0:devel/rubygem-mixlib-shellout + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +PLIST_FILES= bin/mdl + +.include diff --git a/textproc/rubygem-mdl/distinfo b/textproc/rubygem-mdl/distinfo new file mode 100644 index 000000000000..032d37a8a4ae --- /dev/null +++ b/textproc/rubygem-mdl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1608383815 +SHA256 (rubygem/mdl-0.11.0.gem) = 18d3dbf9d9dfa128de541166c63879d04256f1f539a35e19b1a8312db6c1ff6d +SIZE (rubygem/mdl-0.11.0.gem) = 17920 diff --git a/textproc/rubygem-mdl/pkg-descr b/textproc/rubygem-mdl/pkg-descr new file mode 100644 index 000000000000..5b8342977f9e --- /dev/null +++ b/textproc/rubygem-mdl/pkg-descr @@ -0,0 +1,3 @@ +A tool to check markdown files and flag style issues. + +WWW: https://github.com/markdownlint/markdownlint