aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-AtMovies-TV
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
commitb59621d3ae883bef429a8fae6073bfa293a55222 (patch)
treeb415c7b2903cf47ada68c5557c3c6ac33a25fc41 /www/p5-WWW-AtMovies-TV
parente93c09b8f3675471a176b72ae1e6f085f7a607ad (diff)
downloadports-b59621d3ae883bef429a8fae6073bfa293a55222.tar.gz
ports-b59621d3ae883bef429a8fae6073bfa293a55222.zip
Notes
Diffstat (limited to 'www/p5-WWW-AtMovies-TV')
-rw-r--r--www/p5-WWW-AtMovies-TV/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/p5-WWW-AtMovies-TV/Makefile b/www/p5-WWW-AtMovies-TV/Makefile
index 804f4bce4576..3729ea5c5bba 100644
--- a/www/p5-WWW-AtMovies-TV/Makefile
+++ b/www/p5-WWW-AtMovies-TV/Makefile
@@ -19,10 +19,16 @@ COMMENT= Retrieve TV information from http://www.atmovies.com.tw/
RUN_DEPENDS= p5-HTML-TableExtract>=2.1:${PORTSDIR}/www/p5-HTML-TableExtract \
p5-Moose>=0.55:${PORTSDIR}/devel/p5-Moose \
p5-WWW-Mechanize>=1.34:${PORTSDIR}/www/p5-WWW-Mechanize
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= WWW::AtMovies::TV.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+RUN_DEPENDS+= p5-version>=0.76:${PORTSDIR}/devel/p5-version
+.endif
+
+.include <bsd.port.post.mk>