pkgsrc/textproc/libxml2/Makefile
xtraeme b5f1c61b2f Upgrade libxml2 to 2.6.7.
2.6.7: Feb 23 2004:
   - documentation: tutorial updates (John Fleck), benchmark results
   - xmlWriter: updates and fixes (Alfred Mickautsch, Lucas Brasilino)
   - XPath optimization (Petr Pajas)
   - DTD ID handling optimization
   - bugfixes: xpath number with  > 19 fractional (William Brack), push
    mode with unescaped '>' characters, fix xmllint --stream --timing, fix
    xmllint --memory --stream memory usage, xmlAttrSerializeTxtContent
    handling NULL, trying to fix Relax-NG/Perl interface.
   - python: 2.3 compatibility, whitespace fixes (Malcolm Tredinnick)
   - Added relaxng option to xmllint --shell
2004-02-23 21:49:05 +00:00

47 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.50 2004/02/23 21:49:05 xtraeme Exp $
DISTNAME= libxml2-${LIBXML_VERSION}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.6/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://xmlsoft.org/
COMMENT= XML parser library from the GNOME project
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE= libxml-2.0.pc.in
LIBXML_VERSION= 2.6.7
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
# NetBSD-sparc64-1.6*'s f77 makes configure failing and as f77 is not
# needed for this package the following does no harm on other platforms.
FC= ${FALSE}
F77= ${FALSE}
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/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"