summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-PathTools/Makefile12
-rw-r--r--devel/p5-PathTools/distinfo6
2 files changed, 11 insertions, 7 deletions
diff --git a/devel/p5-PathTools/Makefile b/devel/p5-PathTools/Makefile
index 6240e62d9f0b..d2cdb7bf3aef 100644
--- a/devel/p5-PathTools/Makefile
+++ b/devel/p5-PathTools/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= PathTools
-PORTVERSION= 3.2700
+PORTVERSION= 3.2701
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= File
@@ -16,12 +16,16 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:C/0+$//}
MAINTAINER= perl@FreeBSD.org
COMMENT= A Perl module for portably manipulating file specifications
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
-
PERL_CONFIGURE= yes
MAN3= Cwd.3 File::Spec.3 File::Spec::Cygwin.3 File::Spec::Epoc.3 \
File::Spec::Functions.3 File::Spec::Mac.3 File::Spec::OS2.3 \
File::Spec::Unix.3 File::Spec::VMS.3 File::Spec::Win32.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-PathTools/distinfo b/devel/p5-PathTools/distinfo
index 5e5fd50ec677..ddb93254c80d 100644
--- a/devel/p5-PathTools/distinfo
+++ b/devel/p5-PathTools/distinfo
@@ -1,3 +1,3 @@
-MD5 (PathTools-3.27.tar.gz) = 8f8984ff4af4812406d7b67a192c48e2
-SHA256 (PathTools-3.27.tar.gz) = 927cc5d2b45c8c1166da60f5d1049a67b9e1e055c96b056961904e605d25fb2c
-SIZE (PathTools-3.27.tar.gz) = 129177
+MD5 (PathTools-3.2701.tar.gz) = ce871bc9368f412f62689ece6e464fa9
+SHA256 (PathTools-3.2701.tar.gz) = 2d933580d5f4bdbd5831cecea945d7b146e2e622791f2a2460aad5bf8fc868f7
+SIZE (PathTools-3.2701.tar.gz) = 129446