# $Id: Portfile 57453 2009-09-11 08:17:15Z ryandesign@macports.org $

PortSystem 1.0

name		protobuf-c
version     0.10
categories	devel
maintainers	landonf openmaintainer
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.


homepage	http://code.google.com/p/protobuf-c/
master_sites	googlecode

checksums   md5     588006ea06a1a12855881362b8e29bff \
            sha1    1878203fea6808ecf2825d9fb37b49f669e4b8cc \
            rmd160  ac2a38fef1e5771db97e73eda86d8b70f6f978fb

platforms	darwin

depends_lib	port:protobuf-cpp

use_autoconf    yes
patch_sites     http://www.dcreager.net/ports/protobuf-c/
patchfiles      protobuf-c-issue-20.patch

test.run	yes
test.target	check
