summaryrefslogtreecommitdiff
path: root/www/ruby-http_router/Makefile
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-02-11 12:43:13 +0000
committertaca <taca@pkgsrc.org>2013-02-11 12:43:13 +0000
commit907bf851ae2e829eaad9d5d66d71b0a8a57d4296 (patch)
tree179e26c255ecc20de53deaf0a93df77ea73a7a0c /www/ruby-http_router/Makefile
parentf6c94c72b30a26246d77b229854c44921c2a2208 (diff)
downloadpkgsrc-907bf851ae2e829eaad9d5d66d71b0a8a57d4296.tar.gz
Add ruby-http_router package version 0.10.2.
# HTTP Router ## What is it? This is an HTTP router for use in either a web framework, or on it's own using Rack. It takes a set of routes and attempts to find the best match for it. Take a look at the examples directory for how you'd use it in the Rack context. ## Features * Ordered route resolution. * Supports variables, and globbing, both named and unnamed. * Regex support for variables. * Request condition support. * Partial matches. * Supports interstitial variables (e.g. /my-:variable-brings.all.the.boys/yard) and unnamed variable /one/:/two * Very fast and small code base (~1,000 loc). * Sinatra via https://github.com/joshbuddy/http_router_sinatra
Diffstat (limited to 'www/ruby-http_router/Makefile')
-rw-r--r--www/ruby-http_router/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/ruby-http_router/Makefile b/www/ruby-http_router/Makefile
new file mode 100644
index 00000000000..80a0abfe0d9
--- /dev/null
+++ b/www/ruby-http_router/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2013/02/11 12:43:13 taca Exp $
+
+DISTNAME= http_router-0.10.2
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/joshbuddy/http_router/
+COMMENT= Kick-ass HTTP router for use in Rack
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-url_mount>=0.2.1<0.3:../../www/ruby-url_mount
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"