# -*- 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

name                log4cplus
version             1.1.1
categories          devel
maintainers         randomhacks.net:macports
description         Logging library for C++
long_description    log4cplus is a third-party reimplementation of log4j \
                    for C++, with fewer dependencies than the official \
                    log4cxx port.
homepage            http://log4cplus.sourceforge.net/
platforms           darwin
master_sites        sourceforge
use_xz              yes

checksums           md5     e7844ba5c18073d9936e14def184d60a \
                    sha1    8b8223cc7840f78c28a4deb2a819b86dc18ea2ad \
                    rmd160  1a54c794eedec881fceb00f36d80d840f4f00355

# macports libtool allows linking against libc++, the libtool in the distribution may not
depends_build       port:libtool
build.args          LIBTOOL=${prefix}/bin/glibtool

variant cplusplus11 description {build with c++11 support} {
        configure.cxxflags-append -std=c++11
}