# -*- 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 148225 2016-04-30 16:45:26Z cal@macports.org $ PortSystem 1.0 PortGroup github 1.0 PortGroup cmake 1.0 github.setup rizsotto Bear 2.1.5 checksums rmd160 52944c05bb90a2cde5b4903f4401c0cb87d251b1 \ sha256 4daa08288c20d0f995d34710e4f70e0df59e8fd7ba4e69b0c3bb279daa17ed2e maintainers cal openmaintainer license GPL-3+ platforms darwin categories devel description \ Bear is a tool to generate compilation database for clang tooling. long_description ${description} \ The JSON compilation database is used in clang project to provide \ information how a single compilation unit was processed. When that is \ available then it is easy to re-run the compilation with different \ programs. depends_lib-append port:python27 post-patch { reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|g" \ ${worksrcpath}/bear/main.py.in } cmake.out_of_source yes