b686dd9180
pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
37 lines
932 B
Makefile
37 lines
932 B
Makefile
# $NetBSD: Makefile,v 1.52 2020/01/18 23:35:35 rillig Exp $
|
|
|
|
DISTNAME= xerces-c-3.2.2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=xerces/c/3/sources/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://xerces.apache.org/
|
|
COMMENT= Validating C++ XML parser with DOM and SAX support
|
|
LICENSE= apache-2.0
|
|
|
|
USE_LANGUAGES= c c++11
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
PKGCONFIG_OVERRIDE= xerces-c.pc.in
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --without-curl
|
|
CONFIGURE_ARGS+= --without-icu
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PLIST_VARS+= iconv gnuiconv macunicode
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
PLIST.macunicode= yes
|
|
.elif ${OPSYS} == "SunOS"
|
|
PLIST.iconv= yes
|
|
CONFIGURE_ARGS+= --enable-transcoder-iconv
|
|
.else
|
|
PLIST.gnuiconv= yes
|
|
CONFIGURE_ARGS+= --enable-transcoder-gnuiconv
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
LDFLAGS+= -liconv
|
|
.endif
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|