summaryrefslogtreecommitdiff
path: root/devel/p5-Perl-Critic/Makefile
blob: 344e87a58fd9bca10206441381cf8ff8fc5c01fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.13 2010/06/13 21:38:38 seb Exp $
#

DISTNAME=	Perl-Critic-1.106
PKGNAME=	p5-${DISTNAME}
#PKGNAME=	p5-${DISTNAME:C/0[0-9][0-9]$/.&/}
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
LICENSE=	${PERL5_LICENSE}

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=	p5-B-Keywords>=1.05:../../devel/p5-B-Keywords
DEPENDS+=	p5-Config-Tiny>=2:../../devel/p5-Config-Tiny
DEPENDS+=	p5-Exception-Class>=1.23:../../devel/p5-Exception-Class
DEPENDS+=	p5-IO-String-[0-9]*:../../devel/p5-IO-String
DEPENDS+=	p5-List-MoreUtils>=0.19:../../devel/p5-List-MoreUtils
DEPENDS+=	p5-PPI>=1.205:../../devel/p5-PPI
DEPENDS+=	p5-Readonly>=1.03:../../devel/p5-Readonly
DEPENDS+=	p5-String-Format>=1.13:../../devel/p5-String-Format

# Recommended dependencies
DEPENDS+=	p5-File-HomeDir>=0:../../devel/p5-File-HomeDir
DEPENDS+=	p5-File-Which>=0:../../devel/p5-File-Which
DEPENDS+=	p5-Perl-Tidy>=0:../../devel/p5-Perl-Tidy
DEPENDS+=	p5-Pod-Spell>=1:../../textproc/p5-Pod-Spell
DEPENDS+=	p5-Readonly-XS>=0:../../devel/p5-Readonly-XS
DEPENDS+=	p5-Regexp-Parser>=0.20:../../devel/p5-Regexp-Parser
DEPENDS+=	p5-Email-Address>=1.889:../../mail/p5-Email-Address

USE_LANGUAGES=	# empty
PERL5_PACKLIST=	auto/Perl/Critic/.packlist
PERL5_MODULE_TYPE=	Module::Build

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"