aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2013-11-27 08:04:00 +0800
committermatthew <matthew@FreeBSD.org>2013-11-27 08:04:00 +0800
commitd8d5e037e229aae81b497f96ed5dffd0a4f73c32 (patch)
tree30ef408858c28b7a3331713afa73a11d9cba644e
parent3f2b27d7b4ef0deae01dac80827faa42a59d7943 (diff)
downloadfreebsd-ports-gnome-d8d5e037e229aae81b497f96ed5dffd0a4f73c32.tar.gz
freebsd-ports-gnome-d8d5e037e229aae81b497f96ed5dffd0a4f73c32.tar.zst
freebsd-ports-gnome-d8d5e037e229aae81b497f96ed5dffd0a4f73c32.zip
Plack::Middleware::Test::StashWarnings is a Plack middleware component
to record warnings generated by your application so that you can test them to make sure your application complains about the right things. WWW: http://search.cpan.org/dist/Plack-Middleware-Test-StashWarnings/
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Plack-Middleware-Test-StashWarnings/Makefile22
-rw-r--r--www/p5-Plack-Middleware-Test-StashWarnings/distinfo2
-rw-r--r--www/p5-Plack-Middleware-Test-StashWarnings/pkg-descr5
-rw-r--r--www/p5-Plack-Middleware-Test-StashWarnings/pkg-plist11
5 files changed, 41 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index ebddf1282634..ebaca3cf8327 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1140,6 +1140,7 @@
SUBDIR += p5-Plack-Middleware-Session
SUBDIR += p5-Plack-Middleware-SocketIO
SUBDIR += p5-Plack-Middleware-Status
+ SUBDIR += p5-Plack-Middleware-Test-StashWarnings
SUBDIR += p5-Plack-Middleware-Throttle
SUBDIR += p5-Plack-Middleware-XForwardedFor
SUBDIR += p5-Plack-Server-Coro
diff --git a/www/p5-Plack-Middleware-Test-StashWarnings/Makefile b/www/p5-Plack-Middleware-Test-StashWarnings/Makefile
new file mode 100644
index 000000000000..03b9bb0ceb8a
--- /dev/null
+++ b/www/p5-Plack-Middleware-Test-StashWarnings/Makefile
@@ -0,0 +1,22 @@
+# Created by: Matthew Seaman <matthew@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Plack-Middleware-Test-StashWarnings
+PORTVERSION= 0.07
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= matthew@FreeBSD.org
+COMMENT= Test your application's warnings
+
+BUILD_DEPENDS= p5-Plack>0:${PORTSDIR}/www/p5-Plack
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+
+regression-test: build
+ @cd ${WRKSRC} && ${MAKE} test
+
+.include <bsd.port.mk>
diff --git a/www/p5-Plack-Middleware-Test-StashWarnings/distinfo b/www/p5-Plack-Middleware-Test-StashWarnings/distinfo
new file mode 100644
index 000000000000..60f6bbe8bc10
--- /dev/null
+++ b/www/p5-Plack-Middleware-Test-StashWarnings/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Plack-Middleware-Test-StashWarnings-0.07.tar.gz) = 54b1640ad12d60f3997fcc38748faa754fed56bce43d5372488aad501861f93f
+SIZE (Plack-Middleware-Test-StashWarnings-0.07.tar.gz) = 22792
diff --git a/www/p5-Plack-Middleware-Test-StashWarnings/pkg-descr b/www/p5-Plack-Middleware-Test-StashWarnings/pkg-descr
new file mode 100644
index 000000000000..6a9039101d33
--- /dev/null
+++ b/www/p5-Plack-Middleware-Test-StashWarnings/pkg-descr
@@ -0,0 +1,5 @@
+Plack::Middleware::Test::StashWarnings is a Plack middleware component
+to record warnings generated by your application so that you can test
+them to make sure your application complains about the right things.
+
+WWW: http://search.cpan.org/dist/Plack-Middleware-Test-StashWarnings/
diff --git a/www/p5-Plack-Middleware-Test-StashWarnings/pkg-plist b/www/p5-Plack-Middleware-Test-StashWarnings/pkg-plist
new file mode 100644
index 000000000000..054334f72f65
--- /dev/null
+++ b/www/p5-Plack-Middleware-Test-StashWarnings/pkg-plist
@@ -0,0 +1,11 @@
+%%PERL5_MAN3%%/Plack::Middleware::Test::StashWarnings.3.gz
+%%SITE_PERL%%/Plack/Middleware/Test/StashWarnings.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/Test/StashWarnings/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/Test/StashWarnings
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/Test
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack
+@dirrmtry %%SITE_PERL%%/Plack/Middleware/Test
+@dirrmtry %%SITE_PERL%%/Plack/Middleware
+@dirrmtry %%SITE_PERL%%/Plack
+