svn commit: r483300 - head/devel/ccls
Tobias Kortkamp
tobik at FreeBSD.org
Sun Oct 28 14:43:13 UTC 2018
Author: tobik
Date: Sun Oct 28 14:43:11 2018
New Revision: 483300
URL: https://svnweb.freebsd.org/changeset/ports/483300
Log:
New port: devel/ccls
Ccls is a C/C++/Objective-C language server with the following
features:
- Code completion (with both signature help and snippets)
- Definition/references, and other cross references
- Cross reference extensions: $ccls/call $ccls/inheritance $ccls/member
$ccls/vars ...
- Formatting
- Hierarchies: call (caller/callee) hierarchy, inheritance
(base/derived) hierarchy, member hierarchy
- Symbol rename
- Document symbols and approximate search of workspace symbol
- Hover information
- Diagnostics and code actions (clang FixIts)
- Semantic highlighting and preprocessor skipped regions
- Semantic navigation: $ccls/navigate
WWW: https://github.com/MaskRay/ccls
Added:
head/devel/ccls/
head/devel/ccls/Makefile (contents, props changed)
head/devel/ccls/distinfo (contents, props changed)
head/devel/ccls/pkg-descr (contents, props changed)
Added: head/devel/ccls/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ccls/Makefile Sun Oct 28 14:43:11 2018 (r483300)
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME= ccls
+PORTVERSION= 0.20181010
+CATEGORIES= devel
+
+MAINTAINER= tobik at FreeBSD.org
+COMMENT= C/C++/ObjC language server
+
+LICENSE= APACHE20
+
+IGNORE_FreeBSD_10= needs newer libc++
+
+BUILD_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \
+ rapidjson>=1.1.0_4:devel/rapidjson
+LIB_DEPENDS= libLLVM-${LLVM_DEFAULT:C/[0-9]$//}.so:devel/llvm${LLVM_DEFAULT}
+
+USES= cmake:outsource compiler:c++17-lang localbase
+USE_GITHUB= yes
+GH_ACCOUNT= MaskRay
+
+CMAKE_ARGS= -DCLANG_ROOT:String="${LOCALBASE}/llvm${LLVM_DEFAULT}"
+CMAKE_ON= SYSTEM_CLANG USE_SHARED_LLVM
+LLVM_DEFAULT?= 70
+
+PLIST_FILES= bin/ccls
+
+OPTIONS_DEFINE= DOCS
+
+DOCS_DISTFILES= MaskRay-ccls.wiki-20181026.tar.gz:docs
+DOCS_MASTER_SITES= LOCAL/tobik:docs
+PORTDOCS= *
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKDIR}/ccls.wiki && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/devel/ccls/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ccls/distinfo Sun Oct 28 14:43:11 2018 (r483300)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1540725336
+SHA256 (MaskRay-ccls.wiki-20181026.tar.gz) = 54a5780408e2119d093f73b6708bf4ddc993e4b7f503539fb51ea0a5cb7e5745
+SIZE (MaskRay-ccls.wiki-20181026.tar.gz) = 20501
+SHA256 (MaskRay-ccls-0.20181010_GH0.tar.gz) = 09e1c2b80c34fae36b519eac7603ee150d7a086a8e11f5db5c6cbbb9acf3e9f8
+SIZE (MaskRay-ccls-0.20181010_GH0.tar.gz) = 164687
Added: head/devel/ccls/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ccls/pkg-descr Sun Oct 28 14:43:11 2018 (r483300)
@@ -0,0 +1,18 @@
+Ccls is a C/C++/Objective-C language server with the following
+features:
+
+- Code completion (with both signature help and snippets)
+- Definition/references, and other cross references
+- Cross reference extensions: $ccls/call $ccls/inheritance $ccls/member
+ $ccls/vars ...
+- Formatting
+- Hierarchies: call (caller/callee) hierarchy, inheritance
+ (base/derived) hierarchy, member hierarchy
+- Symbol rename
+- Document symbols and approximate search of workspace symbol
+- Hover information
+- Diagnostics and code actions (clang FixIts)
+- Semantic highlighting and preprocessor skipped regions
+- Semantic navigation: $ccls/navigate
+
+WWW: https://github.com/MaskRay/ccls
More information about the svn-ports-all
mailing list