Merge branch 'staged'
[dports.git] / textproc / p5-Perl-Lint / Makefile
1 PORTNAME=       Perl-Lint
2 PORTVERSION=    0.25
3 PORTREVISION=   1
4 CATEGORIES=     textproc perl5
5 MASTER_SITES=   CPAN
6 PKGNAMEPREFIX=  p5-
7
8 MAINTAINER=     perl@FreeBSD.org
9 COMMENT=        Yet another Perl source code linter
10 WWW=            https://metacpan.org/pod/Perl::Lint
11
12 LICENSE=        ART10 GPLv1+
13 LICENSE_COMB=   dual
14
15 BUILD_DEPENDS=  ${RUN_DEPENDS}
16 RUN_DEPENDS=    p5-B-Keywords>=0:devel/p5-B-Keywords \
17                 p5-Compiler-Lexer>=0.22:devel/p5-Compiler-Lexer \
18                 p5-Email-Address>=0:mail/p5-Email-Address \
19                 p5-List-Flatten>=0:devel/p5-List-Flatten \
20                 p5-List-MoreUtils>=0.33:lang/p5-List-MoreUtils \
21                 p5-Module-Pluggable>=0:devel/p5-Module-Pluggable \
22                 p5-Path-Tiny>=0.068:devel/p5-Path-Tiny \
23                 p5-Regexp-Lexer>=0.05:devel/p5-Regexp-Lexer \
24                 p5-String-CamelCase>=0:textproc/p5-String-CamelCase \
25                 p5-Test-Deep>=0:devel/p5-Test-Deep
26 TEST_DEPENDS=   p5-Text-TestBase>=0:textproc/p5-Text-TestBase
27
28 NO_ARCH=        yes
29 USES=           perl5
30 USE_PERL5=      modbuildtiny
31
32 OPTIONS_DEFINE= EXAMPLES
33
34 PORTEXAMPLES=   lint.pl lint_string.pl
35
36 post-install-EXAMPLES-on:
37         @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
38         ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/eg/|} ${STAGEDIR}${EXAMPLESDIR}
39
40 .include <bsd.port.mk>