diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2013-01-22 06:30:55 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2013-01-22 06:30:55 +0800 |
commit | 67300537dbd2c9b6bbdc9d3012cd267cb7507183 (patch) | |
tree | 949ac3fce3d56f7e22e52ee51d13ae8d27cfd75f /www | |
parent | b67e3bf545b9d9803f42964dd76ffb00b1b81512 (diff) | |
download | freebsd-ports-gnome-67300537dbd2c9b6bbdc9d3012cd267cb7507183.tar.gz freebsd-ports-gnome-67300537dbd2c9b6bbdc9d3012cd267cb7507183.tar.zst freebsd-ports-gnome-67300537dbd2c9b6bbdc9d3012cd267cb7507183.zip |
Plack::Middleware::MemoryUsage is middleware for measuring process
memory.
Enabling Plack::Middleware::MemoryUsage causes huge performance
penalty. So I HIGHLY RECOMMEND to enable this middleware only on
development env or not processing every request on production using
Plack::Middleware::Conditional.
WWW: http://search.cpan.org/dist/Plack-Middleware-MemoryUsage/
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-Plack-Middleware-MemoryUsage/Makefile | 22 | ||||
-rw-r--r-- | www/p5-Plack-Middleware-MemoryUsage/distinfo | 2 | ||||
-rw-r--r-- | www/p5-Plack-Middleware-MemoryUsage/pkg-descr | 9 | ||||
-rw-r--r-- | www/p5-Plack-Middleware-MemoryUsage/pkg-plist | 4 |
5 files changed, 38 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 5f9fae215a85..af6916470122 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1124,6 +1124,7 @@ SUBDIR += p5-Plack-Middleware-Header SUBDIR += p5-Plack-Middleware-IEnosniff SUBDIR += p5-Plack-Middleware-JSConcat + SUBDIR += p5-Plack-Middleware-MemoryUsage SUBDIR += p5-Plack-Middleware-Precompressed SUBDIR += p5-Plack-Middleware-Reproxy SUBDIR += p5-Plack-Middleware-ReverseProxy diff --git a/www/p5-Plack-Middleware-MemoryUsage/Makefile b/www/p5-Plack-Middleware-MemoryUsage/Makefile new file mode 100644 index 000000000000..10ec3cf8aeb1 --- /dev/null +++ b/www/p5-Plack-Middleware-MemoryUsage/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= Plack-Middleware-MemoryUsage +PORTVERSION= 0.02 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= Perl extension for measuring process memory + +RUN_DEPENDS= \ + p5-B-Size2>=2.01:${PORTSDIR}/devel/p5-B-Size2 \ + p5-Devel-Symdump>0:${PORTSDIR}/devel/p5-Devel-Symdump \ + p5-Plack>0:${PORTSDIR}/www/p5-Plack +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Plack::Middleware::MemoryUsage.3 + +.include <bsd.port.mk> diff --git a/www/p5-Plack-Middleware-MemoryUsage/distinfo b/www/p5-Plack-Middleware-MemoryUsage/distinfo new file mode 100644 index 000000000000..faeb59bbb071 --- /dev/null +++ b/www/p5-Plack-Middleware-MemoryUsage/distinfo @@ -0,0 +1,2 @@ +SHA256 (Plack-Middleware-MemoryUsage-0.02.tar.gz) = 2db70bc11a234c019f8ed65e4ff3a6c43342cf8a46e3873b54206a0645d63079 +SIZE (Plack-Middleware-MemoryUsage-0.02.tar.gz) = 27631 diff --git a/www/p5-Plack-Middleware-MemoryUsage/pkg-descr b/www/p5-Plack-Middleware-MemoryUsage/pkg-descr new file mode 100644 index 000000000000..106e1a8dd3df --- /dev/null +++ b/www/p5-Plack-Middleware-MemoryUsage/pkg-descr @@ -0,0 +1,9 @@ +Plack::Middleware::MemoryUsage is middleware for measuring process +memory. + +Enabling Plack::Middleware::MemoryUsage causes huge performance +penalty. So I HIGHLY RECOMMEND to enable this middleware only on +development env or not processing every request on production using +Plack::Middleware::Conditional. + +WWW: http://search.cpan.org/dist/Plack-Middleware-MemoryUsage/ diff --git a/www/p5-Plack-Middleware-MemoryUsage/pkg-plist b/www/p5-Plack-Middleware-MemoryUsage/pkg-plist new file mode 100644 index 000000000000..aeea075cf9d2 --- /dev/null +++ b/www/p5-Plack-Middleware-MemoryUsage/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/MemoryUsage/.packlist +%%SITE_PERL%%/Plack/Middleware/MemoryUsage.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/MemoryUsage +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware |