pkgsrc/www/p5-HTML-Parser/Makefile

25 lines
697 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.37 2006/03/04 21:31:02 jlam Exp $
#
DISTNAME= HTML-Parser-3.50
1999-12-28 13:49:56 +01:00
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5hpa
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
MAINTAINER= pkgsrc-users@NetBSD.org
Update p5-HTML-Parser from version 3.35 to 3.42. Change HOMEPAGE to author-independent link on search.cpan.org. Change log: 2004-12-04 Gisle Aas <gisle@ActiveState.com> Release 3.42 Avoid sv_catpvn_utf8_upgrade() as that macro was not available in perl-5.8.0. Patch by Reed Russell <Russell.Reed@acxiom.com>. Add casts to suppress compilation warnings for char/U8 mismatches. HTML::HeadParser will always push new header values. This make sure we never loose old header values. 2004-11-30 Gisle Aas <gisle@ActiveState.com> Release 3.41 Fix unresolved symbol error with perl-5.005. 2004-11-29 Gisle Aas <gisle@ActiveState.com> Release 3.40 Make utf8_mode only available on perl-5.8 or better. It produced garbage with older versions of perl. Emit warning if entities are decoded and something in the first chunk looks like hibit UTF-8. Previously this warning was only triggered for documents with BOM. 2004-11-23 Gisle Aas <gisle@ActiveState.com> Release 3.39_92 More documentation of the Unicode issues. Moved around HTML::Parser documentation a bit. New boolean option; $p->utf8_mode to allow parsing of raw UTF-8. Documented that HTML::Entities::decode_entities() can take multiple arguments. Unterminated entities are now decoded in text (compatibility with MSIE misfeature). Document HTML::Entities::_decode_entities(); this variation of the decode_entities() function has been available for a long time, but have not been documented until now. HTML::Entities::_decode_entities() can now be told to try to expand unterminated entities. Simplified Makefile.PL 2004-11-23 Gisle Aas <gisle@ActiveState.com> Release 3.39_91 The HTML::HeadParser will skip Unicode BOM. Previously it would consider the <head> section done when it saw the BOM. The parser will look for Unicode BOM and give appropriate warnings if the form found indicate trouble. If no matching end tag is found for <script>, <style>, <xmp> <title>, <textarea> then generate one where the next tag starts. For <script> and <style> recognize quoted strings and don't consider end element if the corresponding end tag is found inside such a string. 2004-11-17 Gisle Aas <gisle@ActiveState.com> Release 3.39_90 The <title> element is now parsed in literal mode, which means that other tags are not recognized until </title> has been seen. Unicode support for perl-5.8 and better. Decoding Unicode entities always enabled; no longer a compile time option. Propagation of UTF8 state on strings. Patch contributed by John Gardiner Myers <jgmyers@proofpoint.com>. Calculate offsets and lengths in chars for Unicode strings. Fixed link typo in the HTML::TokeParser documentation. 2004-11-11 Gisle Aas <gisle@ActiveState.com> Release 3.38 New boolean option; $p->closing_plaintext Contributed by Alex Kapranoff <alex@kapranoff.ru> 2004-11-10 Gisle Aas <gisle@ActiveState.com> Release 3.37 Improved handling of HTML encoded surrogate pairs and illegally endoded Unicode; <http://rt.cpan.org/Ticket/Display.html?id=7785>. Patch by John Gardiner Myers <jgmyers@proofpoint.com>. Avoid generating bad UTF8 strings when decoding entities representing chars beyond #255 in 8-bit strings. Such bad UTF8 sometimes made perl-5.8.5 and older segfault. Undocument v2 style subclassing in synopsis section. Internal cleanup: Make 'gcc -Wall' happier. Avoid modification of PVs during parsing of attrspec. Another patch by John Gardiner Myers. 2004-04-01 Gisle Aas <gisle@ActiveState.com> Release 3.36 Improved MSIE/Mozilla compatibility. If the same attribute name repeats for a start tag, use the first value instead of the last. Patch by Nick Duffek <html-parser@duffek.com>. <https://rt.cpan.org/Ticket/Display.html?id=5472>
2004-12-05 19:38:58 +01:00
HOMEPAGE= http://search.cpan.org/dist/HTML-Parser/
COMMENT= Perl5 module to parse HTML text documents
2000-08-28 00:10:27 +02:00
DEPENDS+= p5-HTML-Tagset>=3.0:../../www/p5-HTML-Tagset
# needed for some self-test, but this would create a circular
# dependency -- weird.
#DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
2000-08-28 00:10:27 +02:00
2004-01-05 23:16:24 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
PERL5_PACKLIST= auto/HTML/Parser/.packlist
2002-10-20 17:05:09 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"