aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-PathTools/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-02-15 17:07:35 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-02-15 17:07:35 +0000
commit9f412d7e11f923a749580f6cc58997ebaa2f0e8f (patch)
tree1e0f4df5b1a3944439b9ec15c23e0e94c0175ede /devel/p5-PathTools/Makefile
parentca13b9ea4f1cc380cfced2c460d8824185f9e9eb (diff)
downloadports-9f412d7e11f923a749580f6cc58997ebaa2f0e8f.tar.gz
ports-9f412d7e11f923a749580f6cc58997ebaa2f0e8f.zip
Notes
Diffstat (limited to 'devel/p5-PathTools/Makefile')
-rw-r--r--devel/p5-PathTools/Makefile12
1 files changed, 8 insertions, 4 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>