# New ports collection makefile for:	p5-XML-Xerces
# Date created:		29 March 2006
# Whom:	      		Ken Menzel <kenm@icarz.com>
#
# $FreeBSD: ports/textproc/p5-XML-Xerces/Makefile,v 1.16 2011/09/15 16:15:17 sunpoet Exp $
#

PORTNAME=	XML-Xerces
PORTVERSION=	2.7.0
PORTREVISION?=	1
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-
DISTNAME=	${PORTNAME}-${PORTVERSION}-0

MAINTAINER=	perl@FreeBSD.org
COMMENT=	The Perl API to the Apache project's Xerces XML parser

BUILD_DEPENDS=	swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS=	xerces-c.27:${PORTSDIR}/textproc/xerces-c2

MAKE_JOBS_UNSAFE=	yes

USE_GMAKE=	yes
PERL_CONFIGURE=	yes
CONFIGURE_ENV=	XERCES_LIB="${LOCALBASE}/lib" \
		XERCES_INCLUDE="${LOCALBASE}/include" \
		XERCES_DEVEL="yes" \
		CXX="${CXX}" \

.include <bsd.port.mk>
