mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
45 lines
1.4 KiB
Tcl
45 lines
1.4 KiB
Tcl
# -*- 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
|
|
|
|
github.setup protobuf-c protobuf-c 1.5.2 v
|
|
github.tarball_from archive
|
|
revision 0
|
|
|
|
checksums sha256 cea46eeaa19c52924938b582c5d128a6ed3b6fb5b3f4677476a1781cc06e03f3 \
|
|
rmd160 d24251b296024b69fda25e05fa2dd9b2401ce406 \
|
|
size 137476
|
|
|
|
categories devel
|
|
license BSD
|
|
maintainers nomaintainer
|
|
description Pure C code generator and runtime libraries for Protocol Buffers
|
|
|
|
long_description \
|
|
protobuf-c is a C implementation of the Google \
|
|
Protocol Buffers data serialization format. It \
|
|
includes libprotobuf-c, a pure C library that \
|
|
implements protobuf encoding and decoding, and \
|
|
protoc-c, a code generator that converts Protocol \
|
|
Buffer .proto files to C descriptor code, based on the \
|
|
original protoc.
|
|
|
|
use_autoreconf yes
|
|
|
|
depends_build-append \
|
|
port:pkgconfig
|
|
|
|
depends_lib-append \
|
|
port:protobuf3-cpp
|
|
|
|
compiler.cxx_standard 2014
|
|
|
|
# error: constexpr constructor never produces a constant expression [-Winvalid-constexpr]
|
|
compiler.blacklist-append {clang < 900}
|
|
|
|
configure.args --disable-silent-rules
|
|
|
|
test.run yes
|
|
test.target check
|