diff options
Diffstat (limited to 'x11-toolkits/p5-Tk-Role-HasWidgets/Makefile')
-rw-r--r-- | x11-toolkits/p5-Tk-Role-HasWidgets/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/x11-toolkits/p5-Tk-Role-HasWidgets/Makefile b/x11-toolkits/p5-Tk-Role-HasWidgets/Makefile index 75eb8146b8b8..05913024ec8c 100644 --- a/x11-toolkits/p5-Tk-Role-HasWidgets/Makefile +++ b/x11-toolkits/p5-Tk-Role-HasWidgets/Makefile @@ -20,8 +20,14 @@ BUILD_DEPENDS= p5-Moose>=0.92:${PORTSDIR}/devel/p5-Moose \ RUN_DEPENDS= p5-Moose>=0.92:${PORTSDIR}/devel/p5-Moose \ p5-MooseX-Has-Sugar>=0:${PORTSDIR}/devel/p5-MooseX-Has-Sugar -PERL_MODBUILD= yes +PERL_MODBUILD= 5.10.0+ MAN3= Tk::Role::HasWidgets.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |