# -*- 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 70038 2010-07-27 17:21:31Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           cmake 1.0

name                json_spirit
version             4.03
revision            1
categories          devel
platforms           darwin

maintainers         uwe-arzt.de:mail

description         JSON Spirit is a C++ library that reads and writes JSON files or streams.
long_description    JSON is a text file format similar to XML, but less verbose. It has been\
                    called XML lite. This article describes JSON Spirit, a C++ library\
                    that reads and writes JSON files or streams. It is written using the\
                    Boost Spirit parser generator. If you are already using Boost, you can\
                    use JSON Spirit without any additional dependencies.

homepage            http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx

# this is a mirror on my homepage, because codeproject requires an login
# the author allows the mirror (and also the license)
master_sites        http://www.uwe-arzt.de/files/
distname            ${name}_v${version}
use_zip             yes
patchfiles          CMakeLists.txt.patch
# override patch.pre_args since it defaults to -p0
patch.pre_args     -p1

checksums           md5 6ab3a269488392e840f9dfffb67882f1 \
                    sha1 22f8a2a37e367ba07f6c1e56316a4ae35bb798b1

depends_lib         port:boost
