aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-TimeZone
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2008-03-20 16:19:22 +0000
committerMathieu Arnold <mat@FreeBSD.org>2008-03-20 16:19:22 +0000
commit65340c2570d006f541dac7dcabc697536b034aa3 (patch)
tree490314f1363a15c071722fac1b5553e0568fd453 /devel/p5-DateTime-TimeZone
parent25c7c125a9cf5556bfb4a27cc2314dabe5e30a38 (diff)
downloadports-65340c2570d006f541dac7dcabc697536b034aa3.tar.gz
ports-65340c2570d006f541dac7dcabc697536b034aa3.zip
- fix dependency
- bump PORTREVISION PR: ports/121912 Submitted by: leeym
Notes
Notes: svn path=/head/; revision=209454
Diffstat (limited to 'devel/p5-DateTime-TimeZone')
-rw-r--r--devel/p5-DateTime-TimeZone/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/devel/p5-DateTime-TimeZone/Makefile b/devel/p5-DateTime-TimeZone/Makefile
index e1b8b4b85638..ab0d7536f05b 100644
--- a/devel/p5-DateTime-TimeZone/Makefile
+++ b/devel/p5-DateTime-TimeZone/Makefile
@@ -7,6 +7,7 @@
PORTNAME= DateTime-TimeZone
PORTVERSION= 0.73
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,8 +16,7 @@ MAINTAINER= mat@FreeBSD.org
COMMENT= Time zone object base class and factory
RUN_DEPENDS= p5-Class-Singleton>=1.03:${PORTSDIR}/devel/p5-Class-Singleton \
- p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate \
- ${SITE_PERL}/${PERL_ARCH}/Cwd.pm:${PORTSDIR}/devel/p5-PathTools
+ p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_MODBUILD= yes
@@ -36,4 +36,14 @@ post-install:
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+BUILD_DEPENDS+= p5-Storable>=0:${PORTSDIR}/devel/p5-Storable
+.endif
+
+.if ${PERL_LEVEL} < 500806
+RUN_DEPENDS+= p5-PathTools>=3:${PORTSDIR}/devel/p5-PathTools
+.endif
+
+.include <bsd.port.post.mk>