summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu@pkgsrc.org>2011-11-21 06:12:25 +0000
committerhiramatsu <hiramatsu@pkgsrc.org>2011-11-21 06:12:25 +0000
commit04d8b59778b8aac129faf7bfdad643e41711bef5 (patch)
treeee36efd1f25dea1182726127bba04b73882fb239 /devel
parent86df2c5a4e3837232ba42f5dfe82a51887ebdaae (diff)
downloadpkgsrc-04d8b59778b8aac129faf7bfdad643e41711bef5.tar.gz
Import strictures into devel/p5-strictures, which is required to
update databases/p5-SQL-Translator. p5-strictures provides "strictures" directive. use strictures 1; is equivalent to use strict; use warnings FATAL => 'all'; except when called from a file where $0 matches: /^x?t\/.*(?:load|compile|coverage|use_ok).*\.t$/ and when either '.git' or '.svn' is present in the current directory.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-strictures/DESCR14
-rw-r--r--devel/p5-strictures/Makefile20
-rw-r--r--devel/p5-strictures/distinfo5
3 files changed, 39 insertions, 0 deletions
diff --git a/devel/p5-strictures/DESCR b/devel/p5-strictures/DESCR
new file mode 100644
index 00000000000..6967771fe7d
--- /dev/null
+++ b/devel/p5-strictures/DESCR
@@ -0,0 +1,14 @@
+p5-strictures provides "strictures" directive.
+
+ use strictures 1;
+
+is equivalent to
+
+ use strict;
+ use warnings FATAL => 'all';
+
+except when called from a file where $0 matches:
+
+ /^x?t\/.*(?:load|compile|coverage|use_ok).*\.t$/
+
+and when either '.git' or '.svn' is present in the current directory
diff --git a/devel/p5-strictures/Makefile b/devel/p5-strictures/Makefile
new file mode 100644
index 00000000000..e494e76618a
--- /dev/null
+++ b/devel/p5-strictures/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/11/21 06:12:25 hiramatsu Exp $
+#
+
+DISTNAME= strictures-1.002002
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MS/MSTROUT/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/strictures/
+COMMENT= Turn on strict and make all warnings fatal
+LICENSE= ${PERL5_LICENSE}
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/strictures/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-strictures/distinfo b/devel/p5-strictures/distinfo
new file mode 100644
index 00000000000..c7e5c3e706c
--- /dev/null
+++ b/devel/p5-strictures/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/11/21 06:12:25 hiramatsu Exp $
+
+SHA1 (strictures-1.002002.tar.gz) = cbb8491da9b54a5c9920254716eb21d6e17fc788
+RMD160 (strictures-1.002002.tar.gz) = 89a8bca07545d1c932b656ebd7e13081fdb52348
+Size (strictures-1.002002.tar.gz) = 5252 bytes