aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-DateTime-Locale
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-09-05 19:23:32 +0800
committerleeym <leeym@FreeBSD.org>2008-09-05 19:23:32 +0800
commit54a02a34a709814b411e3e1ea6b127c93c6e82c9 (patch)
tree7a4ff8e23fb0eed30cd2610dc91ef836b80a5ce5 /devel/p5-DateTime-Locale
parent6e1d20c6e2c29f6cea01e8bbc39e9d0a71739549 (diff)
downloadfreebsd-ports-gnome-54a02a34a709814b411e3e1ea6b127c93c6e82c9.tar.gz
freebsd-ports-gnome-54a02a34a709814b411e3e1ea6b127c93c6e82c9.tar.zst
freebsd-ports-gnome-54a02a34a709814b411e3e1ea6b127c93c6e82c9.zip
- add missing dependency for old perl
- bump PORTREVISION PR: 125351 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'devel/p5-DateTime-Locale')
-rw-r--r--devel/p5-DateTime-Locale/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/devel/p5-DateTime-Locale/Makefile b/devel/p5-DateTime-Locale/Makefile
index 4917cab217c1..2cde996d3777 100644
--- a/devel/p5-DateTime-Locale/Makefile
+++ b/devel/p5-DateTime-Locale/Makefile
@@ -7,18 +7,17 @@
PORTNAME= DateTime-Locale
PORTVERSION= 0.40.01
-DISTVERSION= ${PORTVERSION:C/\.(..)$/\1/}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
MAINTAINER= mat@FreeBSD.org
COMMENT= Localization support for DateTime
-BUILD_DEPENDS= ${RUN_DEPENDS}
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
- ${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils
+RUN_DEPENDS= p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
+ p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate
PERL_MODBUILD= yes
@@ -471,4 +470,10 @@ post-install:
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Class-ISA>=0:${PORTSDIR}/devel/p5-Class-ISA
+.endif
+
+.include <bsd.port.post.mk>