freebsd-ports/textproc/xerces-c3/Makefile
Palle Girgensohn b4e7dc9bf4 security/shibboleth-sp: update to 3.4.0
This is a minor update containing a new setting suggested by a
contributor (thus the unplanned minor version change) controlling
retries when TCP connections to shibd are used. The other changes are
minimal in nature.

Update the toolchain as well:

devel/xmltooling
textproc/xerces-c3

and bump PORTREVISION for security/opensaml due to dependencies'
updates.

Release notes:	https://wiki.shibboleth.net/confluence/display/SP3/ReleaseNotes
2022-11-07 18:03:06 +01:00

44 lines
1 KiB
Makefile

PORTNAME= xerces-c
PORTVERSION= 3.2.4
CATEGORIES= textproc
MASTER_SITES= APACHE/xerces/c/3/sources
PKGNAMESUFFIX= 3
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Validating XML parser from the Apache XML Project
WWW= https://xerces.apache.org/xerces-c/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler cpe iconv libtool pathfix
CONFIGURE_ARGS= --enable-netaccessor-socket \
--enable-transcoder-iconv \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
MAKE_ENV= XERCESCROOT=${WRKSRC}
TEST_TARGET= check
USE_LDCONFIG= yes
PLIST_SUB= MAJOR_VER=${PORTVERSION:R}
CPE_PRODUCT= xerces-c++
CPE_VENDOR= apache
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
PLIST_SUB+= MUTEXMGR="PosixMutexMgr"
.else
PLIST_SUB+= MUTEXMGR="StdMutexMgr"
.endif
post-patch:
@${REINPLACE_CMD} -e "s,@DEFS@,& -D__STDC_LIMIT_MACROS," ${WRKSRC}/src/Makefile.in
post-install:
${LN} -s libxerces-c-${PORTVERSION:R}.so ${STAGEDIR}${PREFIX}/lib/libxerces-c.so.${PORTVERSION:R:R}
.include <bsd.port.post.mk>