# -*- 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
PortGroup           github 1.0
PortGroup           cmake 1.1

github.setup        mfontanini libtins 4.5 v
github.tarball_from archive
revision            0
categories          devel net
license             BSD
maintainers         {l2dy @l2dy} openmaintainer
description         high-level, multiplatform C++ network packet sniffing and crafting library
long_description    ${name} is a {*}${description}.
homepage            https://libtins.github.io/

checksums           rmd160  c78a5b19044751f4fb3708f36d5def88cb595f35 \
                    sha256  6ff5fe1ada10daef8538743dccb9c9b3e19d05d028ffdc24838e62ff3fc55841 \
                    size    376460

compiler.cxx_standard 2011

configure.args-append \
                    -DLIBTINS_ENABLE_CXX11=1

depends_lib         port:libpcap \
                    path:lib/libssl.dylib:openssl
