source: trunk/dports/sysutils/log4shib/Portfile

Last change on this file was 133049, checked in by scantor@…, 3 years ago

Update to new version

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 133049 2015-02-19 00:37:03Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                log4shib
7version             1.0.9
8categories          sysutils shibboleth devel
9license             LGPL-2.1
10maintainers         snc scantor
11description         configurable logging for C++, fork of log4cpp
12long_description    Log4shib is library of C++ classes for flexible logging to \
13                    files, syslog, IDSA and other destinations. It is modeled \
14                    after the Log4j Java library, staying as close to their \
15                    API as is reasonable.
16homepage            http://shibboleth.net/
17
18platforms           darwin
19
20master_sites        http://shibboleth.net/downloads/log4shib/${version}/
21
22checksums           rmd160  c8c06cf9ba347510a377a3867ffd7a6acc6859cc \
23                    sha256  b34cc90f50962cc245a238b472f72852732d32a9caf9a10e0244d0e70a311d6d
24
25configure.args      --disable-doxygen \
26                    --disable-dot \
27                    --disable-html-docs \
28                    --disable-latex-docs
29
30variant universal {
31    depends_lib-append  port:libtool
32}
33
34post-configure {
35    if {[variant_isset universal]} {
36        file copy -force ${prefix}/bin/glibtool ${worksrcpath}/libtool
37    }
38}
39
40post-build {
41    if {[variant_isset universal]} {
42        foreach arch ${universal_archs} {
43            reinplace "s|\-arch ${arch}||" \
44                ${worksrcpath}/log4shib-config \
45                ${worksrcpath}/log4shib.pc
46        }
47    }
48}
49
50livecheck.type      regex
51livecheck.url       http://shibboleth.net/downloads/log4shib/latest/
52livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)
Note: See TracBrowser for help on using the repository browser.