blob: 2220473d697d6d0c1e90e7c53d3bc85b3e1a2622 (
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
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.25 2003/03/26 14:55:12 jmmv Exp $
DISTNAME= libxml2-${LIBXML_VERSION}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.5/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://xmlsoft.org/
COMMENT= XML parser library for GNOME
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.5
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
CONFIGURE_ARGS+= --with-threads
MAKE_ENV+= PAX=${PAX:Q}
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/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|