summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Xerces/Makefile
blob: 75a57b0b758da272d80851b03125fad67c98cb9e (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.21 2006/10/04 22:01:00 wiz Exp $
#

DISTNAME=	XML-Xerces-2.7.0-0
PKGNAME=	p5-${DISTNAME:C/-([0-9]*)$/.\1/}
CATEGORIES=	textproc perl5
MASTER_SITES=	${MASTER_SITE_APACHE:=xml/xerces-p/}

MAINTAINER=	manu@NetBSD.org
HOMEPAGE=	http://xerces.apache.org/xerces-p/
COMMENT=	Validating XML parser API for Perl

CONFLICTS+=	XML-Xerces-[0-9]*

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_LANGUAGES=	c c++
CC=c++
USE_TOOLS+=	gmake
PERL5_PACKLIST=	auto/XML/Xerces/.packlist

MAKE_ENV+=	XERCESCROOT="${BUILDLINK_PREFIX.xerces-c}" LANG=""

# Xerces-C is built unthreaded in pkgsrc (for now).
BUILDLINK_TRANSFORM+=	rm:-lpthread

BUILDLINK_API_DEPENDS.xerces-c+=	xerces-c>=2.7.0
.include "../../textproc/xerces-c/buildlink3.mk"

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"