# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4
# $Id: Portfile 118692 2014-04-08 09:44:06Z g5pw@macports.org $

PortSystem          1.0
PortGroup           github 1.0
PortGroup           cmake 1.0

github.setup        draios sysdig 0.1.77
maintainers         g5pw openmaintainer
categories          sysutils
description         ${name} is an open source system-level exploration and troubleshooting tool.
long_description    Sysdig captures system calls and other system level events \
                    using a linux kernel facility called tracepoints, which \
                    means much less overhead than strace. It then "packetizes" \
                    this information, so that you can save it into trace files \
                    and filter it, a bit like you would do with tcpdump. This \
                    makes it very flexible to explore what processes are doing. \
                    Sysdig is also packed with a set of scripts that make it \
                    easier to extract useful information and do troubleshooting. \
                    \n\nNOTE: currently only the Linux version of sysdig is capable \
                    of capturing events and doing live analysis. On the other \
                    platforms, you will be limited to working with the trace \
                    files generated by a Linux installation of sysdig.
platforms           darwin
license             GPL-2
homepage            http://www.sysdig.org

checksums           rmd160  ded2fe55f3e587e429dff45c2c75c5233a067fce \
                    sha256  aec09deb75112e4d40692b9d3fcf48e7acb154fd55d5bba8d8752b59f2489ca3

depends_lib-append  port:luajit \
                    port:jsoncpp

configure.args-append -DUSE_BUNDLED_LUAJIT=OFF \
                    -DUSE_BUNDLED_JSONCPP=OFF
