pkgsrc/textproc/xerces-c/Makefile

40 lines
973 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.43 2012/12/31 09:24:46 obache Exp $
DISTNAME= xerces-c-3.1.1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_APACHE:=xerces/c/3/sources/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xerces.apache.org/
COMMENT= Validating C++ XML parser with DOM and SAX support
LICENSE= apache-2.0
PKG_INSTALLATION_TYPES= overwrite pkgviews
2004-02-18 21:30:31 +01:00
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake
2011-02-23 09:32:41 +01:00
PKGCONFIG_OVERRIDE= xerces-c.pc.in
GNU_CONFIGURE= yes
2011-10-12 19:43:14 +02:00
CONFIGURE_ARGS+= --without-curl
CONFIGURE_ARGS+= --without-icu
2009-01-18 11:22:47 +01:00
.include "../../mk/bsd.prefs.mk"
2011-10-12 19:43:14 +02:00
PLIST_VARS+= iconv gnuiconv macunicode
2007-11-03 05:29:13 +01:00
.if ${OPSYS} == "Darwin"
PLIST.macunicode= yes
2011-10-12 19:43:14 +02:00
.elif ${OPSYS} == "SunOS"
PLIST.iconv= yes
CONFIGURE_ARGS+= --enable-transcoder-iconv
2007-11-03 05:29:13 +01:00
.else
PLIST.gnuiconv= yes
2011-10-12 19:43:14 +02:00
CONFIGURE_ARGS+= --enable-transcoder-gnuiconv
.include "../../converters/libiconv/buildlink3.mk"
LDFLAGS+= -liconv
2007-11-03 05:29:13 +01:00
.endif
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"