aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-09-09 17:03:14 +0000
committerSteve Wills <swills@FreeBSD.org>2014-09-09 17:03:14 +0000
commitb53ae27b10233561bc85734dd47eba8f8f7d98be (patch)
tree4a5934eafa0e7ee9d90dd371bdac28e628680535 /www
parente1b66c5b75cb23c6f5b96e9dd78a7ab4cb9b8085 (diff)
downloadports-b53ae27b10233561bc85734dd47eba8f8f7d98be.tar.gz
ports-b53ae27b10233561bc85734dd47eba8f8f7d98be.zip
www/rubygem-http_router: add port for rubygem-http_router
Sort category Makefile while here. This library allows you to recognize and build URLs in a Rack application. WWW: http://github.com/joshbuddy/http_router
Notes
Notes: svn path=/head/; revision=367750
Diffstat (limited to 'www')
-rw-r--r--www/Makefile3
-rw-r--r--www/rubygem-http_router/Makefile19
-rw-r--r--www/rubygem-http_router/distinfo2
-rw-r--r--www/rubygem-http_router/pkg-descr3
4 files changed, 26 insertions, 1 deletions
diff --git a/www/Makefile b/www/Makefile
index df42745f9e7f..62e5c9b06c0f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1782,9 +1782,10 @@
SUBDIR += rubygem-html2haml
SUBDIR += rubygem-http
SUBDIR += rubygem-http-cookie
- SUBDIR += rubygem-httpi
+ SUBDIR += rubygem-http_router
SUBDIR += rubygem-httparty
SUBDIR += rubygem-httpclient
+ SUBDIR += rubygem-httpi
SUBDIR += rubygem-innate
SUBDIR += rubygem-jekyll
SUBDIR += rubygem-jekyll-watch
diff --git a/www/rubygem-http_router/Makefile b/www/rubygem-http_router/Makefile
new file mode 100644
index 000000000000..bdfb1f6a3a40
--- /dev/null
+++ b/www/rubygem-http_router/Makefile
@@ -0,0 +1,19 @@
+# Created by: Steve Wills <swills@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= http_router
+PORTVERSION= 0.11.1
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= HTTP router for use in Rack
+
+RUN_DEPENDS= rubygem-rack>=1.0.0:${PORTSDIR}/www/rubygem-rack \
+ rubygem-url_mount>=0.2.1:${PORTSDIR}/www/rubygem-url-mount
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST=yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-http_router/distinfo b/www/rubygem-http_router/distinfo
new file mode 100644
index 000000000000..b2cb34dc7e03
--- /dev/null
+++ b/www/rubygem-http_router/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/http_router-0.11.1.gem) = 61cb61d6135b40d7e74428663a9fd609a32eb376c137db66d7614512dc66913f
+SIZE (rubygem/http_router-0.11.1.gem) = 156672
diff --git a/www/rubygem-http_router/pkg-descr b/www/rubygem-http_router/pkg-descr
new file mode 100644
index 000000000000..c6bc87248890
--- /dev/null
+++ b/www/rubygem-http_router/pkg-descr
@@ -0,0 +1,3 @@
+This library allows you to recognize and build URLs in a Rack application.
+
+WWW: http://github.com/joshbuddy/http_router