git: 27df4556ee4c - main - textproc/rubygem-cucumber-gherkin26: Add rubygem-cucumber-gherkin26 26.2.0 (copied from rubygem-cucumber-gherkin)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 23:33:42 UTC
The branch main has been updated by sunpoet:

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

commit 27df4556ee4c609bf952cee4fec87e58c1b200c3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-30 23:29:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-30 23:29:03 +0000

    textproc/rubygem-cucumber-gherkin26: Add rubygem-cucumber-gherkin26 26.2.0 (copied from rubygem-cucumber-gherkin)
    
    - Add PORTSCOUT
---
 textproc/Makefile                             |  1 +
 textproc/rubygem-cucumber-gherkin26/Makefile  | 24 ++++++++++++++++++++++++
 textproc/rubygem-cucumber-gherkin26/distinfo  |  3 +++
 textproc/rubygem-cucumber-gherkin26/pkg-descr |  1 +
 4 files changed, 29 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index d8900e07052c..78e95ae3c315 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1732,6 +1732,7 @@
     SUBDIR += rubygem-css_parser
     SUBDIR += rubygem-cssmin
     SUBDIR += rubygem-cucumber-gherkin
+    SUBDIR += rubygem-cucumber-gherkin26
     SUBDIR += rubygem-cucumber-html-formatter
     SUBDIR += rubygem-diff-lcs
     SUBDIR += rubygem-diff_match_patch
diff --git a/textproc/rubygem-cucumber-gherkin26/Makefile b/textproc/rubygem-cucumber-gherkin26/Makefile
new file mode 100644
index 000000000000..3ec413c03c56
--- /dev/null
+++ b/textproc/rubygem-cucumber-gherkin26/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	cucumber-gherkin
+PORTVERSION=	26.2.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	26
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fast Gherkin lexer/parser based on the Ragel State Machine Compiler
+WWW=		https://github.com/cucumber/gherkin
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	rubygem-cucumber-messages>=19.1.4<22.1:devel/rubygem-cucumber-messages
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^26\.
+
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/gherkin ${STAGEDIR}${PREFIX}/bin/gherkin-ruby
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-cucumber-gherkin26/distinfo b/textproc/rubygem-cucumber-gherkin26/distinfo
new file mode 100644
index 000000000000..4658eef1c102
--- /dev/null
+++ b/textproc/rubygem-cucumber-gherkin26/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681053024
+SHA256 (rubygem/cucumber-gherkin-26.2.0.gem) = 9140cbd4535099eca6d4f62677f08c239198771cecd21a18f57ba87f9365c946
+SIZE (rubygem/cucumber-gherkin-26.2.0.gem) = 34304
diff --git a/textproc/rubygem-cucumber-gherkin26/pkg-descr b/textproc/rubygem-cucumber-gherkin26/pkg-descr
new file mode 100644
index 000000000000..77e6fe4db2cc
--- /dev/null
+++ b/textproc/rubygem-cucumber-gherkin26/pkg-descr
@@ -0,0 +1 @@
+A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.