source: trunk/dports/devel/log4cpp/Portfile

Last change on this file was 114075, checked in by michaelld@…, 4 years ago

log4cpp: update to 1.1.1.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- 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
2# $Id: Portfile 114075 2013-11-28 03:40:36Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                log4cpp
7version             1.1.1
8set branch          [join [lrange [split ${version} .] 0 1] .]
9categories          devel
10platforms           darwin
11license             LGPL-2.1
12maintainers         michaelld openmaintainer
13
14description         configurable logging for C++
15
16long_description    Log4cpp is library of C++ classes for flexible logging to \
17                    files, syslog, IDSA and other destinations. It is modeled \
18                    after the Log4j Java library, staying as close to their \
19                    API as is reasonable.
20
21homepage            http://log4cpp.sourceforge.net/
22master_sites        sourceforge:project/log4cpp/log4cpp-${branch}.x%20%28new%29/log4cpp-${branch}
23
24checksums           rmd160 269c90d9739de2ed07ff05ad6f2929cd269744a8 \
25                    sha256 35abf332630a6809c969276b1d60b90c81a95daf24c86cfd7866ffef72f9bed0
26
27depends_build       port:autoconf \
28                    port:automake \
29                    port:libtool
30
31worksrcdir          ${name}
32
33post-extract {
34    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
35}
36
37patchfiles          patch-autogen.sh.diff \
38                    patch-autoconf-1.13.diff
39
40use_autoconf        yes
41autoconf.cmd        ${worksrcpath}/autogen.sh
42
43# docs do not honor DESTDIR; keep them disabled for now
44
45configure.args      --disable-doxygen \
46                    --disable-dot \
47                    --disable-html-docs \
48                    --disable-latex-docs
49
50# remove top-level include path, such that internal headers are used
51# instead of any already-installed ones.
52
53configure.cppflags-delete -I${prefix}/include
54
55# remove top-level library path, such that internal libraries are used
56# instead of any already-installed ones.
57
58configure.ldflags-delete -L${prefix}/lib
59
60# patch dynamically created libtool to remove "-undefine dynamic_lookup"
61
62post-configure {
63    reinplace "s@^allow_undefined_flag=.*@allow_undefined_flag=@g" \
64        ${worksrcpath}/libtool
65}
66
67livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.