pkgsrc/textproc/p5-XML-Xerces/Makefile
2004-11-12 00:24:14 +00:00

32 lines
857 B
Makefile

# $NetBSD: Makefile,v 1.8 2004/11/12 00:32:23 seb Exp $
#
DISTNAME= XML-Xerces-2.3.0-4
PKGNAME= p5-${DISTNAME:C/-([0-9]*)$/.\1/}
PKGREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= http://www.apache.org/dist/xml/xerces-p/
MAINTAINER= manu@NetBSD.org
HOMEPAGE= http://xml.apache.org/xerces-p/
COMMENT= Validating XML parser API for Perl
CONFLICTS+= XML-Xerces-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
USE_GNU_TOOLS+= make
PERL5_REQD+= 5.6.0
PERL5_PACKLIST= ${PERL5_SITEARCH}/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_DEPENDS.xerces-c= xerces-c>=2.3.0
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"