diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2005-02-02 16:37:43 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2005-02-02 16:37:43 +0000 |
commit | 399053e9b019723db8e4295a122ccf1a47499950 (patch) | |
tree | dee2239ba40dd3bac6b2d1ed562ceea3b39258fc /www/p5-WWW-Mechanize | |
parent | ca40fd69eb679c21aecb52b101341b981401bcc6 (diff) | |
download | ports-399053e9b019723db8e4295a122ccf1a47499950.tar.gz ports-399053e9b019723db8e4295a122ccf1a47499950.zip |
Notes
Diffstat (limited to 'www/p5-WWW-Mechanize')
-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 |