# -*- 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: Portfile 120282 2014-05-21 19:15:01Z michaelld@macports.org $

PortSystem          1.0

PortGroup           github 1.0

github.setup        zeromq cppzmq ee47ae4cddc304741526c9bb2035f98c3274e0ec

version             20140321

checksums           rmd160 ba19aa3d01682640f0d0df64ed04c022ea856297 \
                    sha256 54310b318d056496c0735f76c44797538ab11bcb9187cbe5e2ca8964e8a1628a

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
}
