git: a07948d5d44b - main - textproc/rubygem-cucumber-gherkin22: Add rubygem-cucumber-gherkin22 22.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 16 Apr 2022 04:21:00 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a07948d5d44bb21367bd9ed81603944d9e09de20

commit a07948d5d44bb21367bd9ed81603944d9e09de20
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-16 03:39:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-16 04:19:05 +0000

    textproc/rubygem-cucumber-gherkin22: Add rubygem-cucumber-gherkin22 22.0.0
    
    - Change RUN_DEPENDS from rubygem-cucumber-messages to rubygem-cucumber-messages17
    - Add PORTSCOUT
---
 textproc/Makefile                             |  1 +
 textproc/rubygem-cucumber-gherkin22/Makefile  | 25 +++++++++++++++++++++++++
 textproc/rubygem-cucumber-gherkin22/distinfo  |  3 +++
 textproc/rubygem-cucumber-gherkin22/pkg-descr |  3 +++
 4 files changed, 32 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index ba4c93955bc6..7b34613b1690 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1634,6 +1634,7 @@
     SUBDIR += rubygem-css_parser
     SUBDIR += rubygem-cssmin
     SUBDIR += rubygem-cucumber-gherkin
+    SUBDIR += rubygem-cucumber-gherkin22
     SUBDIR += rubygem-cucumber-html-formatter
     SUBDIR += rubygem-cucumber-html-formatter17
     SUBDIR += rubygem-diff-lcs
diff --git a/textproc/rubygem-cucumber-gherkin22/Makefile b/textproc/rubygem-cucumber-gherkin22/Makefile
new file mode 100644
index 000000000000..c904c44157ea
--- /dev/null
+++ b/textproc/rubygem-cucumber-gherkin22/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	cucumber-gherkin
+PORTVERSION=	22.0.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	22
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fast Gherkin lexer/parser based on the Ragel State Machine Compiler
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-cucumber-messages17>=17.1.1<18:devel/rubygem-cucumber-messages17
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^22\.
+
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/gherkin*
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-cucumber-gherkin22/distinfo b/textproc/rubygem-cucumber-gherkin22/distinfo
new file mode 100644
index 000000000000..355aa057e24a
--- /dev/null
+++ b/textproc/rubygem-cucumber-gherkin22/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634111946
+SHA256 (rubygem/cucumber-gherkin-22.0.0.gem) = f97293c8a3343db6765ff58811c13143944c3cb22e001830248fed8adbc1c7b7
+SIZE (rubygem/cucumber-gherkin-22.0.0.gem) = 33792
diff --git a/textproc/rubygem-cucumber-gherkin22/pkg-descr b/textproc/rubygem-cucumber-gherkin22/pkg-descr
new file mode 100644
index 000000000000..e30316d3931c
--- /dev/null
+++ b/textproc/rubygem-cucumber-gherkin22/pkg-descr
@@ -0,0 +1,3 @@
+A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
+
+WWW: https://github.com/cucumber/common/tree/main/gherkin/ruby