aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-01-05 20:46:32 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-01-05 20:46:32 +0800
commit014b15f44c3f1ca0b11517c7012c225f3b976bdd (patch)
tree6b314a930dea2a8a85ed9012c5ec71eb4c443c37 /devel
parentb6441b114475234bb3a3394f42a532a2a36e930b (diff)
downloadfreebsd-ports-gnome-014b15f44c3f1ca0b11517c7012c225f3b976bdd.tar.gz
freebsd-ports-gnome-014b15f44c3f1ca0b11517c7012c225f3b976bdd.tar.zst
freebsd-ports-gnome-014b15f44c3f1ca0b11517c7012c225f3b976bdd.zip
Add p5-Devel-SimpleTrace 0.06, a perl module for better stack traces on
interpretter-generated warn/die. PR: ports/91313 Submitted by: Eric Stith <estith.freebsd.ports@thelunarempire.net>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Devel-SimpleTrace/Makefile28
-rw-r--r--devel/p5-Devel-SimpleTrace/distinfo3
-rw-r--r--devel/p5-Devel-SimpleTrace/pkg-descr10
-rw-r--r--devel/p5-Devel-SimpleTrace/pkg-plist7
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 346195c8731b..5fd591c3af7f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -882,6 +882,7 @@
SUBDIR += p5-Devel-Pointer
SUBDIR += p5-Devel-Profile
SUBDIR += p5-Devel-Profiler
+ SUBDIR += p5-Devel-SimpleTrace
SUBDIR += p5-Devel-Size
SUBDIR += p5-Devel-SmallProf
SUBDIR += p5-Devel-StackTrace
diff --git a/devel/p5-Devel-SimpleTrace/Makefile b/devel/p5-Devel-SimpleTrace/Makefile
new file mode 100644
index 000000000000..7545815cdf34
--- /dev/null
+++ b/devel/p5-Devel-SimpleTrace/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Devel-SimpleTrace
+# Date created: 4 January 2006
+# Whom: estith
+#
+# $FreeBSD$
+#
+
+PORTNAME= Devel-SimpleTrace
+PORTVERSION= 0.06
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Devel
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= estith.freebsd.ports@thelunarempire.net
+COMMENT= Perl module for better stack traces on interpretter-generated warn/die
+
+PERL_CONFIGURE= yes
+
+MAN3= Devel::SimpleTrace.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Devel-SimpleTrace/distinfo b/devel/p5-Devel-SimpleTrace/distinfo
new file mode 100644
index 000000000000..722bd14d54a6
--- /dev/null
+++ b/devel/p5-Devel-SimpleTrace/distinfo
@@ -0,0 +1,3 @@
+MD5 (Devel-SimpleTrace-0.06.tar.gz) = ad006e2a2973b69e5fb2312e2542de4b
+SHA256 (Devel-SimpleTrace-0.06.tar.gz) = 7581eb63d33fbaff2a504eaeb6381973af4c1dfec130ebcede289a7ac8f37f13
+SIZE (Devel-SimpleTrace-0.06.tar.gz) = 15210
diff --git a/devel/p5-Devel-SimpleTrace/pkg-descr b/devel/p5-Devel-SimpleTrace/pkg-descr
new file mode 100644
index 000000000000..120e636e84fc
--- /dev/null
+++ b/devel/p5-Devel-SimpleTrace/pkg-descr
@@ -0,0 +1,10 @@
+This module can be used to more easily spot the place where a program or a
+module generates errors. Its use is extremely simple, reduced to just'use'ing
+it.
+
+This is achieved by modifying the functions warn() and die() in order to
+replace the standard messages by complete stack traces that precisely indicates
+how and where the error or warning occurred. Other than this, their use should
+stay unchanged, even when using die() inside eval().
+
+WWW: http://search.cpan.org/dist/Devel-SimpleTrace/
diff --git a/devel/p5-Devel-SimpleTrace/pkg-plist b/devel/p5-Devel-SimpleTrace/pkg-plist
new file mode 100644
index 000000000000..54ad2f259398
--- /dev/null
+++ b/devel/p5-Devel-SimpleTrace/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Devel/SimpleTrace.pm
+%%SITE_PERL%%/mach/auto/Devel/SimpleTrace/.packlist
+@dirrm share/nls/en_US.US-ASCII
+@dirrm share/nls/POSIX
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/SimpleTrace
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Devel 2>/dev/null || true