diff options
Diffstat (limited to 'devel/p5-Date-ICal/Makefile')
-rw-r--r-- | devel/p5-Date-ICal/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/p5-Date-ICal/Makefile b/devel/p5-Date-ICal/Makefile index fb023a0ca142..941045817ac0 100644 --- a/devel/p5-Date-ICal/Makefile +++ b/devel/p5-Date-ICal/Makefile @@ -15,13 +15,18 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Perl extension for ICalendar date objects -BUILD_DEPENDS= ${SITE_PERL}/Date/Leapyear.pm:${PORTSDIR}/devel/p5-Date-Leapyear \ - ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +BUILD_DEPENDS= ${SITE_PERL}/Date/Leapyear.pm:${PORTSDIR}/devel/p5-Date-Leapyear RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Date::ICal.3 Date::ICal::Duration.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |