# -*- 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$ PortSystem 1.0 PortGroup cmake 1.0 PortGroup github 1.0 github.setup Andersbakken rtags 2.3 v revision 1 categories devel platforms darwin license GPL-3+ maintainers sean openmaintainer description A c/c++ client/server indexer for c/c++/objc\[++\] with \ integration for Emacs based on clang long_description ${description} # just pick the newest version of clang (make sure to update below) depends_lib-append port:clang-3.8 # Fetch from git instead of distfile because it needs submodules fetch.type git post-fetch { system -W "${worksrcpath}" "git submodule update --init" } depends_lib-append port:zlib cmake.out_of_source yes # this seems to confuse rtags custom path for cmake modules configure.args-delete \ -DCMAKE_MODULE_PATH=${prefix}/share/cmake/Modules configure.args-append \ -DCMAKE_EXPORT_COMPILE_COMMANDS=1 \ -DLIBCLANG_LLVM_CONFIG_EXECUTABLE=${prefix}/bin/llvm-config-mp-3.8 \ -DPREFER_EXTERNAL_ZLIB:BOOL=ON