Annotation of pkgsrc/textproc/libxml2/Makefile, Revision 1.97
1.97 ! drochner 1: # $NetBSD: Makefile,v 1.96 2008/10/09 19:20:36 wiz Exp $
1.1 rh 2:
1.97 ! drochner 3: DISTNAME= libxml2-2.7.2
1.1 rh 4: CATEGORIES= textproc
1.93 dsainty 5: MASTER_SITES= ftp://xmlsoft.org/libxml2/ \
6: http://xmlsoft.org/sources/
1.94 wiz 7: #MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.7/}
1.1 rh 8:
1.55 recht 9: MAINTAINER= recht@NetBSD.org
1.1 rh 10: HOMEPAGE= http://xmlsoft.org/
1.31 skrll 11: COMMENT= XML parser library from the GNOME project
1.1 rh 12:
1.49 minskim 13: PKG_INSTALLATION_TYPES= overwrite pkgviews
1.84 joerg 14: PKG_DESTDIR_SUPPORT= user-destdir
1.49 minskim 15:
1.73 recht 16: USE_TOOLS+= gmake
1.89 jlam 17: USE_FEATURES= glob
1.1 rh 18: USE_LIBTOOL= yes
1.48 jmmv 19: PKGCONFIG_OVERRIDE= libxml-2.0.pc.in
1.14 martti 20:
1.3 jlam 21: GNU_CONFIGURE= yes
1.16 jlam 22: CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
1.52 jmmv 23: CONFIGURE_ARGS+= --with-html-subdir=libxml2
1.12 martti 24: CONFIGURE_ARGS+= --without-python
1.24 jmmv 25:
1.96 wiz 26: .include "options.mk"
1.90 drochner 27:
1.36 jdolecek 28: # Don't use threads - it's not apparent whether it's necessary or not,
29: # and this library needs to be usable by non-threaded applications too
1.97 ! drochner 30: #CONFIGURE_ARGS+= --without-threads
1.36 jdolecek 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.45 jlam 47: .include "../../devel/zlib/buildlink3.mk"
48: .include "../../converters/libiconv/buildlink3.mk"
1.22 jmmv 49: .include "../../textproc/xmlcatmgr/catalogs.mk"
1.16 jlam 50:
1.1 rh 51: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>