df5ea62bf5
Pkgsrc changes: - Added support for installation to DESTDIR. - Registration of the parser happens through the pkginstall framework (INSTALL/DEINSTALL) now, thus making the MESSAGE file unnecessary. Setting SKIP_SAX_INSTALL in the environment and replacing PERL5_INSTALLVENDORLIB in the install scripts is necessary for this to work. Changes since version 1.62: ============================== 1.63 - added no_network parser flag - added support for exclusive canonicalization (http://www.w3.org/TR/xml-exc-c14n/) - make XInclude reflect parser flags - documentation fixes - better namespace reconciliation implemented by Tim Brody - $doc->toString always returns octets - $doc->actualEncoding returns UTF8 if no document encoding is declared (unlike $doc->getEncoding, which returns undef)
31 lines
1,016 B
Makefile
31 lines
1,016 B
Makefile
# $NetBSD: Makefile,v 1.25 2007/06/13 23:29:01 heinz Exp $
|
|
#
|
|
|
|
DISTNAME= XML-LibXML-1.63
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5xlx
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= p5-XML-SAX>=0.11:../../textproc/p5-XML-SAX
|
|
DEPENDS+= p5-XML-NamespaceSupport>=1.07:../../textproc/p5-XML-NamespaceSupport
|
|
DEPENDS+= p5-XML-LibXML-Common>=0.13:../../textproc/p5-XML-LibXML-Common
|
|
|
|
# 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
|
|
PERL5_PACKLIST= auto/XML/LibXML/.packlist
|
|
|
|
FILES_SUBST+= PERL5_INSTALLVENDORLIB=${PERL5_INSTALLVENDORLIB:Q}
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|