summaryrefslogtreecommitdiff
path: root/finance/p5-Finance-Quote/Makefile
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-05-08 07:20:04 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-05-08 07:20:04 +0800
commite88ca84364a6725ee2350784fee20ecdfd4da687 (patch)
treee2a6b1921a1ed834542d485ad52fa213ecfea66c /finance/p5-Finance-Quote/Makefile
parentdevel/pylint: Update to 2.17.4 (diff)
finance/p5-Finance-Quote: Update to 1.5402
Changes: https://metacpan.org/dist/Finance-Quote/changes
Diffstat (limited to '')
-rw-r--r--finance/p5-Finance-Quote/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/finance/p5-Finance-Quote/Makefile b/finance/p5-Finance-Quote/Makefile
index 1c2c2dda741e..f4d216acd802 100644
--- a/finance/p5-Finance-Quote/Makefile
+++ b/finance/p5-Finance-Quote/Makefile
@@ -1,8 +1,9 @@
PORTNAME= Finance-Quote
-PORTVERSION= 1.54
+PORTVERSION= 1.54.02
CATEGORIES= finance perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Get stock and mutual fund quotes from various exchanges
@@ -46,4 +47,11 @@ USE_PERL5= configure
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 503400
+BUILD_DEPENDS+= p5-Module-Load>=0.36:devel/p5-Module-Load
+RUN_DEPENDS+= p5-Module-Load>=0.36:devel/p5-Module-Load
+.endif
+
+.include <bsd.port.post.mk>