git: 5a20874bf8c4 - main - www/rubygem-llhttp-ffi: Add rubygem-llhttp-ffi 0.0.1
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun May 16 15:26:05 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5a20874bf8c4bf516c9f5938af962f35995632a0
commit 5a20874bf8c4bf516c9f5938af962f35995632a0
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-16 15:13:07 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-16 15:23:50 +0000
www/rubygem-llhttp-ffi: Add rubygem-llhttp-ffi 0.0.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: https://github.com/metabahn/llhttp/tree/main/ffi
---
www/Makefile | 1 +
www/rubygem-llhttp-ffi/Makefile | 20 ++++++++++++++++++++
www/rubygem-llhttp-ffi/distinfo | 3 +++
www/rubygem-llhttp-ffi/pkg-descr | 6 ++++++
4 files changed, 30 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 83b621c3d533..e4e6cf1c1f0b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1958,6 +1958,7 @@
SUBDIR += rubygem-less
SUBDIR += rubygem-lighthouse-api
SUBDIR += rubygem-link_header
+ SUBDIR += rubygem-llhttp-ffi
SUBDIR += rubygem-lograge
SUBDIR += rubygem-lograge-rails5
SUBDIR += rubygem-lograge-rails52
diff --git a/www/rubygem-llhttp-ffi/Makefile b/www/rubygem-llhttp-ffi/Makefile
new file mode 100644
index 000000000000..c7a1e7938120
--- /dev/null
+++ b/www/rubygem-llhttp-ffi/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= llhttp-ffi
+PORTVERSION= 0.0.1
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Ruby FFI bindings for llhttp
+
+LICENSE= MPL20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rubygem-ffi-compiler>=1.0<2:devel/rubygem-ffi-compiler \
+ rubygem-rake>=13.0<14:devel/rubygem-rake
+
+USES= gem
+USE_RUBY= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-llhttp-ffi/distinfo b/www/rubygem-llhttp-ffi/distinfo
new file mode 100644
index 000000000000..33294061a4a1
--- /dev/null
+++ b/www/rubygem-llhttp-ffi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620928555
+SHA256 (rubygem/llhttp-ffi-0.0.1.gem) = 43dda44e70de298e99e4929ce6b545b2e9fb70b2c9e28abfa304a5ddfbbdb7ef
+SIZE (rubygem/llhttp-ffi-0.0.1.gem) = 77824
diff --git a/www/rubygem-llhttp-ffi/pkg-descr b/www/rubygem-llhttp-ffi/pkg-descr
new file mode 100644
index 000000000000..da5ef59039e1
--- /dev/null
+++ b/www/rubygem-llhttp-ffi/pkg-descr
@@ -0,0 +1,6 @@
+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: https://github.com/metabahn/llhttp/tree/main/ffi
More information about the dev-commits-ports-all
mailing list