aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Dancer2
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-06-22 23:42:53 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-06-22 23:42:53 +0000
commit05d3aa9e7e7dcee9eb72973b49ed3d694d11f63f (patch)
tree840f7e397b149eeb6f90cd1b6ec0f4a2da67d91f /www/p5-Dancer2
parent92a2c720931c3a60fa0639f017c4051df8b9c219 (diff)
downloadports-05d3aa9e7e7dcee9eb72973b49ed3d694d11f63f.tar.gz
ports-05d3aa9e7e7dcee9eb72973b49ed3d694d11f63f.zip
Add PERL_LEVEL check
- Bump PORTREVISION for dependency change
Notes
Notes: svn path=/head/; revision=444157
Diffstat (limited to 'www/p5-Dancer2')
-rw-r--r--www/p5-Dancer2/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/p5-Dancer2/Makefile b/www/p5-Dancer2/Makefile
index bb9181e556ec..860c1699fa7c 100644
--- a/www/p5-Dancer2/Makefile
+++ b/www/p5-Dancer2/Makefile
@@ -3,6 +3,7 @@
PORTNAME= Dancer2
PORTVERSION= 0.205000
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -18,7 +19,6 @@ BUILD_DEPENDS= p5-App-Cmd>=0:devel/p5-App-Cmd \
p5-Capture-Tiny>=0.12:devel/p5-Capture-Tiny \
p5-Crypt-URandom>=0:security/p5-Crypt-URandom \
p5-Config-Any>=0:devel/p5-Config-Any \
- p5-ExtUtils-MakeMaker>=7.12:devel/p5-ExtUtils-MakeMaker \
p5-File-ShareDir-Install>=0.06:devel/p5-File-ShareDir-Install \
p5-Hash-Merge-Simple>=0:devel/p5-Hash-Merge-Simple \
p5-HTTP-Body>=0:www/p5-HTTP-Body \
@@ -69,4 +69,11 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502502
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=7.12:devel/p5-ExtUtils-MakeMaker
+RUN_DEPENDS+= p5-ExtUtils-MakeMaker>=7.12:devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>