2012-12-31 10:24:46 +01:00
|
|
|
# $NetBSD: Makefile,v 1.43 2012/12/31 09:24:46 obache Exp $
|
2001-01-13 17:38:06 +01:00
|
|
|
|
2011-02-23 09:31:13 +01:00
|
|
|
DISTNAME= xerces-c-3.1.1
|
2001-01-13 17:38:06 +01:00
|
|
|
CATEGORIES= textproc
|
2011-02-23 09:31:13 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=xerces/c/3/sources/}
|
2001-01-13 17:38:06 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2011-02-23 09:31:13 +01:00
|
|
|
HOMEPAGE= http://xerces.apache.org/
|
2003-07-21 19:27:24 +02:00
|
|
|
COMMENT= Validating C++ XML parser with DOM and SAX support
|
2011-02-23 09:31:13 +01:00
|
|
|
LICENSE= apache-2.0
|
2003-06-23 09:52:39 +02:00
|
|
|
|
2004-02-11 05:06:04 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2004-02-18 21:30:31 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2011-02-23 09:31:13 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= gmake
|
2011-02-23 09:32:41 +01:00
|
|
|
PKGCONFIG_OVERRIDE= xerces-c.pc.in
|
2011-02-23 09:31:13 +01:00
|
|
|
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
|
|
|
|
2003-06-23 09:52:39 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2004-02-11 13:20:03 +01:00
|
|
|
|
2011-10-12 19:43:14 +02:00
|
|
|
PLIST_VARS+= iconv gnuiconv macunicode
|
2004-02-11 05:06:04 +01:00
|
|
|
|
2007-11-03 05:29:13 +01:00
|
|
|
.if ${OPSYS} == "Darwin"
|
2011-02-23 09:31:13 +01:00
|
|
|
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
|
2011-02-23 09:31:13 +01:00
|
|
|
PLIST.gnuiconv= yes
|
2011-10-12 19:43:14 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-transcoder-gnuiconv
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2012-12-31 10:24:46 +01:00
|
|
|
LDFLAGS+= -liconv
|
2007-11-03 05:29:13 +01:00
|
|
|
.endif
|
2001-01-13 17:38:06 +01:00
|
|
|
|
2011-02-23 09:31:13 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2001-01-13 17:38:06 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|