aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Path-Class
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-08-31 02:53:01 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-08-31 02:53:01 +0000
commit1ed1b09b07c1d08b18541fad9335342162d0590a (patch)
tree083dd16b278b814bca0a1f6bdc3e9f332aeb8b57 /devel/p5-Path-Class
parent2c9729dbd657514244c7b59b4d3a057f182bfcd2 (diff)
downloadports-1ed1b09b07c1d08b18541fad9335342162d0590a.tar.gz
ports-1ed1b09b07c1d08b18541fad9335342162d0590a.zip
Notes
Diffstat (limited to 'devel/p5-Path-Class')
-rw-r--r--devel/p5-Path-Class/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/devel/p5-Path-Class/Makefile b/devel/p5-Path-Class/Makefile
index 9f3f43f54867..fd9edf6aec48 100644
--- a/devel/p5-Path-Class/Makefile
+++ b/devel/p5-Path-Class/Makefile
@@ -7,17 +7,14 @@
PORTNAME= Path-Class
PORTVERSION= 0.16
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= ../../authors/id/K/KW/KWILLIAMS
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Cross-platform path specification manipulation
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_MODBUILD= yes
MAN3= Path::Class.3 \
@@ -33,4 +30,10 @@ post-install:
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500803
+RUN_DEPENDS+= p5-PathTools>=0.87:${PORTSDIR}/devel/p5-PathTools
+.endif
+
+.include <bsd.port.post.mk>