From 36de6cd21002688f8362658907e8fe13315bca91 Mon Sep 17 00:00:00 2001 From: erwin Date: Wed, 11 Jan 2006 17:12:59 +0000 Subject: This plugin will enhance the standard Catalyst debug screen by including a stack trace of your appliation up to the point where the error occurred. Each stack frame is displayed along with the package name, line number, file name, and code context surrounding the line number. WWW: http://search.cpan.org/dist/Catalyst-Plugin-StackTrace/ PR: ports/91667 Submitted by: Lars Balker Rasmussen --- www/Makefile | 1 + www/p5-Catalyst-Plugin-StackTrace/Makefile | 30 +++++++++++++++++++++++++++++ www/p5-Catalyst-Plugin-StackTrace/distinfo | 3 +++ www/p5-Catalyst-Plugin-StackTrace/pkg-descr | 6 ++++++ www/p5-Catalyst-Plugin-StackTrace/pkg-plist | 3 +++ 5 files changed, 43 insertions(+) create mode 100644 www/p5-Catalyst-Plugin-StackTrace/Makefile create mode 100644 www/p5-Catalyst-Plugin-StackTrace/distinfo create mode 100644 www/p5-Catalyst-Plugin-StackTrace/pkg-descr create mode 100644 www/p5-Catalyst-Plugin-StackTrace/pkg-plist (limited to 'www') diff --git a/www/Makefile b/www/Makefile index 575597499e1d..d2e0191d2c22 100644 --- a/www/Makefile +++ b/www/Makefile @@ -527,6 +527,7 @@ SUBDIR += p5-Catalyst-Plugin-Session-Store-File SUBDIR += p5-Catalyst-Plugin-Session-Store-Memcached SUBDIR += p5-Catalyst-Plugin-Singleton + SUBDIR += p5-Catalyst-Plugin-StackTrace SUBDIR += p5-Catalyst-Plugin-Static SUBDIR += p5-Catalyst-Plugin-SubRequest SUBDIR += p5-Catalyst-Plugin-Textile diff --git a/www/p5-Catalyst-Plugin-StackTrace/Makefile b/www/p5-Catalyst-Plugin-StackTrace/Makefile new file mode 100644 index 000000000000..37273805881e --- /dev/null +++ b/www/p5-Catalyst-Plugin-StackTrace/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: www/p5-Catalyst-Plugin-StackTrace +# Date created: Jan 11 2006 +# Whom: Lars Balker Rasmussen +# +# $FreeBSD$ +# + +PORTNAME= Catalyst-Plugin-StackTrace +PORTVERSION= 0.02 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Catalyst +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@balker.dk +COMMENT= Display a stack trace on the debug screen + +BUILD_DEPENDS= p5-Catalyst>=5.61:${PORTSDIR}/www/p5-Catalyst \ + p5-Devel-StackTrace>=0:${PORTSDIR}/devel/p5-Devel-StackTrace +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_MODBUILD= yes + +MAN3= Catalyst::Plugin::StackTrace.3 + +.include +.if ${PERL_LEVEL} < 500800 +IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again +.endif +.include diff --git a/www/p5-Catalyst-Plugin-StackTrace/distinfo b/www/p5-Catalyst-Plugin-StackTrace/distinfo new file mode 100644 index 000000000000..4f82fe12fc29 --- /dev/null +++ b/www/p5-Catalyst-Plugin-StackTrace/distinfo @@ -0,0 +1,3 @@ +MD5 (Catalyst-Plugin-StackTrace-0.02.tar.gz) = 849ed88f5c6300911b26f0403a89c87c +SHA256 (Catalyst-Plugin-StackTrace-0.02.tar.gz) = a17ca3a0435f055887e86e874c508ca6340f6da91540bcbd7aea1fe62fce7375 +SIZE (Catalyst-Plugin-StackTrace-0.02.tar.gz) = 5187 diff --git a/www/p5-Catalyst-Plugin-StackTrace/pkg-descr b/www/p5-Catalyst-Plugin-StackTrace/pkg-descr new file mode 100644 index 000000000000..914df0c9989c --- /dev/null +++ b/www/p5-Catalyst-Plugin-StackTrace/pkg-descr @@ -0,0 +1,6 @@ +This plugin will enhance the standard Catalyst debug screen by including +a stack trace of your appliation up to the point where the error +occurred. Each stack frame is displayed along with the package name, +line number, file name, and code context surrounding the line number. + +WWW: http://search.cpan.org/dist/Catalyst-Plugin-StackTrace/ diff --git a/www/p5-Catalyst-Plugin-StackTrace/pkg-plist b/www/p5-Catalyst-Plugin-StackTrace/pkg-plist new file mode 100644 index 000000000000..569d2b1d8c3d --- /dev/null +++ b/www/p5-Catalyst-Plugin-StackTrace/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/Catalyst/Plugin/StackTrace.pm +@unexec rmdir %D/%%SITE_PERL%%/Catalyst/Plugin 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Catalyst 2>/dev/null || true -- cgit