summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-LibXML/Makefile
blob: b27e40732475477f3ba24dadd93bbaf49d2e604b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.27 2008/04/16 13:29:27 wiz Exp $
#

DISTNAME=	XML-LibXML-1.66
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"