# -*- 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 55860 2009-08-20 13:23:24Z snc@macports.org $

PortSystem          1.0

name                xercesc3
version             3.0.1
revision            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 \
                    --with-icu=${prefix}
checksums           sha1 71e4efee5397dd45d6bafad34bf3bc766bc2a085
platforms           darwin

depends_lib         port:icu

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