summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2016-09-17 06:13:30 +0000
committermef <mef@pkgsrc.org>2016-09-17 06:13:30 +0000
commitef4688718c0e372be3f5a4af2fd649b5333403ef (patch)
tree8383f2de51c7a945695d6600960ba72bdfb59ce7 /devel
parenteedb3a846f877856c9533a22204f8ce4ee9ec51f (diff)
downloadpkgsrc-ef4688718c0e372be3f5a4af2fd649b5333403ef.tar.gz
Import calltree-perl-0.1 as devel/calltree-perl.
The program contains a collection of tools for analyzing Perl code. Analyzing a static program runs headlong into the halting problem -- no automatic process can find all infinite loops, or fully model dynamic data generated within an arbitrary program. If you need to solve that kind of problem, a runtime debugger, human insight, and good programming practices go a long way. On the other hand, if you're reading a new Perl code for the first time, you've come to the right place.
Diffstat (limited to 'devel')
-rw-r--r--devel/calltree-perl/DESCR7
-rw-r--r--devel/calltree-perl/Makefile33
-rw-r--r--devel/calltree-perl/PLIST2
-rw-r--r--devel/calltree-perl/distinfo6
4 files changed, 48 insertions, 0 deletions
diff --git a/devel/calltree-perl/DESCR b/devel/calltree-perl/DESCR
new file mode 100644
index 00000000000..745deea825c
--- /dev/null
+++ b/devel/calltree-perl/DESCR
@@ -0,0 +1,7 @@
+The program contains a collection of tools for analyzing Perl
+code. Analyzing a static program runs headlong into the halting problem --
+no automatic process can find all infinite loops, or fully model dynamic
+data generated within an arbitrary program. If you need to solve that kind
+of problem, a runtime debugger, human insight, and good programming
+practices go a long way. On the other hand, if you're reading a new Perl
+code for the first time, you've come to the right place.
diff --git a/devel/calltree-perl/Makefile b/devel/calltree-perl/Makefile
new file mode 100644
index 00000000000..ce284e0b361
--- /dev/null
+++ b/devel/calltree-perl/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2016/09/17 06:13:30 mef Exp $
+
+DISTNAME= Calltree-perl_pl
+PKGNAME= ${DISTNAME:tl:S/_pl//}-0.1
+COMMAND_NAME= ${DISTNAME:tl:S/_pl/.pl/}
+CATEGORIES= devel
+MASTER_SITES= http://gw55.quarry.iu.teragrid.org/mediawiki/images/3/39/
+EXTRACT_SUFX= # empty
+DIST_SUBDIR= ${PKGNAME_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://gw55.quarry.iu.teragrid.org/mediawiki/index.php?title=Perl_Static_Source_Code_Analysis
+COMMENT= Static code analysis for perl script
+LICENSE= modified-bsd
+
+DEPENDS+= p5-Getopt-Long-[0-9]*:../../devel/p5-Getopt-Long
+DEPENDS+= p5-GraphViz-[0-9]*:../../graphics/p5-GraphViz
+DEPENDS+= p5-PPI-[0-9]*:../../devel/p5-PPI
+DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
+
+REPLACE_PERL= ${DISTNAME}
+USE_TOOLS+= perl
+AUTO_MKDIRS= yes
+WRKSRC= ${WRKDIR}
+
+do-build:
+ ${DO_NADA}
+
+do-install:
+ (cd ${WRKDIR} ; \
+ ${INSTALL} ${DISTNAME} ${DESTDIR}${PREFIX}/bin/${COMMAND_NAME})
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/calltree-perl/PLIST b/devel/calltree-perl/PLIST
new file mode 100644
index 00000000000..a72509826e4
--- /dev/null
+++ b/devel/calltree-perl/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/09/17 06:13:30 mef Exp $
+bin/${PKGBASE}.pl
diff --git a/devel/calltree-perl/distinfo b/devel/calltree-perl/distinfo
new file mode 100644
index 00000000000..b649bda2116
--- /dev/null
+++ b/devel/calltree-perl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/09/17 06:13:30 mef Exp $
+
+SHA1 (calltree-perl-0.1/Calltree-perl_pl) = 336e853d30f314f17a268f370a91a3703886602c
+RMD160 (calltree-perl-0.1/Calltree-perl_pl) = bd2ab180de73a1a48ed68e2ae351ba9053c067ef
+SHA512 (calltree-perl-0.1/Calltree-perl_pl) = 4bdfc35114460a73efccbe19f01cb8c8b55516a43fef415e89703684dd2556e0852de4a365fda32b31774d2d86f35463ca2eb58dfce13fd237044d43e96dde9d
+Size (calltree-perl-0.1/Calltree-perl_pl) = 9141 bytes