aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-AtMovies-TV/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2010-01-10 01:21:41 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2010-01-10 01:21:41 +0000
commitb18101db7eeede0b79abf5024f05f446ab547a2a (patch)
tree654a5ac1f4414aa89c7aacdbb164f7d01ba7fb53 /www/p5-WWW-AtMovies-TV/Makefile
parent547807f8168975acf71924a6f8146aebc8d34a0f (diff)
downloadports-b18101db7eeede0b79abf5024f05f446ab547a2a.tar.gz
ports-b18101db7eeede0b79abf5024f05f446ab547a2a.zip
Notes
Diffstat (limited to 'www/p5-WWW-AtMovies-TV/Makefile')
-rw-r--r--www/p5-WWW-AtMovies-TV/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/www/p5-WWW-AtMovies-TV/Makefile b/www/p5-WWW-AtMovies-TV/Makefile
index 69041a4e771d..0132bbd2f57b 100644
--- a/www/p5-WWW-AtMovies-TV/Makefile
+++ b/www/p5-WWW-AtMovies-TV/Makefile
@@ -6,25 +6,29 @@
#
PORTNAME= WWW-AtMovies-TV
-PORTVERSION= 0.03
+PORTVERSION= 0.04
DISTVERSIONPREFIX=v
CATEGORIES= www perl5
MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../by-authors/id/A/AL/ALEC
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Retrieve TV information from http://www.atmovies.com.tw/
-BUILD_DEPENDS= p5-HTML-SimpleLinkExtor>=0:${PORTSDIR}/www/p5-HTML-SimpleLinkExtor \
- p5-HTML-TableExtract>=2.1:${PORTSDIR}/www/p5-HTML-TableExtract \
- p5-WWW-Mechanize>=1.34:${PORTSDIR}/www/p5-WWW-Mechanize \
- p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
+RUN_DEPENDS= p5-HTML-TableExtract>=2.1:${PORTSDIR}/www/p5-HTML-TableExtract \
p5-Moose>=0.55:${PORTSDIR}/devel/p5-Moose \
- p5-version>=0.76:${PORTSDIR}/devel/p5-version
-RUN_DEPENDS= ${BUILD_DEPENDS}
+ p5-WWW-Mechanize>=1.34:${PORTSDIR}/www/p5-WWW-Mechanize
+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>