# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 67082 2010-04-28 20:18:34Z snc@macports.org $

PortSystem          1.0

name                xercesc3
conflicts           xercesc
version             3.1.1
categories          textproc xml shibboleth
maintainers         snc scantor
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      --disable-static \
                    --enable-netaccessor-socket \
                    --enable-transcoder-icu \
                    --enable-msgloader-icu \
                    --with-icu=${prefix}
checksums           md5     6a8ec45d83c8cfb1584c5a5345cb51ae \
                    sha1    177ec838c5119df57ec77eddec9a29f7e754c8b2 \
                    rmd160  bbb7ceac470db901d77926cdf21a254df0d8d1db
platforms           darwin

depends_lib         port:icu

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