2017-06-05 16:24:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.72 2017/06/05 14:24:56 ryoon Exp $
|
2002-01-30 23:38:36 +01:00
|
|
|
|
2017-03-16 14:03:30 +01:00
|
|
|
DISTNAME= XML-LibXML-2.0129
|
2013-08-24 04:13:21 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2017-06-05 16:24:48 +02:00
|
|
|
PKGREVISION= 1
|
2002-01-30 23:38:36 +01:00
|
|
|
CATEGORIES= textproc perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-06-14 01:29:00 +02:00
|
|
|
HOMEPAGE= http://search.cpan.org/dist/XML-LibXML/
|
2002-01-30 23:38:36 +01:00
|
|
|
COMMENT= Perl interface to the libxml2 library
|
2009-10-11 13:24:38 +02:00
|
|
|
LICENSE= ${PERL5_LICENSE}
|
2002-01-30 23:38:36 +01:00
|
|
|
|
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
|
2009-10-11 13:24:38 +02:00
|
|
|
|
|
|
|
SUPERSEDES= p5-XML-LibXML-Common<=0.13nb7
|
|
|
|
CONFLICTS+= p5-XML-LibXML-Common-[0-9]*
|
2002-01-30 23:38:36 +01:00
|
|
|
|
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]*
|
|
|
|
|
2007-06-14 01:29:00 +02:00
|
|
|
MAKE_ENV+= SKIP_SAX_INSTALL=1 # Must be done in the INSTALL script
|
2014-06-05 11:24:48 +02:00
|
|
|
MAKE_PARAMS+= INC="-I${BUILDLINK_PREFIX.libxml2}/include/libxml2"
|
2014-06-11 00:38:48 +02:00
|
|
|
MAKE_PARAMS+= LIBS="-L${BUILDLINK_PREFIX.libxml2}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libxml2}/lib -lxml2"
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/XML/LibXML/.packlist
|
2002-01-30 23:38:36 +01:00
|
|
|
|
2007-06-14 01:29:00 +02:00
|
|
|
FILES_SUBST+= PERL5_INSTALLVENDORLIB=${PERL5_INSTALLVENDORLIB:Q}
|
|
|
|
|
2004-02-22 08:25:03 +01:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
2002-10-05 02:50:35 +02:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2002-01-30 23:38:36 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|