2017-06-05 16:24:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2017/06/05 14:25:20 ryoon Exp $
|
2010-02-08 21:56:44 +01:00
|
|
|
|
2017-04-03 03:13:48 +02:00
|
|
|
DISTNAME= HTML-TreeBuilder-LibXML-0.26
|
2010-02-08 21:56:44 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2017-06-05 16:24:48 +02:00
|
|
|
PKGREVISION= 1
|
2010-02-08 21:56:44 +01:00
|
|
|
CATEGORIES= www perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://search.cpan.org/dist/HTML-TreeBuilder-LibXML/
|
|
|
|
COMMENT= Perl 5 HTML::TreeBuilder and XPath compatible interface with libxml
|
|
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
|
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
PERL5_PACKLIST= auto/HTML/TreeBuilder/LibXML/.packlist
|
|
|
|
|
2017-04-12 14:57:18 +02:00
|
|
|
PERL5_MODULE_TYPE= Module::Build::Tiny
|
Update to 0.23
Upstream changes:
0.23 2013-05-17T00:16:48Z
- fixed guts(), clone() and replace_with() to properly handle XML::LibXML::Dtd nodes
- guts() now includes the Dtd node in the returned document (unless it were implicitly created)
- clone() calls createInternalSubset() on the new document
- replace_with() calls createInternalSubset() if the replacement is a XML::LibXML::Dtd (can't import Dtd node)
(cafe01)
0.22 2013-05-13T00:04:09Z
- improved guts(), calling nonBlankChildNodes() instead of childNodes()
- improved HTML::TreeBuilder::LibXML::Node documentation
(cafe01)
0.21 2013-05-12T19:12:53Z
- fixed guts(),
- now returning nodes from <head> and <body> instead of just <body>
- now returning text and comment nodes instead of just element nodes
- returned nodes now belong to the same document
- fixed to_HTML to render valid html, not xml
(cafe01)
0.20 2013-05-10T20:44:16Z
- improved replace_with() on document node.
- fixed push_content() and unshift_content() to work with document mode.
(cafe01)
0.19 2013-05-10T01:03:58Z
- fixed replace_with() and parent(),
to avoid calling appendChild() on a Document node, which is not supported by XML::LibXML.
(cafe01)
0.18 2013-05-09T20:49:04Z
- implemented all node methods needed for Web::Query::LibXML to work
- clone_list
- detach
- delete_content
- content_list
- replace_with
- push_content
- unshift_content
- postinsert
- preinsert
- disembowel (HTML::TreeBuilder::LibXML)
(cafe01)
- modified parse_file() to read file content, then call parse_content()
- thats because parse_content() will detect (heuristically) when the parser will add implict <html><body> tags, so guts() can work properly.
(cafe01)
0.18 2013-05-09T01:27:46Z
- implemented matches(), parent(), guts() node method
(Carlos Fernando Avila Gratz)
2013-05-27 17:20:34 +02:00
|
|
|
|
|
|
|
DEPENDS+= p5-HTML-TreeBuilder-XPath>=0.14:../../www/p5-HTML-TreeBuilder-XPath
|
2010-09-21 23:27:37 +02:00
|
|
|
DEPENDS+= p5-XML-LibXML>=1.70:../../textproc/p5-XML-LibXML
|
2010-02-08 21:56:44 +01:00
|
|
|
|
2016-01-18 12:57:07 +01:00
|
|
|
BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
|
|
|
|
|
2010-02-08 21:56:44 +01:00
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|