git: 8229e8b18be3 - main - devel/rubygem-ruby-lsp: Add rubygem-ruby-lsp 0.8.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 21 Aug 2023 17:13:00 UTC
The branch main has been updated by sunpoet:

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

commit 8229e8b18be3cc168b4ad6c8a4af366e9b62d501
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-21 16:52:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-21 17:01:58 +0000

    devel/rubygem-ruby-lsp: Add rubygem-ruby-lsp 0.8.1
    
    The Ruby LSP is an implementation of the language server protocol for Ruby, used
    to improve rich features in editors. It is a part of a wider goal to provide a
    state-of-the-art experience to Ruby developers using modern standards for
    cross-editor features, documentation and debugging.
---
 devel/Makefile                   |  1 +
 devel/rubygem-ruby-lsp/Makefile  | 26 ++++++++++++++++++++++++++
 devel/rubygem-ruby-lsp/distinfo  |  3 +++
 devel/rubygem-ruby-lsp/pkg-descr |  4 ++++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8ed8329ce0d4..c73e18127def 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7270,6 +7270,7 @@
     SUBDIR += rubygem-ruby-filemagic
     SUBDIR += rubygem-ruby-fogbugz
     SUBDIR += rubygem-ruby-libvirt
+    SUBDIR += rubygem-ruby-lsp
     SUBDIR += rubygem-ruby-macho
     SUBDIR += rubygem-ruby-magic
     SUBDIR += rubygem-ruby-ole
diff --git a/devel/rubygem-ruby-lsp/Makefile b/devel/rubygem-ruby-lsp/Makefile
new file mode 100644
index 000000000000..51f7f515987b
--- /dev/null
+++ b/devel/rubygem-ruby-lsp/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	ruby-lsp
+PORTVERSION=	0.8.1
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Opinionated language server for Ruby
+WWW=		https://shopify.github.io/ruby-lsp/ \
+		https://github.com/Shopify/ruby-lsp
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-language_server-protocol>=3.17.0<3.18:devel/rubygem-language_server-protocol \
+		rubygem-sorbet-runtime>=0:devel/rubygem-sorbet-runtime \
+		rubygem-syntax_tree>=6.1.1<7:devel/rubygem-syntax_tree \
+		rubygem-yarp>=0.6.0<0.7:textproc/rubygem-yarp
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PLIST_FILES=	bin/ruby-lsp \
+		bin/ruby-lsp-check
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-ruby-lsp/distinfo b/devel/rubygem-ruby-lsp/distinfo
new file mode 100644
index 000000000000..d23e2b7b4d99
--- /dev/null
+++ b/devel/rubygem-ruby-lsp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1692211621
+SHA256 (rubygem/ruby-lsp-0.8.1.gem) = f8e4be69799cdff14b6583d6fcec13c81f11abab7cac8f0334562e12648ebb84
+SIZE (rubygem/ruby-lsp-0.8.1.gem) = 57344
diff --git a/devel/rubygem-ruby-lsp/pkg-descr b/devel/rubygem-ruby-lsp/pkg-descr
new file mode 100644
index 000000000000..b5465552e396
--- /dev/null
+++ b/devel/rubygem-ruby-lsp/pkg-descr
@@ -0,0 +1,4 @@
+The Ruby LSP is an implementation of the language server protocol for Ruby, used
+to improve rich features in editors. It is a part of a wider goal to provide a
+state-of-the-art experience to Ruby developers using modern standards for
+cross-editor features, documentation and debugging.