git: 4099a0c48e26 - main - textproc/rubygem-elasticsearch7: Add rubygem-elasticsearch7 7.17.7 (copied from rubygem-elasticsearch)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 23:51:07 UTC
The branch main has been updated by sunpoet:

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

commit 4099a0c48e260aae66d0ec6fd3d7a22e77ef3e58
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 23:18:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 23:43:38 +0000

    textproc/rubygem-elasticsearch7: Add rubygem-elasticsearch7 7.17.7 (copied from rubygem-elasticsearch)
    
    - Change RUN_DEPENDS from rubygem-elasticsearch-api to rubygem-elasticsearch-api7
    - Add PORTSCOUT
---
 textproc/Makefile                         |  1 +
 textproc/rubygem-elasticsearch7/Makefile  | 26 ++++++++++++++++++++++++++
 textproc/rubygem-elasticsearch7/distinfo  |  3 +++
 textproc/rubygem-elasticsearch7/pkg-descr |  5 +++++
 4 files changed, 35 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index b1a21dfba782..9adaa7398432 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1722,6 +1722,7 @@
     SUBDIR += rubygem-elasticsearch-transport
     SUBDIR += rubygem-elasticsearch-transport713
     SUBDIR += rubygem-elasticsearch-xpack
+    SUBDIR += rubygem-elasticsearch7
     SUBDIR += rubygem-elasticsearch713
     SUBDIR += rubygem-emot
     SUBDIR += rubygem-escape_utils
diff --git a/textproc/rubygem-elasticsearch7/Makefile b/textproc/rubygem-elasticsearch7/Makefile
new file mode 100644
index 000000000000..4043b4d29084
--- /dev/null
+++ b/textproc/rubygem-elasticsearch7/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	elasticsearch
+PORTVERSION=	7.17.7
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	7
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby integrations for Elasticsearch
+WWW=		https://github.com/elastic/elasticsearch-ruby
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-elasticsearch-api7>=${PORTVERSION}<${PORTVERSION}_99:textproc/rubygem-elasticsearch-api7 \
+		rubygem-elasticsearch-transport>=${PORTVERSION}<${PORTVERSION}_99:textproc/rubygem-elasticsearch-transport
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^7\.
+
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/elastic_ruby_console
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-elasticsearch7/distinfo b/textproc/rubygem-elasticsearch7/distinfo
new file mode 100644
index 000000000000..4bb5191e8075
--- /dev/null
+++ b/textproc/rubygem-elasticsearch7/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1684104700
+SHA256 (rubygem/elasticsearch-7.17.7.gem) = a174c52728f544196319613ba81c3099ef7ebfc7dfb8dc00682208e62f32417b
+SIZE (rubygem/elasticsearch-7.17.7.gem) = 15360
diff --git a/textproc/rubygem-elasticsearch7/pkg-descr b/textproc/rubygem-elasticsearch7/pkg-descr
new file mode 100644
index 000000000000..858281e80414
--- /dev/null
+++ b/textproc/rubygem-elasticsearch7/pkg-descr
@@ -0,0 +1,5 @@
+Ruby integrations for Elasticsearch that feature:
+
+* a client for connecting to an Elasticsearch cluster
+* a Ruby API for the Elasticsearch's REST API
+* various extensions and utilities