From fac0a2dcf471ce355116a159bd4f0cfe22d1e1dc Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 1 Sep 2012 17:11:02 +0000 Subject: [PATCH] Devel::TraceUse, simple way to know whether your perl script pulls the kitchen sink in. landry@ approved. --- devel/p5-Devel-TraceUse/Makefile | 17 +++++++++++++++++ devel/p5-Devel-TraceUse/distinfo | 2 ++ devel/p5-Devel-TraceUse/pkg/DESCR | 9 +++++++++ devel/p5-Devel-TraceUse/pkg/PLIST | 4 ++++ 4 files changed, 32 insertions(+) create mode 100644 devel/p5-Devel-TraceUse/Makefile create mode 100644 devel/p5-Devel-TraceUse/distinfo create mode 100644 devel/p5-Devel-TraceUse/pkg/DESCR create mode 100644 devel/p5-Devel-TraceUse/pkg/PLIST diff --git a/devel/p5-Devel-TraceUse/Makefile b/devel/p5-Devel-TraceUse/Makefile new file mode 100644 index 00000000000..9f0e1daf4d8 --- /dev/null +++ b/devel/p5-Devel-TraceUse/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2012/09/01 17:11:02 espie Exp $ + +COMMENT = show modules your program loads +DISTNAME = Devel-TraceUse-2.06 + +CATEGORIES = devel + +# perl +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +MODULES = cpan +CONFIGURE_STYLE = modbuild + +.include diff --git a/devel/p5-Devel-TraceUse/distinfo b/devel/p5-Devel-TraceUse/distinfo new file mode 100644 index 00000000000..dae7925a2dd --- /dev/null +++ b/devel/p5-Devel-TraceUse/distinfo @@ -0,0 +1,2 @@ +SHA256 (Devel-TraceUse-2.06.tar.gz) = P9GqE2fptAwHYVO+jfeFHru4ce0LfkLxF9K/7pujtEk= +SIZE (Devel-TraceUse-2.06.tar.gz) = 12650 diff --git a/devel/p5-Devel-TraceUse/pkg/DESCR b/devel/p5-Devel-TraceUse/pkg/DESCR new file mode 100644 index 00000000000..24583c15a58 --- /dev/null +++ b/devel/p5-Devel-TraceUse/pkg/DESCR @@ -0,0 +1,9 @@ +Devel::TraceUse can analyze a program to see which part used which module. + +Command-line usage: + +$ perl -d:TraceUse myprog.pl + +will display a tree of the modules ultimately used to run your +program. (It also runs your program all the way through to the end with +a small startup cost.) diff --git a/devel/p5-Devel-TraceUse/pkg/PLIST b/devel/p5-Devel-TraceUse/pkg/PLIST new file mode 100644 index 00000000000..c27bdfb8a91 --- /dev/null +++ b/devel/p5-Devel-TraceUse/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2012/09/01 17:11:02 espie Exp $ +${P5SITE}/Devel/ +${P5SITE}/Devel/TraceUse.pm +@man man/man3p/Devel::TraceUse.3p