summaryrefslogtreecommitdiffstats
path: root/www/p5-WWW-Mechanize
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2005-02-02 16:37:43 +0000
committermat <mat@FreeBSD.org>2005-02-02 16:37:43 +0000
commitc210e2304152e31cc938b773abf74cbadc098ab3 (patch)
tree8d5046df5768f333b43ddaf03cd1a7bb94b7bf87 /www/p5-WWW-Mechanize
parent6ab37c953ccf58aa34b9711eb20ad9eb8c42ba31 (diff)
downloadFreeBSD-ports-c210e2304152e31cc938b773abf74cbadc098ab3.zip
FreeBSD-ports-c210e2304152e31cc938b773abf74cbadc098ab3.tar.gz
Update to 1.10
neer perl 5.6+
Diffstat (limited to 'www/p5-WWW-Mechanize')
-rw-r--r--www/p5-WWW-Mechanize/Makefile22
-rw-r--r--www/p5-WWW-Mechanize/distinfo4
2 files changed, 13 insertions, 13 deletions
diff --git a/www/p5-WWW-Mechanize/Makefile b/www/p5-WWW-Mechanize/Makefile
index 1f16185..e92235f 100644
--- a/www/p5-WWW-Mechanize/Makefile
+++ b/www/p5-WWW-Mechanize/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= WWW-Mechanize
-PORTVERSION= 1.08
+PORTVERSION= 1.10
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= WWW
@@ -26,22 +26,22 @@ MAN3= WWW::Mechanize.3 WWW::Mechanize::Cookbook.3 \
WWW::Mechanize::Link.3 WWW::Mechanize::Image.3
MAN1= mech-dump.1
+.if !defined(NOPORTDOCS)
+PORTDOCS= Changes etc/www-mechanize-logo.png
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
.if ${PERL_LEVEL} < 500601
-BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-
-post-patch:
- @${PERL} -pi \
- -e 's/^our\s+([\$$\@]\w+)/use vars qw($$1);$$1/;' \
- -e 's/^our\s+([\%]\w+)/use vars qw($$1)/;' \
- -e 's/(?:my )?\$$fh/FH/;' \
- -e 's/FH, ">",/FH, ">"./;' \
- -e '$$_="" if /use warnings/;' \
- ${WRKSRC}/lib/WWW/Mechanize.pm ${WRKSRC}/lib/WWW/Mechanize/Link.pm
+IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
.endif
.endif
diff --git a/www/p5-WWW-Mechanize/distinfo b/www/p5-WWW-Mechanize/distinfo
index dcabc46..8f06f9a 100644
--- a/www/p5-WWW-Mechanize/distinfo
+++ b/www/p5-WWW-Mechanize/distinfo
@@ -1,2 +1,2 @@
-MD5 (WWW-Mechanize-1.08.tar.gz) = ca5d360ff754cad2a4154a089588e16c
-SIZE (WWW-Mechanize-1.08.tar.gz) = 100811
+MD5 (WWW-Mechanize-1.10.tar.gz) = 6d134315f9a512d2e4b7b5c0a8c1331e
+SIZE (WWW-Mechanize-1.10.tar.gz) = 101892
OpenPOWER on IntegriCloud