aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2006-09-22 15:47:34 +0800
committertobez <tobez@FreeBSD.org>2006-09-22 15:47:34 +0800
commit105ffec52093b2da607459d2e1fa097282b485b1 (patch)
tree58294e8452e8aaea1d0dec64d39e923f486e8720 /devel
parent0f643c45b1bb27de3e0863638714d2bf04367132 (diff)
downloadfreebsd-ports-graphics-105ffec52093b2da607459d2e1fa097282b485b1.tar.gz
freebsd-ports-graphics-105ffec52093b2da607459d2e1fa097282b485b1.tar.zst
freebsd-ports-graphics-105ffec52093b2da607459d2e1fa097282b485b1.zip
Add p5-Devel-TraceUse 1.00, a Perl module that shows the modules your
program loads, recursively. PR: ports/103437 Submitted by: Mauricio Herrera Cuadra <mauricio at arareko.net>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Devel-TraceUse/Makefile32
-rw-r--r--devel/p5-Devel-TraceUse/distinfo3
-rw-r--r--devel/p5-Devel-TraceUse/pkg-descr11
-rw-r--r--devel/p5-Devel-TraceUse/pkg-plist2
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 713666905fc..d1a8a87796f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1024,6 +1024,7 @@
SUBDIR += p5-Devel-Symdump
SUBDIR += p5-Devel-Trace
SUBDIR += p5-Devel-TraceCalls
+ SUBDIR += p5-Devel-TraceUse
SUBDIR += p5-Devel-ptkdb
SUBDIR += p5-Dialog
SUBDIR += p5-Dir-Project
diff --git a/devel/p5-Devel-TraceUse/Makefile b/devel/p5-Devel-TraceUse/Makefile
new file mode 100644
index 00000000000..69def52b0a1
--- /dev/null
+++ b/devel/p5-Devel-TraceUse/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: devel/p5-Devel-TraceUse
+# Date created: 20 September 2006
+# Whom: Mauricio Herrera Cuadra <mauricio@arareko.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Devel-TraceUse
+PORTVERSION= 1.00
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Devel
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mauricio@arareko.net
+COMMENT= This module shows the modules your program loads, recursively
+
+PERL_DEPENDS= p5-Time-HiRes>0:${PORTSDIR}/devel/p5-Time-HiRes
+BUILD_DEPENDS= ${PERL_DEPENDS}
+RUN_DEPENDS= ${PERL_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= Devel::TraceUse.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least perl5.6 to build
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Devel-TraceUse/distinfo b/devel/p5-Devel-TraceUse/distinfo
new file mode 100644
index 00000000000..52e120a4edb
--- /dev/null
+++ b/devel/p5-Devel-TraceUse/distinfo
@@ -0,0 +1,3 @@
+MD5 (Devel-TraceUse-1.00.tar.gz) = 8d6f15384917d5db61765f18961c3c89
+SHA256 (Devel-TraceUse-1.00.tar.gz) = 58a7c0fa73b87690be228fd17aa77e4d68158d5e3d0d103656526ba5d0fc41b6
+SIZE (Devel-TraceUse-1.00.tar.gz) = 4628
diff --git a/devel/p5-Devel-TraceUse/pkg-descr b/devel/p5-Devel-TraceUse/pkg-descr
new file mode 100644
index 00000000000..3bf3cfdea8a
--- /dev/null
+++ b/devel/p5-Devel-TraceUse/pkg-descr
@@ -0,0 +1,11 @@
+Devel::TraceUse - Show the modules your program loads, recursively.
+
+An apparently simple program may load a lot of modules. That's useful, but
+sometimes you may wonder exactly which part of your program loads which module.
+
+Devel::TraceUse can analyze a program to see which part used which module.
+
+WWW: http://search.cpan.org/dist/Devel-TraceUse
+
+- Mauricio
+mauricio@arareko.net
diff --git a/devel/p5-Devel-TraceUse/pkg-plist b/devel/p5-Devel-TraceUse/pkg-plist
new file mode 100644
index 00000000000..35b0534b307
--- /dev/null
+++ b/devel/p5-Devel-TraceUse/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Devel/TraceUse.pm
+@dirrmtry rmdir %D/%%SITE_PERL%%/Devel 2>/dev/null || true