aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-iTunesConnect
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-WWW-iTunesConnect')
-rw-r--r--www/p5-WWW-iTunesConnect/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/www/p5-WWW-iTunesConnect/Makefile b/www/p5-WWW-iTunesConnect/Makefile
index 410350611b86..c102869d4f7d 100644
--- a/www/p5-WWW-iTunesConnect/Makefile
+++ b/www/p5-WWW-iTunesConnect/Makefile
@@ -7,6 +7,7 @@
PORTNAME= WWW-iTunesConnect
PORTVERSION= 1.16
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,11 +16,10 @@ DISTNAME= ${PKGNAME}
MAINTAINER= bfoz@bfoz.net
COMMENT= Client interface for Apple's iTunes Connect service
-BUILD_DEPENDS= p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \
+RUN_DEPENDS= p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \
p5-libwww>=5.829:${PORTSDIR}/www/p5-libwww \
- p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay \
- p5-IO-Compress-Zlib>=0:${PORTSDIR}/archivers/p5-IO-Compress-Zlib
-RUN_DEPENDS= ${BUILD_DEPENDS}
+ p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= YES
@@ -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>