Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 Aug 2006 22:47:39 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/101661: [MAINTAINER] www/p5-HTML-TreeBuilder-XPath: update to 0.06
Message-ID:  <20060808144739.045B415E@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608081450.k78EoEmW087050@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101661
>Category:       ports
>Synopsis:       [MAINTAINER] www/p5-HTML-TreeBuilder-XPath: update to 0.06
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 08 14:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Update to 0.06

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-HTML-TreeBuilder-XPath-0.06.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/p5-HTML-TreeBuilder-XPath/Makefile /home/staff/gslin/work/p5-HTML-TreeBuilder-XPath/Makefile
--- /usr/ports/www/p5-HTML-TreeBuilder-XPath/Makefile	Tue Jul 11 22:36:36 2006
+++ /home/staff/gslin/work/p5-HTML-TreeBuilder-XPath/Makefile	Tue Aug  8 22:45:25 2006
@@ -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 @@
 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 @@
 
 .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 -ruN --exclude=CVS /usr/ports/www/p5-HTML-TreeBuilder-XPath/distinfo /home/staff/gslin/work/p5-HTML-TreeBuilder-XPath/distinfo
--- /usr/ports/www/p5-HTML-TreeBuilder-XPath/distinfo	Tue Jul 11 22:36:36 2006
+++ /home/staff/gslin/work/p5-HTML-TreeBuilder-XPath/distinfo	Tue Aug  8 22:37:21 2006
@@ -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 -ruN --exclude=CVS /usr/ports/www/p5-HTML-TreeBuilder-XPath/pkg-descr /home/staff/gslin/work/p5-HTML-TreeBuilder-XPath/pkg-descr
--- /usr/ports/www/p5-HTML-TreeBuilder-XPath/pkg-descr	Tue Jul 11 22:36:36 2006
+++ /home/staff/gslin/work/p5-HTML-TreeBuilder-XPath/pkg-descr	Tue Aug  8 22:38:15 2006
@@ -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/
--- p5-HTML-TreeBuilder-XPath-0.06.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060808144739.045B415E>