# -*- 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 89890 2012-02-14 05:17:24Z dports@macports.org $

PortSystem          1.0
PortGroup           github 1.0

github.setup        ruediger libbert 0.0.1 libbert-
categories          devel
platforms           darwin
maintainers         uwe-arzt.de:mail openmaintainer
license             zlib

description         LibBERT is a BERT (Binary ERlang Term) library for C++ and C.
long_description    BERT is a format for encoding binary data. You can think of it as JSON \
                    for binary formats. BERT is based on Erlang’s External Format. \
                    bert.h is the C API (you need to link -lbert_capi!). \
                    bert.hpp is the C++ API (header only).

fetch.type          git
git.branch          c552c0644301f8069b63b7d122b76fe8d0317d46

depends_lib         port:boost

depends_build       port:cmake

configure.pre_args  -DCMAKE_INSTALL_PREFIX=${prefix}
