git: 901f12a1697f - main - www/rubygem-llhttp: Add rubygem-llhttp 0.6.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 09 Apr 2025 17:49:30 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=901f12a1697f2c07b44fe6145e4098b85152426d

commit 901f12a1697f2c07b44fe6145e4098b85152426d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-04-09 17:41:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-04-09 17:41:42 +0000

    www/rubygem-llhttp: Add rubygem-llhttp 0.6.1
    
    This is a monorepo that includes projects for MRI and FFI. Generally speaking,
    you should prefer the MRI version and fallback to the FFI version for better
    compatibility. There is parity between the two implementations, but the MRI
    implementation is more performant.
---
 www/Makefile                 |  1 +
 www/rubygem-llhttp/Makefile  | 16 ++++++++++++++++
 www/rubygem-llhttp/distinfo  |  3 +++
 www/rubygem-llhttp/pkg-descr |  4 ++++
 4 files changed, 24 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 2279da2f9b57..ccebf0450f69 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2215,6 +2215,7 @@
     SUBDIR += rubygem-less
     SUBDIR += rubygem-lighthouse-api
     SUBDIR += rubygem-link_header
+    SUBDIR += rubygem-llhttp
     SUBDIR += rubygem-llhttp-ffi
     SUBDIR += rubygem-lograge
     SUBDIR += rubygem-lograge-rails5
diff --git a/www/rubygem-llhttp/Makefile b/www/rubygem-llhttp/Makefile
new file mode 100644
index 000000000000..cf8d285d2f41
--- /dev/null
+++ b/www/rubygem-llhttp/Makefile
@@ -0,0 +1,16 @@
+PORTNAME=	llhttp
+PORTVERSION=	0.6.1
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby bindings for llhttp
+WWW=		https://github.com/bryanp/llhttp \
+		https://github.com/bryanp/llhttp/tree/main/mri
+
+LICENSE=	MPL20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gem
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-llhttp/distinfo b/www/rubygem-llhttp/distinfo
new file mode 100644
index 000000000000..8573e616bcfa
--- /dev/null
+++ b/www/rubygem-llhttp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1744215561
+SHA256 (rubygem/llhttp-0.6.1.gem) = 9da187ecf6407265465919cc0d691210ef79e38fa6e86e5e45593bdf25b50146
+SIZE (rubygem/llhttp-0.6.1.gem) = 54784
diff --git a/www/rubygem-llhttp/pkg-descr b/www/rubygem-llhttp/pkg-descr
new file mode 100644
index 000000000000..c319c3b355f3
--- /dev/null
+++ b/www/rubygem-llhttp/pkg-descr
@@ -0,0 +1,4 @@
+This is a monorepo that includes projects for MRI and FFI. Generally speaking,
+you should prefer the MRI version and fallback to the FFI version for better
+compatibility. There is parity between the two implementations, but the MRI
+implementation is more performant.