pkgsrc/textproc/p5-XML-LibXML/Makefile

34 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.72 2017/06/05 14:24:56 ryoon Exp $
DISTNAME= XML-LibXML-2.0129
2013-08-24 04:13:21 +02:00
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/XML-LibXML/
COMMENT= Perl interface to the libxml2 library
Updating textproc/p5-XML-LibXML from 1.69 to 1.70 pkgsrc changes: - Adding license definition - Adjusting dependencies - Adding SUPERCEDES/CONFLICTS for merged textproc/p5-XML-LibXML-Common Upstream changes: 1.70 - various fixes and improvements in the documentation - added (convenient yet non-standard) methods nonBlankChildNodes, firstNonBlankChild, nextNonBlankSibling, prevNonBlankSibling that skip empty or whitespace-only Text and CDATA nodes - exposed and documented external entity handler - XPathContext can now be passed to toStringC14N and toStringEC14N (e.g. to provide NS mapping for the XPath expression) - avoid using libxml2's globals (Nick Wellnhofer) - added interface to libxml2's regexp implementation: XML::LibXML::RegExp - added XML::LibXML->load_xml and XML::LibXML->load_html with uniform and cleaner API than the old parse_* family - cleanup code dealing with parsing flags - fix bogus validation results if revalidating a modified document - added 'eq' and 'cmp' overloading on XML::LibXML::Error and set fallback to 1 - lots of bugs fixed 1.69_2 - provide context and more accurate column number in structured errors - clarify license and copyright - support for Win32+mingw+ActiveState 1.69_1 - merge with XML::LibXML::Common - fix compilation on Windows with mingw or msvc - fix a bug in structured errors preventing the previous errors from being reported - fix compilation bugs - fix encoding problem in reader - added getAttributeHash to the reader interface - fix segfaults: reconcileNs in domReplaceChild, findnodes with a doc fragment (S. Rezic)
2009-10-11 13:24:38 +02:00
LICENSE= ${PERL5_LICENSE}
Update to upstream version 1.61003, package version 1.61.003. Package changes: - adjust dependencies - mark conflicting with p5-XML-LibXML-XPathContext package Please note that this version includes the perl module XML::LibXML::XPathContext. This module is also provided by the textproc/p5-XML-LibXML-XPathContext package which is about to be deleted. Changes since last packaged version (1.58): 1.61 - get{Elements,Children}By{TagName,TagNameNS,LocalName} now obey wildcards '*', getChildrenByLocalName was added. - XML::LibXML::XPathContext merged in - many new tests added - the module should now be fully compatibile with libxml2 >= 2.6.16 (some older versions compile but have problems with namespaced attributes) - threads test skipped by default - documentation updates (namely DOM namespace conformance in XML::LibXML::DOM) - added setNamespaceDecl{URI,Prefix} - get/setAttribute(NS)? implementation made xmlns aware - all sub-modules have the same version as XML::LibXML 1.60 - getElementsById corrected to getElementById and the old name kept as an alias. Also re-implemented without XPath for improved performance - DOM Level 3 method $attr->isId() added - make {get,set,has}Attribute(Node)? methods work with full attribute names rather than just localnames. (Although DOM Level 3 is not very clear about the behavior of these methods for an attributes with namespaces, it certainly does not imply that getAttribute('foo') should return value of a bar:foo, which was the old behavior.) - added publicId and systemId methods to XML::LibXML::Dtd 1.59 - new parser and callback code (Christian Glahn) - new XML::LibXML::InputCallback class - many bug fixes (including several memory leaks) - documentation and regression fixes and enhancements - Perl wrappers for parse_html_* - make sure parse_* methods are not called on class (bug 11126) - DOM Layer 3 conformance fixes: * lookupNamespaceURI(empty_or_undef) now returns the default NS - faster getChildrenByTagNameNS implementation - remove the SGML parser code no longer supported by libxml (Michael Kröll)
2006-11-05 15:05:07 +01:00
DEPENDS+= p5-XML-SAX>=0.11:../../textproc/p5-XML-SAX
DEPENDS+= p5-XML-NamespaceSupport>=1.07:../../textproc/p5-XML-NamespaceSupport
Updating textproc/p5-XML-LibXML from 1.69 to 1.70 pkgsrc changes: - Adding license definition - Adjusting dependencies - Adding SUPERCEDES/CONFLICTS for merged textproc/p5-XML-LibXML-Common Upstream changes: 1.70 - various fixes and improvements in the documentation - added (convenient yet non-standard) methods nonBlankChildNodes, firstNonBlankChild, nextNonBlankSibling, prevNonBlankSibling that skip empty or whitespace-only Text and CDATA nodes - exposed and documented external entity handler - XPathContext can now be passed to toStringC14N and toStringEC14N (e.g. to provide NS mapping for the XPath expression) - avoid using libxml2's globals (Nick Wellnhofer) - added interface to libxml2's regexp implementation: XML::LibXML::RegExp - added XML::LibXML->load_xml and XML::LibXML->load_html with uniform and cleaner API than the old parse_* family - cleanup code dealing with parsing flags - fix bogus validation results if revalidating a modified document - added 'eq' and 'cmp' overloading on XML::LibXML::Error and set fallback to 1 - lots of bugs fixed 1.69_2 - provide context and more accurate column number in structured errors - clarify license and copyright - support for Win32+mingw+ActiveState 1.69_1 - merge with XML::LibXML::Common - fix compilation on Windows with mingw or msvc - fix a bug in structured errors preventing the previous errors from being reported - fix compilation bugs - fix encoding problem in reader - added getAttributeHash to the reader interface - fix segfaults: reconcileNs in domReplaceChild, findnodes with a doc fragment (S. Rezic)
2009-10-11 13:24:38 +02:00
SUPERSEDES= p5-XML-LibXML-Common<=0.13nb7
CONFLICTS+= p5-XML-LibXML-Common-[0-9]*
Update to upstream version 1.61003, package version 1.61.003. Package changes: - adjust dependencies - mark conflicting with p5-XML-LibXML-XPathContext package Please note that this version includes the perl module XML::LibXML::XPathContext. This module is also provided by the textproc/p5-XML-LibXML-XPathContext package which is about to be deleted. Changes since last packaged version (1.58): 1.61 - get{Elements,Children}By{TagName,TagNameNS,LocalName} now obey wildcards '*', getChildrenByLocalName was added. - XML::LibXML::XPathContext merged in - many new tests added - the module should now be fully compatibile with libxml2 >= 2.6.16 (some older versions compile but have problems with namespaced attributes) - threads test skipped by default - documentation updates (namely DOM namespace conformance in XML::LibXML::DOM) - added setNamespaceDecl{URI,Prefix} - get/setAttribute(NS)? implementation made xmlns aware - all sub-modules have the same version as XML::LibXML 1.60 - getElementsById corrected to getElementById and the old name kept as an alias. Also re-implemented without XPath for improved performance - DOM Level 3 method $attr->isId() added - make {get,set,has}Attribute(Node)? methods work with full attribute names rather than just localnames. (Although DOM Level 3 is not very clear about the behavior of these methods for an attributes with namespaces, it certainly does not imply that getAttribute('foo') should return value of a bar:foo, which was the old behavior.) - added publicId and systemId methods to XML::LibXML::Dtd 1.59 - new parser and callback code (Christian Glahn) - new XML::LibXML::InputCallback class - many bug fixes (including several memory leaks) - documentation and regression fixes and enhancements - Perl wrappers for parse_html_* - make sure parse_* methods are not called on class (bug 11126) - DOM Layer 3 conformance fixes: * lookupNamespaceURI(empty_or_undef) now returns the default NS - faster getChildrenByTagNameNS implementation - remove the SGML parser code no longer supported by libxml (Michael Kröll)
2006-11-05 15:05:07 +01:00
# since version 1.61 the XML::LibXML Perl module
# includes XML::LibXML::XPathContext module
CONFLICTS+= p5-XML-LibXML-XPathContext-[0-9]*
MAKE_ENV+= SKIP_SAX_INSTALL=1 # Must be done in the INSTALL script
MAKE_PARAMS+= INC="-I${BUILDLINK_PREFIX.libxml2}/include/libxml2"
MAKE_PARAMS+= LIBS="-L${BUILDLINK_PREFIX.libxml2}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libxml2}/lib -lxml2"
PERL5_PACKLIST= auto/XML/LibXML/.packlist
FILES_SUBST+= PERL5_INSTALLVENDORLIB=${PERL5_INSTALLVENDORLIB:Q}
2004-02-22 08:25:03 +01:00
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"