aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTML-TreeBuilder-XPath
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-09 11:01:40 +0800
committerclsung <clsung@FreeBSD.org>2006-08-09 11:01:40 +0800
commit7abe0979c8fb333ad73ec20afec0694a13b45265 (patch)
tree6cb64b5761444e2075a280eaf2d3a2a63b339c3f /www/p5-HTML-TreeBuilder-XPath
parent3f07d12c5b96bcd8e23bafb016d1f383cbf396ef (diff)
downloadfreebsd-ports-gnome-7abe0979c8fb333ad73ec20afec0694a13b45265.tar.gz
freebsd-ports-gnome-7abe0979c8fb333ad73ec20afec0694a13b45265.tar.zst
freebsd-ports-gnome-7abe0979c8fb333ad73ec20afec0694a13b45265.zip
- Update to 0.06
PR: ports/101661 Submitted by: maintainer (Gea-Suan Lin)
Diffstat (limited to 'www/p5-HTML-TreeBuilder-XPath')
-rw-r--r--www/p5-HTML-TreeBuilder-XPath/Makefile15
-rw-r--r--www/p5-HTML-TreeBuilder-XPath/distinfo6
-rw-r--r--www/p5-HTML-TreeBuilder-XPath/pkg-descr1
3 files changed, 13 insertions, 9 deletions
diff --git a/www/p5-HTML-TreeBuilder-XPath/Makefile b/www/p5-HTML-TreeBuilder-XPath/Makefile
index f7632454015e..3bad366f8f8b 100644
--- a/www/p5-HTML-TreeBuilder-XPath/Makefile
+++ b/www/p5-HTML-TreeBuilder-XPath/Makefile
@@ -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>
diff --git a/www/p5-HTML-TreeBuilder-XPath/distinfo b/www/p5-HTML-TreeBuilder-XPath/distinfo
index 8a79feb023c6..37f6831c0d6c 100644
--- a/www/p5-HTML-TreeBuilder-XPath/distinfo
+++ b/www/p5-HTML-TreeBuilder-XPath/distinfo
@@ -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
diff --git a/www/p5-HTML-TreeBuilder-XPath/pkg-descr b/www/p5-HTML-TreeBuilder-XPath/pkg-descr
index 2293f61ce0c9..1a09e297fe34 100644
--- a/www/p5-HTML-TreeBuilder-XPath/pkg-descr
+++ b/www/p5-HTML-TreeBuilder-XPath/pkg-descr
@@ -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/