# -*- 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
# $Id: Portfile 87108 2011-11-10 20:32:24Z ryandesign@macports.org $

PortSystem          1.0

name                xercesc3
conflicts           xercesc
version             3.1.1
revision            4
categories          textproc xml shibboleth
maintainers         snc scantor
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            http://xerces.apache.org/xerces-c/
master_sites        apache:xerces/c/3/sources/
distname            xerces-c-${version}
configure.args      --enable-static \
                    --enable-netaccessor-socket \
                    --enable-transcoder-icu \
                    --enable-msgloader-icu \
                    --with-icu=${prefix}
checksums           rmd160  bbb7ceac470db901d77926cdf21a254df0d8d1db \
                    sha256  a42785f71e0b91d5fd273831c87410ce60a73ccfdd207de1b805d26d44968736

platforms           darwin

depends_lib         port:icu

livecheck.type      regex
livecheck.url       http://www.apache.org/dist/xerces/c/3/sources/
livecheck.regex     xerces-c-(\\d+\\.\\d+\\.\\d+)
