Annotation of pkgsrc/textproc/libxml2/Makefile, Revision 1.84
1.84 ! joerg 1: # $NetBSD: Makefile,v 1.83 2006/10/30 20:57:30 drochner Exp $
1.1 rh 2:
1.83 drochner 3: DISTNAME= libxml2-2.6.27
1.1 rh 4: CATEGORIES= textproc
1.83 drochner 5: MASTER_SITES= ftp://xmlsoft.org/libxml2/
6: #MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.6/}
1.1 rh 7:
1.55 recht 8: MAINTAINER= recht@NetBSD.org
1.1 rh 9: HOMEPAGE= http://xmlsoft.org/
1.31 skrll 10: COMMENT= XML parser library from the GNOME project
1.1 rh 11:
1.49 minskim 12: PKG_INSTALLATION_TYPES= overwrite pkgviews
1.84 ! joerg 13: PKG_DESTDIR_SUPPORT= user-destdir
1.49 minskim 14:
1.73 recht 15: USE_TOOLS+= gmake
1.1 rh 16: USE_LIBTOOL= yes
1.48 jmmv 17: PKGCONFIG_OVERRIDE= libxml-2.0.pc.in
1.14 martti 18:
1.3 jlam 19: GNU_CONFIGURE= yes
1.16 jlam 20: CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
1.52 jmmv 21: CONFIGURE_ARGS+= --with-html-subdir=libxml2
1.12 martti 22: CONFIGURE_ARGS+= --without-python
1.24 jmmv 23:
1.36 jdolecek 24: # Don't use threads - it's not apparent whether it's necessary or not,
25: # and this library needs to be usable by non-threaded applications too
26: CONFIGURE_ARGS+= --without-threads
27:
1.41 seb 28: # NetBSD-sparc64-1.6*'s f77 makes configure failing and as f77 is not
29: # needed for this package the following does no harm on other platforms.
1.75 rillig 30: CONFIGURE_ENV+= F77=${FALSE:Q}
1.41 seb 31:
1.44 xtraeme 32: MAKE_ENV+= PAX=${PAX:Q}
1.32 wiz 33:
1.82 rillig 34: .include "../../mk/bsd.prefs.mk"
35:
36: .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
37: USE_TOOLS+= perl
1.44 xtraeme 38: TEST_TARGET= check
1.82 rillig 39: .endif
1.22 jmmv 40:
1.65 recht 41: SUBST_CLASSES+= cat
42: SUBST_STAGE.cat= pre-configure
43: SUBST_FILES.cat= catalog.c xmlcatalog.c
44: SUBST_SED.cat= -e "s,@@SGML_DEFAULT_CATALOG@@,${SGML_DEFAULT_CATALOG},g"
45: SUBST_SED.cat+= -e "s,@@XML_DEFAULT_CATALOG@@,${XML_DEFAULT_CATALOG},g"
1.1 rh 46:
1.81 schwarz 47: .if !empty(LOWER_OPSYS:Mirix5*)
48: # needs glob.h
49: . include "../../pkgtools/libnbcompat/buildlink3.mk"
50: SUBST_CLASSES+= glob_h
51: SUBST_STAGE.glob_h= post-patch
52: SUBST_FILES.glob_h= runtest.c
53: SUBST_SED.glob_h= -e "s,<glob\.h>,<nbcompat/glob.h>,"
54: .endif
1.45 jlam 55: .include "../../devel/zlib/buildlink3.mk"
56: .include "../../converters/libiconv/buildlink3.mk"
1.22 jmmv 57: .include "../../textproc/xmlcatmgr/catalogs.mk"
1.16 jlam 58:
1.1 rh 59: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>