1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Update to 0.06

PR:		ports/101661
Submitted by:	maintainer (Gea-Suan Lin)
This commit is contained in:
Cheng-Lung Sung 2006-08-09 03:01:40 +00:00
parent 6bb2039abb
commit d31e23eb5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170161
3 changed files with 13 additions and 9 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= HTML-TreeBuilder-XPath
PORTVERSION= 0.05
PORTVERSION= 0.06
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= HTML
@ -15,9 +15,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= Add XPath support to HTML::TreeBuilder
BUILD_DEPENDS= ${SITE_PERL}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree \
RUN_DEPENDS= ${SITE_PERL}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree \
${SITE_PERL}/XML/XPathEngine.pm:${PORTSDIR}/textproc/p5-XML-XPathEngine
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@ -25,8 +24,14 @@ MAN3= HTML::TreeBuilder::XPath.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
IGNORE= requires perl 5.6.x or later. Install lang/perl5 then try again
.if ${PERL_LEVEL} < 500600
post-patch:
${PERL} -pi -e '$$_ = "" if /^use (5\.006|vars|warnings)/' \
${WRKSRC}/Makefile.PL ${WRKSRC}/lib/HTML/TreeBuilder/XPath.pm
.endif
.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+= ${SITE_PERL}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (HTML-TreeBuilder-XPath-0.05.tar.gz) = 29ccf9437b6cd4521fd6b553b4fd5b4e
SHA256 (HTML-TreeBuilder-XPath-0.05.tar.gz) = 3dc2696c27540f4e8ccdf8f19d3eed330b21f1006dce33bfd4edf1965f0ce982
SIZE (HTML-TreeBuilder-XPath-0.05.tar.gz) = 6307
MD5 (HTML-TreeBuilder-XPath-0.06.tar.gz) = f145b7398f3d7c2d56472b20fe657492
SHA256 (HTML-TreeBuilder-XPath-0.06.tar.gz) = 9134c941657d60954e31e6e2340c3d2c21a2ff813ce69ad9393779e1d7c47346
SIZE (HTML-TreeBuilder-XPath-0.06.tar.gz) = 6426

View File

@ -1,5 +1,4 @@
This module adds typical XPath methods to HTML::TreeBuilder, to make
it easy to query a document.
Author: Michel Rodriguez, <imirod@cpan.org>
WWW: http://search.cpan.org/dist/HTML-TreeBuilder-XPath/