Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167674413
D38552.id117068.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D38552.id117068.diff
View Options
Index: devel/Makefile
===================================================================
--- devel/Makefile
+++ devel/Makefile
@@ -337,6 +337,7 @@
SUBDIR += ccache-static
SUBDIR += cccc
SUBDIR += ccdoc
+ SUBDIR += ccls
SUBDIR += ccrtp
SUBDIR += cctz
SUBDIR += cdash
Index: devel/ccls/Makefile
===================================================================
--- /dev/null
+++ devel/ccls/Makefile
@@ -0,0 +1,57 @@
+PORTNAME= ccls
+DISTVERSION= 0.20230115
+CATEGORIES= devel
+
+MAINTAINER= khng@FreeBSD.org
+COMMENT= C/C++/ObjC language server
+WWW= https://github.com/MaskRay/ccls
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= rapidjson>=1.1.0_4:devel/rapidjson
+
+USES= cmake compiler:c++17-lang llvm:lib localbase
+USE_GITHUB= yes
+GH_ACCOUNT= MaskRay
+GH_TAGNAME= 8bc3959537ad
+
+CMAKE_ARGS= -DCCLS_VERSION:STRING="${DISTVERSION}" \
+ -DClang_DIR:PATH="${LLVM_PREFIX}/lib/cmake/clang" \
+ -DLLVM_DIR:PATH="${LLVM_PREFIX}/lib/cmake/llvm"
+CXXFLAGS+= -DNDEBUG
+
+PLIST_FILES= bin/ccls
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
+DOCS_MASTER_SITES= LOCAL/khng:docs
+DOCS_DISTFILES= ccls.wiki-${DISTVERSION}.tar.gz:docs
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKDIR}/ccls.wiki && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
+.if defined(MAINTAINER_MODE)
+MAINTAINER_DISTFILE= \
+ ${_DISTDIR:S|/$||}/${DOCS_DISTFILES:Mccls.wiki-*.tar.gz\:*:C|\:.*$||}
+
+maintainer-docs-fetch:
+ @${MAKE} clean
+ @${MKDIR} ${WRKDIR}/ccls.wiki
+ @git clone https://github.com/MaskRay/ccls.wiki.git \
+ ${WRKDIR}/ccls.wiki
+ @${TAR} -zcf ${MAINTAINER_DISTFILE} -C ${WRKDIR} \
+ --uid 0 --gid 0 --exclude-vcs ccls.wiki
+ @${MAKE} makesum
+ @${MAKE} clean
+
+${MAINTAINER_DISTFILE}: maintainer-docs-fetch
+
+maintainer-docs-distfiles: ${MAINTAINER_DISTFILE}
+ scp ${MAINTAINER_DISTFILE} \
+ freefall.freebsd.org:public_distfiles/
+.endif
+
+.include <bsd.port.mk>
Index: devel/ccls/distinfo
===================================================================
--- /dev/null
+++ devel/ccls/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1676250001
+SHA256 (ccls.wiki-0.20230115.tar.gz) = 2cce618c9a59685704b9904b8813856b2b775c967ceff1bf791c61dfb2e23fb6
+SIZE (ccls.wiki-0.20230115.tar.gz) = 39089
+SHA256 (MaskRay-ccls-0.20230115-8bc3959537ad_GH0.tar.gz) = 720da9b1db4ec0352b84053ffc891a95956e739d5e9e42f4555b94f87320025f
+SIZE (MaskRay-ccls-0.20230115-8bc3959537ad_GH0.tar.gz) = 161773
Index: devel/ccls/pkg-descr
===================================================================
--- /dev/null
+++ devel/ccls/pkg-descr
@@ -0,0 +1,16 @@
+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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 24, 5:08 PM (12 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37194173
Default Alt Text
D38552.id117068.diff (3 KB)
Attached To
Mode
D38552: devel/ccls: Reinstate the port and update to snapshot 20230115
Attached
Detach File
Event Timeline
Log In to Comment