diff options
author | hiramatsu <hiramatsu@pkgsrc.org> | 2011-11-21 06:12:25 +0000 |
---|---|---|
committer | hiramatsu <hiramatsu@pkgsrc.org> | 2011-11-21 06:12:25 +0000 |
commit | c9c6634e73fe0c05388acb6fbbfcd672ad844925 (patch) | |
tree | ee36efd1f25dea1182726127bba04b73882fb239 | |
parent | 165d65ac4b26b67081e8fd2b20a18be7b974f156 (diff) | |
download | pkgsrc-c9c6634e73fe0c05388acb6fbbfcd672ad844925.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.
-rw-r--r-- | devel/p5-strictures/DESCR | 14 | ||||
-rw-r--r-- | devel/p5-strictures/Makefile | 20 | ||||
-rw-r--r-- | devel/p5-strictures/distinfo | 5 |
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 |