aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Plack-Middleware-NoMultipleSlashes/Makefile21
-rw-r--r--www/p5-Plack-Middleware-NoMultipleSlashes/distinfo2
-rw-r--r--www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr5
-rw-r--r--www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist2
5 files changed, 31 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 73a5b9a7b707..7ae1deb0bae8 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1150,6 +1150,7 @@
SUBDIR += p5-Plack-Middleware-JSConcat
SUBDIR += p5-Plack-Middleware-MemoryUsage
SUBDIR += p5-Plack-Middleware-MethodOverride
+ SUBDIR += p5-Plack-Middleware-NoMultipleSlashes
SUBDIR += p5-Plack-Middleware-Precompressed
SUBDIR += p5-Plack-Middleware-RemoveRedundantBody
SUBDIR += p5-Plack-Middleware-Reproxy
diff --git a/www/p5-Plack-Middleware-NoMultipleSlashes/Makefile b/www/p5-Plack-Middleware-NoMultipleSlashes/Makefile
new file mode 100644
index 000000000000..0308db756150
--- /dev/null
+++ b/www/p5-Plack-Middleware-NoMultipleSlashes/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= Plack-Middleware-NoMultipleSlashes
+PORTVERSION= 0.001
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= jeremybbaggs@gmail.com
+COMMENT= Automatically remove multiple slashes in your paths
+
+LICENSE= GPLv1
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= p5-Plack>=0:${PORTSDIR}/www/p5-Plack
+RUN_DEPENDS= p5-Plack>=0:${PORTSDIR}/www/p5-Plack
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/www/p5-Plack-Middleware-NoMultipleSlashes/distinfo b/www/p5-Plack-Middleware-NoMultipleSlashes/distinfo
new file mode 100644
index 000000000000..7201f20d0cce
--- /dev/null
+++ b/www/p5-Plack-Middleware-NoMultipleSlashes/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Plack-Middleware-NoMultipleSlashes-0.001.tar.gz) = bdc37f1089556e5bf78f2421df1073d0c3d1cc356a73205f478e5fc78b152ee3
+SIZE (Plack-Middleware-NoMultipleSlashes-0.001.tar.gz) = 10535
diff --git a/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr b/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr
new file mode 100644
index 000000000000..5f6f2472fa85
--- /dev/null
+++ b/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-descr
@@ -0,0 +1,5 @@
+Plack Middleware. By enabling this middleware, all multiple slashes in your
+requests will automatically be cut. //hello///world becomes /hello/world.
+Simple as that.
+
+WWW: http://search.cpan.org/dist/Plack-Middleware-NoMultipleSlashes/
diff --git a/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist b/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist
new file mode 100644
index 000000000000..b355a244f3c3
--- /dev/null
+++ b/www/p5-Plack-Middleware-NoMultipleSlashes/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Plack/Middleware/NoMultipleSlashes.pm
+%%PERL5_MAN3%%/Plack::Middleware::NoMultipleSlashes.3.gz