aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-iTunesConnect/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-WWW-iTunesConnect/Makefile')
-rw-r--r--www/p5-WWW-iTunesConnect/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/p5-WWW-iTunesConnect/Makefile b/www/p5-WWW-iTunesConnect/Makefile
index 12dc683242ce..4d263def375e 100644
--- a/www/p5-WWW-iTunesConnect/Makefile
+++ b/www/p5-WWW-iTunesConnect/Makefile
@@ -14,7 +14,7 @@ PKGNAMEPREFIX= p5-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= bfoz@bfoz.net
-COMMENT= Client interface for Apples iTunes Connect service
+COMMENT= Client interface for Apple's iTunes Connect service
RUN_DEPENDS= p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \
p5-libwww>=5.829:${PORTSDIR}/www/p5-libwww \
@@ -31,4 +31,10 @@ PLIST_DIRS= %%SITE_PERL%%/WWW \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/iTunesConnect \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>