git: 7a7d42d870f7 - main - textproc/rubygem-elastic-apm: Add rubygem-elastic-apm 4.7.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 04 Sep 2023 21:31:10 UTC
The branch main has been updated by sunpoet:

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

commit 7a7d42d870f7050f070c9f3b9a68c0191deb7b89
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-04 21:18:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-04 21:30:03 +0000

    textproc/rubygem-elastic-apm: Add rubygem-elastic-apm 4.7.0
    
    elastic-apm provides Elastic APM (Application Performance Monitoring) agent for
    Ruby.
---
 textproc/Makefile                      |  1 +
 textproc/rubygem-elastic-apm/Makefile  | 23 +++++++++++++++++++++++
 textproc/rubygem-elastic-apm/distinfo  |  3 +++
 textproc/rubygem-elastic-apm/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 880ac8115144..3da935756d1b 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1738,6 +1738,7 @@
     SUBDIR += rubygem-diff_match_patch
     SUBDIR += rubygem-diffy
     SUBDIR += rubygem-docdiff
+    SUBDIR += rubygem-elastic-apm
     SUBDIR += rubygem-elastic-transport
     SUBDIR += rubygem-elasticsearch
     SUBDIR += rubygem-elasticsearch-api
diff --git a/textproc/rubygem-elastic-apm/Makefile b/textproc/rubygem-elastic-apm/Makefile
new file mode 100644
index 000000000000..f9a8e98e0ce5
--- /dev/null
+++ b/textproc/rubygem-elastic-apm/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	elastic-apm
+PORTVERSION=	4.7.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Official Elastic APM agent for Ruby
+WWW=		https://github.com/elastic/apm-agent-ruby
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-concurrent-ruby>=1.0<2:devel/rubygem-concurrent-ruby \
+		rubygem-http>=3.0:www/rubygem-http \
+		rubygem-ruby2_keywords>=0:devel/rubygem-ruby2_keywords
+
+USES=		gem shebangfix
+
+NO_ARCH=	yes
+
+SHEBANG_FILES=	bin/*
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-elastic-apm/distinfo b/textproc/rubygem-elastic-apm/distinfo
new file mode 100644
index 000000000000..9ab4bd215bf2
--- /dev/null
+++ b/textproc/rubygem-elastic-apm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1693823829
+SHA256 (rubygem/elastic-apm-4.7.0.gem) = 4e51043b37498f6e7094612895eec9642d1c36912d1951f2b8766c6e5c4897e5
+SIZE (rubygem/elastic-apm-4.7.0.gem) = 127488
diff --git a/textproc/rubygem-elastic-apm/pkg-descr b/textproc/rubygem-elastic-apm/pkg-descr
new file mode 100644
index 000000000000..5d7d03ebc99c
--- /dev/null
+++ b/textproc/rubygem-elastic-apm/pkg-descr
@@ -0,0 +1,2 @@
+elastic-apm provides Elastic APM (Application Performance Monitoring) agent for
+Ruby.