aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-01-12 01:12:59 +0800
committererwin <erwin@FreeBSD.org>2006-01-12 01:12:59 +0800
commit36de6cd21002688f8362658907e8fe13315bca91 (patch)
tree89f0aebda23bcf7e9e19c6a62604b82122bd99eb /www
parent6f70e25383b1a0fbab720fbf096e9d3d46546a8f (diff)
downloadfreebsd-ports-gnome-36de6cd21002688f8362658907e8fe13315bca91.tar.gz
freebsd-ports-gnome-36de6cd21002688f8362658907e8fe13315bca91.tar.zst
freebsd-ports-gnome-36de6cd21002688f8362658907e8fe13315bca91.zip
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 <lars@balker.dk>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Catalyst-Plugin-StackTrace/Makefile30
-rw-r--r--www/p5-Catalyst-Plugin-StackTrace/distinfo3
-rw-r--r--www/p5-Catalyst-Plugin-StackTrace/pkg-descr6
-rw-r--r--www/p5-Catalyst-Plugin-StackTrace/pkg-plist3
5 files changed, 43 insertions, 0 deletions
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 <lars@balker.dk>
+#
+# $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 <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
+.endif
+.include <bsd.port.post.mk>
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