# $FreeBSD: head/devel/ccls/Makefile 559756 2020-12-31 17:16:06Z ygy $ PORTNAME= ccls DISTVERSION= 0.20201219 CATEGORIES= devel MAINTAINER= khng300@gmail.com COMMENT= C/C++/ObjC language server LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rapidjson>=1.1.0_4:devel/rapidjson LIB_DEPENDS= libclang-cpp.so:devel/llvm${LLVM_DEFAULT} USES= cmake compiler:c++17-lang localbase USE_GITHUB= yes GH_ACCOUNT= MaskRay CMAKE_ARGS= -DCCLS_VERSION:STRING="${DISTVERSION}" \ -DClang_DIR:PATH="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/clang" \ -DLLVM_DIR:PATH="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/llvm" CXXFLAGS+= -DNDEBUG PLIST_FILES= bin/ccls PORTDOCS= * OPTIONS_DEFINE= DOCS DOCS_MASTER_SITES= LOCAL/tobik:docs DOCS_DISTFILES= MaskRay-ccls.wiki-20190903.tar.gz:docs post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKDIR}/ccls.wiki && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include