aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-File-HomeDir/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-File-HomeDir/Makefile')
-rw-r--r--devel/p5-File-HomeDir/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/p5-File-HomeDir/Makefile b/devel/p5-File-HomeDir/Makefile
index 7154117f51f2..663da6bcdc22 100644
--- a/devel/p5-File-HomeDir/Makefile
+++ b/devel/p5-File-HomeDir/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= File-HomeDir
-PORTVERSION= 0.52
+PORTVERSION= 0.56
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
@@ -17,11 +17,16 @@ COMMENT= Get home directory for self or other users
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
BUILD_DEPENDS= ${RUN_DEPENDS}
-
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_CONFIGURE= yes
MAN3= File::HomeDir.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= needs perl 5.6.0 or above
+.endif
+
+.include <bsd.port.post.mk>