summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1997-06-16 02:47:25 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1997-06-16 02:47:25 +0000
commit62ef079fd36f2824942fb54335c6a57036232c89 (patch)
tree70f5141d487cae4a9c8648c625f5091e16f2567b
parentImport of a perl5 debugger/profiler (diff)
Import of a perl5 data debugging tool for the XS programmer
Notes
Notes: svn path=/head/; revision=6946
-rw-r--r--devel/p5-Devel-Peek/Makefile26
-rw-r--r--devel/p5-Devel-Peek/distinfo1
-rw-r--r--devel/p5-Devel-Peek/pkg-comment1
-rw-r--r--devel/p5-Devel-Peek/pkg-descr17
-rw-r--r--devel/p5-Devel-Peek/pkg-plist6
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/p5-Devel-Peek/Makefile b/devel/p5-Devel-Peek/Makefile
new file mode 100644
index 000000000000..8d4ce46afbaf
--- /dev/null
+++ b/devel/p5-Devel-Peek/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Devel-Peek
+# Version required: 0.82
+# Date created: June 15th 1997
+# Whom: James FitzGibbon <jfitz@FreeBSD.org>
+#
+# $Id$
+#
+
+DISTNAME= Devel-Peek-0.82
+PKGNAME= p5-Devel-Peek-0.82
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Devel
+
+MAINTAINER= jfitz@FreeBSD.ORG
+
+BUILD_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+MANPREFIX= ${PREFIX}/lib/perl5
+MAN3= Devel::Peek.3
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Devel-Peek/distinfo b/devel/p5-Devel-Peek/distinfo
new file mode 100644
index 000000000000..63b7e20533a0
--- /dev/null
+++ b/devel/p5-Devel-Peek/distinfo
@@ -0,0 +1 @@
+MD5 (Devel-Peek-0.82.tar.gz) = 4b0476fbe5c10b3d5bf7ab2812d0a356
diff --git a/devel/p5-Devel-Peek/pkg-comment b/devel/p5-Devel-Peek/pkg-comment
new file mode 100644
index 000000000000..8737b8b8c4e5
--- /dev/null
+++ b/devel/p5-Devel-Peek/pkg-comment
@@ -0,0 +1 @@
+a perl5 data debugging tool for the XS programmer
diff --git a/devel/p5-Devel-Peek/pkg-descr b/devel/p5-Devel-Peek/pkg-descr
new file mode 100644
index 000000000000..67644a4d59f7
--- /dev/null
+++ b/devel/p5-Devel-Peek/pkg-descr
@@ -0,0 +1,17 @@
+ Devel::Peek contains functions which allows raw Perl
+ datatypes to be manipulated from a Perl script. This is
+ used by those who do XS programming to check that the data
+ they are sending from C to Perl looks as they think it
+ should look. The trick, then, is to know what the raw
+ datatype is supposed to look like when it gets to Perl.
+ This document offers some tips and hints to describe good
+ and bad raw data.
+
+ Devel::Peek supplies a Dump() function which can dump a
+ raw Perl datatype, and mstat("marker") function to report
+ on memory usage (if perl is compiled with corresponding
+ option). The function DeadCode() provides statistics on
+ the data "frozen" into inactive CV. Devel::Peek also
+ supplies SvREFCNT(), SvREFCNT_inc(), and SvREFCNT_dec()
+ which can query, increment, and decrement reference counts
+ on SVs.
diff --git a/devel/p5-Devel-Peek/pkg-plist b/devel/p5-Devel-Peek/pkg-plist
new file mode 100644
index 000000000000..babe0eb2550f
--- /dev/null
+++ b/devel/p5-Devel-Peek/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/man/man3/Devel::Peek.3.gz
+lib/perl5/site_perl/Devel/Peek.pm
+lib/perl5/site_perl/i386-freebsd/auto/Devel/Peek/Peek.bs
+lib/perl5/site_perl/i386-freebsd/auto/Devel/Peek/Peek.so
+lib/perl5/site_perl/i386-freebsd/auto/Devel/Peek/.packlist
+@dirrm lib/perl5/site_perl/i386-freebsd/auto/Devel/Peek