summaryrefslogtreecommitdiffstats
path: root/devel/p5-Devel-Peek
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1997-06-16 02:47:25 +0000
committerjfitz <jfitz@FreeBSD.org>1997-06-16 02:47:25 +0000
commitb3feb75b335f0d9c4ba6fcfe36c566acb0738fe7 (patch)
tree26563c5511aaa2ae2927093de2f17db53de69c61 /devel/p5-Devel-Peek
parent360118e29f15830ca1e0ad07a4d73a9033caa86a (diff)
downloadFreeBSD-ports-b3feb75b335f0d9c4ba6fcfe36c566acb0738fe7.zip
FreeBSD-ports-b3feb75b335f0d9c4ba6fcfe36c566acb0738fe7.tar.gz
Import of a perl5 data debugging tool for the XS programmer
Diffstat (limited to 'devel/p5-Devel-Peek')
-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 0000000..8d4ce46
--- /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 0000000..63b7e20
--- /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 0000000..8737b8b
--- /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 0000000..67644a4
--- /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 0000000..babe0eb
--- /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
OpenPOWER on IntegriCloud