1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/textproc/p5-Perl-Lint/Makefile
2023-04-27 23:48:27 +08:00

41 lines
1.1 KiB
Makefile

PORTNAME= Perl-Lint
PORTVERSION= 0.25
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Yet another Perl source code linter
WWW= https://metacpan.org/pod/Perl::Lint
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-B-Keywords>=0:devel/p5-B-Keywords \
p5-Compiler-Lexer>=0.22:devel/p5-Compiler-Lexer \
p5-Email-Address>=0:mail/p5-Email-Address \
p5-List-Flatten>=0:devel/p5-List-Flatten \
p5-List-MoreUtils>=0.33:lang/p5-List-MoreUtils \
p5-Module-Pluggable>=0:devel/p5-Module-Pluggable \
p5-Path-Tiny>=0.068:devel/p5-Path-Tiny \
p5-Regexp-Lexer>=0.05:devel/p5-Regexp-Lexer \
p5-String-CamelCase>=0:textproc/p5-String-CamelCase \
p5-Test-Deep>=0:devel/p5-Test-Deep
TEST_DEPENDS= p5-Text-TestBase>=0:textproc/p5-Text-TestBase
NO_ARCH= yes
USES= perl5
USE_PERL5= modbuildtiny
OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= lint.pl lint_string.pl
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/eg/|} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>