summaryrefslogtreecommitdiff
path: root/devel/p5-Perl-Critic
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2007-04-22 21:04:36 +0000
committerseb <seb@pkgsrc.org>2007-04-22 21:04:36 +0000
commitf92624280e7c00fc3632396a6cb10fbe851ae99d (patch)
treeb0c587389bbe0c15c36424732d0c544976f68cf2 /devel/p5-Perl-Critic
parentd945578f2de9ff493aa56128f1357bbb33cd8725 (diff)
downloadpkgsrc-f92624280e7c00fc3632396a6cb10fbe851ae99d.tar.gz
Initial import of p5-Perl-Critic version 1.051 into The NetBSD
Packages Collection. The Perl 5 module Perl::Critic is an extensible framework for creating and applying coding standards to Perl source code. Essentially, it is a static source code analysis engine. Perl::Critic is distributed with a number of Perl::Critic::Policy modules that attempt to enforce various coding guidelines. Most Policy modules are based on Damian Conway's book Perl Best Practices. However, Perl::Critic is not limited to PBP and will even support Policies that contradict Conway. You can enable, disable, and customize those Polices through the Perl::Critic interface. You can also create new Policy modules that suit your own tastes. A front-end script, perlcritic, is provided.
Diffstat (limited to 'devel/p5-Perl-Critic')
-rw-r--r--devel/p5-Perl-Critic/DESCR12
-rw-r--r--devel/p5-Perl-Critic/Makefile25
-rw-r--r--devel/p5-Perl-Critic/PLIST1
-rw-r--r--devel/p5-Perl-Critic/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/devel/p5-Perl-Critic/DESCR b/devel/p5-Perl-Critic/DESCR
new file mode 100644
index 00000000000..67e1b67a4e9
--- /dev/null
+++ b/devel/p5-Perl-Critic/DESCR
@@ -0,0 +1,12 @@
+The Perl 5 module Perl::Critic is an extensible framework for
+creating and applying coding standards to Perl source code.
+
+Essentially, it is a static source code analysis engine. Perl::Critic
+is distributed with a number of Perl::Critic::Policy modules that
+attempt to enforce various coding guidelines. Most Policy modules
+are based on Damian Conway's book Perl Best Practices. However,
+Perl::Critic is not limited to PBP and will even support Policies
+that contradict Conway. You can enable, disable, and customize
+those Polices through the Perl::Critic interface. You can also
+create new Policy modules that suit your own tastes.
+A front-end script, perlcritic, is provided.
diff --git a/devel/p5-Perl-Critic/Makefile b/devel/p5-Perl-Critic/Makefile
new file mode 100644
index 00000000000..e40bcc740ed
--- /dev/null
+++ b/devel/p5-Perl-Critic/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/22 21:04:36 seb Exp $
+#
+
+DISTNAME= Perl-Critic-1.051
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Perl-Critic/
+COMMENT= Perl 5 module providing a static Perl source code analysis engine
+
+DEPENDS+= p5-Config-Tiny>=2:../../devel/p5-Config-Tiny
+DEPENDS+= p5-IO-String-[0-9]*:../../devel/p5-IO-String
+DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
+DEPENDS+= p5-Module-Pluggable>=3.1:../../devel/p5-Module-Pluggable
+DEPENDS+= p5-PPI>=1.118:../../devel/p5-PPI
+DEPENDS+= p5-String-Format>=1.13:../../devel/p5-String-Format
+DEPENDS+= p5-B-Keywords>=1.05:../../devel/p5-B-Keywords
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Perl/Critic/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Perl-Critic/PLIST b/devel/p5-Perl-Critic/PLIST
new file mode 100644
index 00000000000..c9c4dab9e08
--- /dev/null
+++ b/devel/p5-Perl-Critic/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/22 21:04:36 seb Exp $
diff --git a/devel/p5-Perl-Critic/distinfo b/devel/p5-Perl-Critic/distinfo
new file mode 100644
index 00000000000..78736f3bc3d
--- /dev/null
+++ b/devel/p5-Perl-Critic/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/04/22 21:04:36 seb Exp $
+
+SHA1 (Perl-Critic-1.051.tar.gz) = 57610defcff6d49a48120fdd31ffcffb6d85a4d8
+RMD160 (Perl-Critic-1.051.tar.gz) = 1df2c9a9c541248ea62ca9137de141fbec8fe292
+Size (Perl-Critic-1.051.tar.gz) = 236466 bytes