| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/textproc/xerces-c3/ |
Upload File : |
PORTNAME= xerces-c
PORTVERSION= 3.2.3
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>