aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Mechanize
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-08-28 13:15:52 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-08-28 13:15:52 +0000
commite7d0d93bea79855b8bb6effb2f5ae36d5747494f (patch)
treeaa6e5265d10f4d719d75f168e1e8cffd6d81ded3 /www/p5-WWW-Mechanize
parent1f0779308f845fe88a661b820add880dc8f845ba (diff)
downloadports-e7d0d93bea79855b8bb6effb2f5ae36d5747494f.tar.gz
ports-e7d0d93bea79855b8bb6effb2f5ae36d5747494f.zip
Notes
Diffstat (limited to 'www/p5-WWW-Mechanize')
-rw-r--r--www/p5-WWW-Mechanize/Makefile28
-rw-r--r--www/p5-WWW-Mechanize/distinfo4
2 files changed, 20 insertions, 12 deletions
diff --git a/www/p5-WWW-Mechanize/Makefile b/www/p5-WWW-Mechanize/Makefile
index 1c7f4cb43071..3ca9f28bb790 100644
--- a/www/p5-WWW-Mechanize/Makefile
+++ b/www/p5-WWW-Mechanize/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= WWW-Mechanize
-PORTVERSION= 1.68
-PORTREVISION= 1
+PORTVERSION= 1.70
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,29 +14,38 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= This module is to help you automate interaction with a website
+BUILD_DEPENDS= p5-HTML-Form>=1.038:${PORTSDIR}/www/p5-HTML-Form \
+ p5-HTML-Parser>=3.33:${PORTSDIR}/www/p5-HTML-Parser \
+ p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \
+ p5-HTTP-Server-Simple>=0.35:${PORTSDIR}/www/p5-HTTP-Server-Simple \
+ p5-URI>=0:${PORTSDIR}/net/p5-URI \
+ p5-libwww>=5.829:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= p5-HTML-Form>=1.038:${PORTSDIR}/www/p5-HTML-Form \
p5-HTML-Parser>=3.33:${PORTSDIR}/www/p5-HTML-Parser \
p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \
p5-HTTP-Server-Simple>=0.35:${PORTSDIR}/www/p5-HTTP-Server-Simple \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-libwww>=5.829:${PORTSDIR}/www/p5-libwww
-BUILD_DEPENDS= ${RUN_DEPENDS}
+TEST_DEPENDS= p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle \
+ p5-Test-Pod>=1.14:${PORTSDIR}/devel/p5-Test-Pod \
+ p5-Test-Pod-Coverage>=1.04:${PORTSDIR}/devel/p5-Test-Pod-Coverage \
+ p5-Test-Taint>=0:${PORTSDIR}/devel/p5-Test-Taint \
+ p5-Test-Warn>=0.11:${PORTSDIR}/devel/p5-Test-Warn
-PERL_CONFIGURE= 5.8.0+
-CONFIGURE_ARGS+= --nolive
+PERL_CONFIGURE= yes
+MAN1= mech-dump.1
MAN3= WWW::Mechanize.3 WWW::Mechanize::Cookbook.3 \
WWW::Mechanize::Examples.3 WWW::Mechanize::FAQ.3 \
- WWW::Mechanize::Link.3 WWW::Mechanize::Image.3
-MAN1= mech-dump.1
+ WWW::Mechanize::Image.3 WWW::Mechanize::Link.3
.if !defined(NOPORTDOCS)
-MYPORTDOCS= Changes etc/www-mechanize-logo.png
-PORTDOCS= Changes www-mechanize-logo.png
+DOCS= Changes etc/www-mechanize-logo.png
+PORTDOCS= ${DOCS:T}
post-install:
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${MYPORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
diff --git a/www/p5-WWW-Mechanize/distinfo b/www/p5-WWW-Mechanize/distinfo
index 67aa91b2c566..f8ed35c231d3 100644
--- a/www/p5-WWW-Mechanize/distinfo
+++ b/www/p5-WWW-Mechanize/distinfo
@@ -1,2 +1,2 @@
-SHA256 (WWW-Mechanize-1.68.tar.gz) = fca43870fa5769252131dd817678650378a9bd4cbe967e2621a7d2273231ccaf
-SIZE (WWW-Mechanize-1.68.tar.gz) = 123373
+SHA256 (WWW-Mechanize-1.70.tar.gz) = 4dcc98a474fa7c4fe73099671487b3d8ecfb9828be34a80ef1638933d3d19090
+SIZE (WWW-Mechanize-1.70.tar.gz) = 124948