2005-10-26 10:17:46 +02:00
|
|
|
# New ports collection makefile for: textproc/p5-Perl-MinimumVersion
|
|
|
|
# Date created: 25 October 2005
|
|
|
|
# Whom: Lars Thegler <lth@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Perl-MinimumVersion
|
2011-03-16 16:51:06 +01:00
|
|
|
PORTVERSION= 1.28
|
2005-10-26 10:17:46 +02:00
|
|
|
CATEGORIES= textproc perl5
|
2007-03-07 21:06:31 +01:00
|
|
|
MASTER_SITES= CPAN
|
2005-10-26 10:17:46 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= lth@FreeBSD.org
|
|
|
|
COMMENT= Find a minimum required version of perl for Perl code
|
|
|
|
|
2010-01-23 13:47:27 +01:00
|
|
|
RUN_DEPENDS= p5-File-Find-Rule>=0.32:${PORTSDIR}/devel/p5-File-Find-Rule \
|
2008-10-13 16:27:02 +02:00
|
|
|
p5-File-Find-Rule-Perl>=1.04:${PORTSDIR}/devel/p5-File-Find-Rule-Perl \
|
2011-03-16 16:51:06 +01:00
|
|
|
p5-PPI>=1.215:${PORTSDIR}/textproc/p5-PPI \
|
2009-12-10 16:27:36 +01:00
|
|
|
p5-Perl-Critic>=1.10.4:${PORTSDIR}/textproc/p5-Perl-Critic \
|
2008-10-13 16:27:02 +02:00
|
|
|
p5-Params-Util>=0.25:${PORTSDIR}/devel/p5-Params-Util \
|
|
|
|
p5-version>=0.76:${PORTSDIR}/devel/p5-version
|
2012-03-13 17:15:36 +01:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2005-10-26 10:17:46 +02:00
|
|
|
|
2011-09-17 09:06:45 +02:00
|
|
|
PERL_CONFIGURE= yes
|
2005-10-26 10:17:46 +02:00
|
|
|
|
|
|
|
MAN1= perlver.1
|
|
|
|
MAN3= Perl::MinimumVersion.3
|
|
|
|
|
|
|
|
post-patch:
|
2007-03-07 21:06:31 +01:00
|
|
|
@${PERL} -pi -e '$$_="" if m/Test::/' ${WRKSRC}/Makefile.PL
|
2007-09-08 03:12:10 +02:00
|
|
|
|
2012-03-13 17:15:36 +01:00
|
|
|
.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>
|