aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2011-06-24 22:55:20 +0800
committertota <tota@FreeBSD.org>2011-06-24 22:55:20 +0800
commit2b39dae24e8eee5fe34dd82a49cf85aff4d41c82 (patch)
tree359b23cb91e03ae8e2b97e22fe00f85b89d3b944 /net
parent9d35c9ed42c3234cb6ddbe3f7c3265a578e89f41 (diff)
downloadfreebsd-ports-gnome-2b39dae24e8eee5fe34dd82a49cf85aff4d41c82.tar.gz
freebsd-ports-gnome-2b39dae24e8eee5fe34dd82a49cf85aff4d41c82.tar.zst
freebsd-ports-gnome-2b39dae24e8eee5fe34dd82a49cf85aff4d41c82.zip
- Add a new port: net/rubygem-http_parser.rb
A simple callback-based HTTP request/response parser for writing http servers, clients and proxies. WWW: https://github.com/tmm1/http_parser.rb
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/rubygem-http_parser.rb/Makefile20
-rw-r--r--net/rubygem-http_parser.rb/distinfo2
-rw-r--r--net/rubygem-http_parser.rb/pkg-descr4
-rw-r--r--net/rubygem-http_parser.rb/pkg-plist1
5 files changed, 28 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 318fa779718f..645347cf8ce0 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -950,6 +950,7 @@
SUBDIR += rubygem-amqp
SUBDIR += rubygem-bunny
SUBDIR += rubygem-geoip
+ SUBDIR += rubygem-http_parser.rb
SUBDIR += rubygem-ipaddress
SUBDIR += rubygem-macaddr
SUBDIR += rubygem-net-ldap
diff --git a/net/rubygem-http_parser.rb/Makefile b/net/rubygem-http_parser.rb/Makefile
new file mode 100644
index 000000000000..f870f20d2d95
--- /dev/null
+++ b/net/rubygem-http_parser.rb/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: rubygem-http_parser.rb
+# Date created: 2011-06-23
+# Whom: TAKATSU Tomonari <tota@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= http_parser.rb
+PORTVERSION= 0.5.1
+CATEGORIES= net rubygems
+MASTER_SITES= RG
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= A simple callback-based HTTP request/response parser
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-http_parser.rb/distinfo b/net/rubygem-http_parser.rb/distinfo
new file mode 100644
index 000000000000..b4d47d50e42b
--- /dev/null
+++ b/net/rubygem-http_parser.rb/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/http_parser.rb-0.5.1.gem) = 4c3d822233634f9eac6a18ccc5703c25311b45ea8b7904a4f85af1693dc2bb7a
+SIZE (rubygem/http_parser.rb-0.5.1.gem) = 88576
diff --git a/net/rubygem-http_parser.rb/pkg-descr b/net/rubygem-http_parser.rb/pkg-descr
new file mode 100644
index 000000000000..e451ee677e35
--- /dev/null
+++ b/net/rubygem-http_parser.rb/pkg-descr
@@ -0,0 +1,4 @@
+A simple callback-based HTTP request/response parser for writing http servers,
+clients and proxies.
+
+WWW: https://github.com/tmm1/http_parser.rb
diff --git a/net/rubygem-http_parser.rb/pkg-plist b/net/rubygem-http_parser.rb/pkg-plist
new file mode 100644
index 000000000000..8fb5cc4556d5
--- /dev/null
+++ b/net/rubygem-http_parser.rb/pkg-plist
@@ -0,0 +1 @@
+@comment $FreeBSD$