# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 # https://trac.macports.org/ticket/71310 PortGroup deprecated 1.0 deprecated.upstream_support no name xercesc3 # Minor updates will require rev-bumping dependents version 3.3.0 revision 1 categories textproc xml shibboleth maintainers {snc @nerdling} {scantor @scantor} openmaintainer license Apache-2 description an XML parser long_description Xerces-C++ is a validating XML parser written in \ a portable subset of C++. Xerces-C++ makes it \ easy to give your application the ability to read \ and write XML data. A shared library is provided \ for parsing, generating, manipulating, and \ validating XML documents. homepage https://xerces.apache.org/xerces-c/ master_sites apache:xerces/c/3/sources/ distname xerces-c-${version} use_bzip2 yes patchfiles ICUMsgLoader.cpp.patch configure.args --disable-silent-rules \ --enable-static \ --enable-netaccessor-socket \ --enable-transcoder-icu \ --enable-msgloader-icu \ --with-icu=${prefix} checksums rmd160 7b9690b9b9b74a27aaf291615037df124f8a3554 \ sha256 ef752578587e26013a933f16d76305c9b43ca32f869e3d3426986e03efb01d64 \ size 5804933 depends_lib path:lib/pkgconfig/icu-uc.pc:icu compiler.cxx_standard 2011 post-destroot { # Rename the bin programs with a prefix to avoid conflicts foreach f [glob -tails -directory ${destroot}${prefix}/bin *] { move ${destroot}${prefix}/bin/${f} ${destroot}${prefix}/bin/Xerces${f} } } livecheck.type regex livecheck.url https://www.apache.org/dist/xerces/c/3/sources/ livecheck.regex xerces-c-(\\d+\\.\\d+\\.\\d+)