# -*- 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

PortGroup           github 1.0

github.setup        zeromq cppzmq 7faa9b061843fcbceb7ed94984ee8f20284ee759
version             20160919
checksums           rmd160 98f9c26db0d2655805cb78be8b00eb1370a26808 \
                    sha256 0ad567bca5bb96552829804efc64a1602eef384921211bd05dd8541fd2eb1c80

maintainers         michaelld openmaintainer
platforms           darwin
categories          devel sysutils net
license             Permissive

description         High-level C++ Binding for 0MQ
long_description    ${description}

depends_lib-append  path:lib/libzmq.dylib:zmq

# this is just a header; skip all steps and manually do destroot

supported_archs     noarch

use_configure no

build {}

destroot {
    xinstall -m 755 -d ${destroot}${prefix}/include
    copy ${worksrcpath}/zmq.hpp ${destroot}${prefix}/include
}