pkgsrc/devel/p5-strictures/Makefile
hiramatsu 04d8b59778 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.
2011-11-21 06:12:25 +00:00

20 lines
554 B
Makefile

# $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"