aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Devel-ptkdb
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2002-06-20 00:36:01 +0800
committerskv <skv@FreeBSD.org>2002-06-20 00:36:01 +0800
commit1be9ebf70c3ced4ce5d40e62b03e713b0e96395e (patch)
tree385d3ba229170b8fa137bc726399a0b346fd5e62 /devel/p5-Devel-ptkdb
parentc505c08fdc9170e58b1e2f073fb8bdf90f8cdcad (diff)
downloadfreebsd-ports-gnome-1be9ebf70c3ced4ce5d40e62b03e713b0e96395e.tar.gz
freebsd-ports-gnome-1be9ebf70c3ced4ce5d40e62b03e713b0e96395e.tar.zst
freebsd-ports-gnome-1be9ebf70c3ced4ce5d40e62b03e713b0e96395e.zip
Add p5-Devel-ptkdb 1.1074, tk debugger for Perl.
PR: 37880 Submitted by: Alex Kapranoff <kappa@freebsd.org.ua>
Diffstat (limited to 'devel/p5-Devel-ptkdb')
-rw-r--r--devel/p5-Devel-ptkdb/Makefile28
-rw-r--r--devel/p5-Devel-ptkdb/distinfo1
-rw-r--r--devel/p5-Devel-ptkdb/pkg-comment1
-rw-r--r--devel/p5-Devel-ptkdb/pkg-descr17
-rw-r--r--devel/p5-Devel-ptkdb/pkg-plist5
5 files changed, 52 insertions, 0 deletions
diff --git a/devel/p5-Devel-ptkdb/Makefile b/devel/p5-Devel-ptkdb/Makefile
new file mode 100644
index 000000000000..a3f351e458d7
--- /dev/null
+++ b/devel/p5-Devel-ptkdb/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Devel-ptkdb
+# Date created: May 9th 2002
+# Whom: Alex Kapranoff <kappa@freebsd.org.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Devel-ptkdb
+PORTVERSION= 1.1074
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Devel
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kappa@freebsd.org.ua
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
+
+PERL_CONFIGURE= yes
+INSTALL_TARGET= pure_install
+
+MAN3= Devel::ptkdb.3
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+post-patch:
+ @${PERL} -pi -e 's|\bperl\b|site| if $$. == 5;' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Devel-ptkdb/distinfo b/devel/p5-Devel-ptkdb/distinfo
new file mode 100644
index 000000000000..88f941e19ef9
--- /dev/null
+++ b/devel/p5-Devel-ptkdb/distinfo
@@ -0,0 +1 @@
+MD5 (Devel-ptkdb-1.1074.tar.gz) = 6c0720209ed00e6f7ee3459c75bf812f
diff --git a/devel/p5-Devel-ptkdb/pkg-comment b/devel/p5-Devel-ptkdb/pkg-comment
new file mode 100644
index 000000000000..9761696db85a
--- /dev/null
+++ b/devel/p5-Devel-ptkdb/pkg-comment
@@ -0,0 +1 @@
+Tk debugger for Perl
diff --git a/devel/p5-Devel-ptkdb/pkg-descr b/devel/p5-Devel-ptkdb/pkg-descr
new file mode 100644
index 000000000000..f52069940da8
--- /dev/null
+++ b/devel/p5-Devel-ptkdb/pkg-descr
@@ -0,0 +1,17 @@
+ptkdb is a debugger for perl that uses Perl/Tk for a user interface.
+
+Features include:
+ Hot Variable Inspection
+ Breakpoint Control Panel
+ Expression List
+ Subroutine Tree
+
+To debug a script using ptkdb invoke perl like this:
+ perl -d:ptkdb myscript.pl
+
+ptkdb can easily be used to debug CGI scripts if your webserver box is
+capable of running Perl/Tk applications. Just change the shebang line of your
+scripts to:
+ #! /usr/bin/perl -w -d:ptkdb
+
+WWW: http://search.cpan.org/search?dist=Devel-ptkdb
diff --git a/devel/p5-Devel-ptkdb/pkg-plist b/devel/p5-Devel-ptkdb/pkg-plist
new file mode 100644
index 000000000000..98e3e3fce94d
--- /dev/null
+++ b/devel/p5-Devel-ptkdb/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/Devel/ptkdb.pm
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Devel 2>/dev/null || true
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel/ptkdb/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel/ptkdb
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel 2>/dev/null || true