# $NetBSD: Makefile,v 1.38 2003/11/02 07:02:32 xtraeme Exp $ DISTNAME= libxml2-${LIBXML_VERSION} CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.5/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= xtraeme@NetBSD.org HOMEPAGE= http://xmlsoft.org/ COMMENT= XML parser library from the GNOME project USE_BUILDLINK2= yes USE_GMAKE= yes USE_LIBTOOL= yes LIBTOOL_OVERRIDE= ${WRKSRC}/libtool PKGCONFIG_OVERRIDE= ${WRKSRC}/libxml-2.0.pc.in LIBXML_VERSION= 2.5.11 PLIST_SUBST+= LIBXML_VERSION=${LIBXML_VERSION} GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv} CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc CONFIGURE_ARGS+= --without-python # Don't use threads - it's not apparent whether it's necessary or not, # and this library needs to be usable by non-threaded applications too CONFIGURE_ARGS+= --without-threads MAKE_ENV+= PAX=${PAX:Q} TEST_TARGET= check CFLAGS+= -DXML_SGML_DEFAULT_CATALOG=\"\\\"${SGML_DEFAULT_CATALOG}\\\"\" CFLAGS+= -DXML_XML_DEFAULT_CATALOG=\"\\\"${XML_DEFAULT_CATALOG}\\\"\" .include "../../devel/zlib/buildlink2.mk" .include "../../converters/libiconv/buildlink2.mk" .include "../../textproc/xmlcatmgr/catalogs.mk" .include "../../mk/bsd.pkg.mk"