aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-01-05 12:46:32 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-01-05 12:46:32 +0000
commit9a756b2aa76b5940a36f5f63828a839d2b0a7f04 (patch)
treefb7737bf0c17c2067b8eecfed5b6356c318501ea
parentb7c1cbd8ffa0d41aff2c98082008e0bf546d16a6 (diff)
downloadports-9a756b2aa76b5940a36f5f63828a839d2b0a7f04.tar.gz
ports-9a756b2aa76b5940a36f5f63828a839d2b0a7f04.zip
Notes
-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