# $Id$

PortSystem 1.0
PortGroup       github 1.0

name		protobuf-c
version		1.1.0
categories	devel
license		Apache-2
maintainers	nomaintainer
description	Pure C code generator and runtime libraries for Protocol Buffers

long_description \
        This package provides a code generator and runtime libraries \
        to use Protocol Buffers from pure C (not C++). \
        \
        Library ABI and API compatibility changes are expected until \
        version 1.0 is released.


github.setup    protobuf-c protobuf-c ${version} v
github.tarball_from releases
homepage        https://github.com/protobuf-c/protobuf-c
master_sites    https://github.com/protobuf-c/protobuf-c/releases/download/v${version}

checksums       sha1    20bfcf3663ae56b125a5bfc3b4dca8c7f0ef1e48 \
                sha256  9a973fc04aac003f9cf2b5a90ac4b8fa294cacb4e3f0796d3b5a789a5ad46c07

platforms	darwin

depends_lib	port:protobuf-cpp
depends_build   port:pkgconfig

test.run	yes
test.target	check