diff options
author | mat <mat@FreeBSD.org> | 2005-02-03 00:37:43 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2005-02-03 00:37:43 +0800 |
commit | c210e2304152e31cc938b773abf74cbadc098ab3 (patch) | |
tree | 8d5046df5768f333b43ddaf03cd1a7bb94b7bf87 /www | |
parent | 6ab37c953ccf58aa34b9711eb20ad9eb8c42ba31 (diff) | |
download | freebsd-ports-gnome-c210e2304152e31cc938b773abf74cbadc098ab3.tar.gz freebsd-ports-gnome-c210e2304152e31cc938b773abf74cbadc098ab3.tar.zst freebsd-ports-gnome-c210e2304152e31cc938b773abf74cbadc098ab3.zip |
Update to 1.10
neer perl 5.6+
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-WWW-Mechanize/Makefile | 22 | ||||
-rw-r--r-- | www/p5-WWW-Mechanize/distinfo | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/www/p5-WWW-Mechanize/Makefile b/www/p5-WWW-Mechanize/Makefile index 1f1618583caf..e92235fd360d 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 dcabc46260ce..8f06f9a171ed 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 |