git: 327bfb028505 - main - devel/rubygem-datadog-ruby_core_source: Add rubygem-datadog-ruby_core_source 3.3.6

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:40:58 UTC
The branch main has been updated by sunpoet:

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

commit 327bfb028505ab8c8a7c7dd8039d65093a8f8b76
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:18:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:37:53 +0000

    devel/rubygem-datadog-ruby_core_source: Add rubygem-datadog-ruby_core_source 3.3.6
    
    datadog-ruby_core_source is a fork of debase-ruby_core_source that uses included
    Ruby headers (*.h and *.inc) instead of downloading them. Used by dd-trace-rb.
    Only Ruby 2.5, 3.3, and 3.4 versions are supported.
---
 devel/Makefile                                   |  1 +
 devel/rubygem-datadog-ruby_core_source/Makefile  | 17 +++++++++++++++++
 devel/rubygem-datadog-ruby_core_source/distinfo  |  3 +++
 devel/rubygem-datadog-ruby_core_source/pkg-descr |  3 +++
 4 files changed, 24 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 91638680155d..c7ad1c12ff6f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7099,6 +7099,7 @@
     SUBDIR += rubygem-danger-gitlab
     SUBDIR += rubygem-datadog
     SUBDIR += rubygem-datadog-ci
+    SUBDIR += rubygem-datadog-ruby_core_source
     SUBDIR += rubygem-date
     SUBDIR += rubygem-ddmemoize
     SUBDIR += rubygem-ddmetrics
diff --git a/devel/rubygem-datadog-ruby_core_source/Makefile b/devel/rubygem-datadog-ruby_core_source/Makefile
new file mode 100644
index 000000000000..6cb3d88eda59
--- /dev/null
+++ b/devel/rubygem-datadog-ruby_core_source/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	datadog-ruby_core_source
+PORTVERSION=	3.3.6
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Provide Ruby core source files for C extensions that need them
+WWW=		https://github.com/DataDog/datadog-ruby_core_source
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-datadog-ruby_core_source/distinfo b/devel/rubygem-datadog-ruby_core_source/distinfo
new file mode 100644
index 000000000000..ef021a2575aa
--- /dev/null
+++ b/devel/rubygem-datadog-ruby_core_source/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731679144
+SHA256 (rubygem/datadog-ruby_core_source-3.3.6.gem) = 007c72450d3f5838c6d0ae4a6a77e5008bb29dd97d10ea3bf367f978d7c02f36
+SIZE (rubygem/datadog-ruby_core_source-3.3.6.gem) = 1227776
diff --git a/devel/rubygem-datadog-ruby_core_source/pkg-descr b/devel/rubygem-datadog-ruby_core_source/pkg-descr
new file mode 100644
index 000000000000..84d02630b3c4
--- /dev/null
+++ b/devel/rubygem-datadog-ruby_core_source/pkg-descr
@@ -0,0 +1,3 @@
+datadog-ruby_core_source is a fork of debase-ruby_core_source that uses included
+Ruby headers (*.h and *.inc) instead of downloading them. Used by dd-trace-rb.
+Only Ruby 2.5, 3.3, and 3.4 versions are supported.