Date: Sun, 18 Jan 2015 23:18:04 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377373 - in head/www: . p5-Plack-Middleware-Rewrite Message-ID: <201501182318.t0INI4FG018957@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Sun Jan 18 23:18:04 2015 New Revision: 377373 URL: https://svnweb.freebsd.org/changeset/ports/377373 QAT: https://qat.redports.org/buildarchive/r377373/ Log: Add www/p5-Plack-Middleware-Rewrite. This is basically mod_rewrite for Plack. Added: head/www/p5-Plack-Middleware-Rewrite/ head/www/p5-Plack-Middleware-Rewrite/Makefile (contents, props changed) head/www/p5-Plack-Middleware-Rewrite/distinfo (contents, props changed) head/www/p5-Plack-Middleware-Rewrite/pkg-descr (contents, props changed) head/www/p5-Plack-Middleware-Rewrite/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sun Jan 18 22:49:24 2015 (r377372) +++ head/www/Makefile Sun Jan 18 23:18:04 2015 (r377373) @@ -1114,6 +1114,7 @@ SUBDIR += p5-Plack-Middleware-RemoveRedundantBody SUBDIR += p5-Plack-Middleware-Reproxy SUBDIR += p5-Plack-Middleware-ReverseProxy + SUBDIR += p5-Plack-Middleware-Rewrite SUBDIR += p5-Plack-Middleware-ServerStatus-Lite SUBDIR += p5-Plack-Middleware-Session SUBDIR += p5-Plack-Middleware-SocketIO Added: head/www/p5-Plack-Middleware-Rewrite/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Plack-Middleware-Rewrite/Makefile Sun Jan 18 23:18:04 2015 (r377373) @@ -0,0 +1,20 @@ +# Created by: Adam Weinberger <adamw@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Plack-Middleware-Rewrite +PORTVERSION= 1.010 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:ARISTOTLE +PKGNAMEPREFIX= p5- + +MAINTAINER= adamw@FreeBSD.org +COMMENT= mod_rewrite for Plack + +BUILD_DEPENDS= p5-Plack>=0.9942:${PORTSDIR}/www/p5-Plack +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> Added: head/www/p5-Plack-Middleware-Rewrite/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Plack-Middleware-Rewrite/distinfo Sun Jan 18 23:18:04 2015 (r377373) @@ -0,0 +1,2 @@ +SHA256 (Plack-Middleware-Rewrite-1.010.tar.gz) = bd7929d4cfbd47971ddfa2c2f7d263fd1cefceb434bde27ba529f78a11f1d21b +SIZE (Plack-Middleware-Rewrite-1.010.tar.gz) = 13234 Added: head/www/p5-Plack-Middleware-Rewrite/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Plack-Middleware-Rewrite/pkg-descr Sun Jan 18 23:18:04 2015 (r377373) @@ -0,0 +1,7 @@ +This middleware provides a convenient way to modify requests in flight in Plack +apps. Rewrite rules are simply written in Perl, which means everything that can +be done with mod_rewrite can be done with this middleware much more intuitively +(if in syntactically wordier ways). Its primary purpose is rewriting paths, but +almost anything is possible very easily. + +WWW: https://metacpan.org/pod/Plack::Middleware::Rewrite Added: head/www/p5-Plack-Middleware-Rewrite/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Plack-Middleware-Rewrite/pkg-plist Sun Jan 18 23:18:04 2015 (r377373) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Plack/Middleware/Rewrite.pm +%%PERL5_MAN3%%/Plack::Middleware::Rewrite.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501182318.t0INI4FG018957>