diff --git a/net/Makefile b/net/Makefile index 3915e9a931e2..a8462ecd337e 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1262,6 +1262,7 @@ SUBDIR += rubygem-google-cloud-storage SUBDIR += rubygem-grpc SUBDIR += rubygem-hangouts-chat + SUBDIR += rubygem-http-parser SUBDIR += rubygem-http_parser.rb SUBDIR += rubygem-httpauth SUBDIR += rubygem-ipaddress diff --git a/net/rubygem-http-parser/Makefile b/net/rubygem-http-parser/Makefile new file mode 100644 index 000000000000..16f7c09c8dcc --- /dev/null +++ b/net/rubygem-http-parser/Makefile @@ -0,0 +1,20 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= http-parser +PORTVERSION= 1.2.1 +CATEGORIES= net rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Super fast http parser for Ruby + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-ffi-compiler>=1.0<2.0:devel/rubygem-ffi-compiler + +USES= gem +USE_RUBY= yes + +.include diff --git a/net/rubygem-http-parser/distinfo b/net/rubygem-http-parser/distinfo new file mode 100644 index 000000000000..5f33b6cac23d --- /dev/null +++ b/net/rubygem-http-parser/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1571847969 +SHA256 (rubygem/http-parser-1.2.1.gem) = 1277ce987082736efa787dc0578fdef8872fd73dce034ad9fc05b71351409f83 +SIZE (rubygem/http-parser-1.2.1.gem) = 31232 diff --git a/net/rubygem-http-parser/pkg-descr b/net/rubygem-http-parser/pkg-descr new file mode 100644 index 000000000000..ee7862151e78 --- /dev/null +++ b/net/rubygem-http-parser/pkg-descr @@ -0,0 +1,4 @@ +http-parser gem is a Ruby FFI bindings to http-parser (http request/response +parser for c). + +WWW: https://github.com/cotag/http-parser