1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/textproc/p5-Perl-MinimumVersion/Makefile
Steve Wills 74b06f07af - Add TEST_DEPENDS to enable testing
- Expand value of BUILD_DEPENDS before assigning to RUN_DEPENDS
- Sort DEPENDS

PR:		ports/166128
Approved by:	maintainer timeout (lth, >2 weeks)
2012-04-10 01:07:25 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: textproc/p5-Perl-MinimumVersion
# Date created: 25 October 2005
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Perl-MinimumVersion
PORTVERSION= 1.28
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Find a minimum required version of perl for Perl code
BUILD_DEPENDS= p5-File-Find-Rule>=0.32:${PORTSDIR}/devel/p5-File-Find-Rule \
p5-File-Find-Rule-Perl>=1.04:${PORTSDIR}/devel/p5-File-Find-Rule-Perl \
p5-PPI>=1.215:${PORTSDIR}/textproc/p5-PPI \
p5-Perl-Critic>=1.10.4:${PORTSDIR}/textproc/p5-Perl-Critic \
p5-Params-Util>=0.25:${PORTSDIR}/devel/p5-Params-Util \
p5-version>=0.76:${PORTSDIR}/devel/p5-version
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Script>=0:${PORTSDIR}/devel/p5-Test-Script
PERL_CONFIGURE= yes
MAN1= perlver.1
MAN3= Perl::MinimumVersion.3
post-patch:
@${PERL} -pi -e '$$_="" if m/Test::/' ${WRKSRC}/Makefile.PL
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
RUN_DEPENDS+= p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>