# -*- 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$ PortSystem 1.0 name log4cpp version 1.1.1 set branch [join [lrange [split ${version} .] 0 1] .] categories devel platforms darwin license LGPL-2.1 maintainers michaelld openmaintainer description configurable logging for C++ long_description Log4cpp is library of C++ classes for flexible logging to \ files, syslog, IDSA and other destinations. It is modeled \ after the Log4j Java library, staying as close to their \ API as is reasonable. homepage http://log4cpp.sourceforge.net/ master_sites sourceforge:project/log4cpp/log4cpp-${branch}.x%20%28new%29/log4cpp-${branch} checksums rmd160 269c90d9739de2ed07ff05ad6f2929cd269744a8 \ sha256 35abf332630a6809c969276b1d60b90c81a95daf24c86cfd7866ffef72f9bed0 depends_build port:autoconf \ port:automake \ port:libtool worksrcdir ${name} post-extract { move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac } patchfiles patch-autogen.sh.diff \ patch-autoconf-1.13.diff use_autoconf yes autoconf.cmd ${worksrcpath}/autogen.sh # docs do not honor DESTDIR; keep them disabled for now configure.args --disable-doxygen \ --disable-dot \ --disable-html-docs \ --disable-latex-docs # remove top-level include path, such that internal headers are used # instead of any already-installed ones. configure.cppflags-delete -I${prefix}/include # remove top-level library path, such that internal libraries are used # instead of any already-installed ones. configure.ldflags-delete -L${prefix}/lib # patch dynamically created libtool to remove "-undefine dynamic_lookup" post-configure { reinplace "s@^allow_undefined_flag=.*@allow_undefined_flag=@g" \ ${worksrcpath}/libtool } livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}