From nobody Mon Feb 13 04:52:07 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PFX4l5pgwz3qXkB; Mon, 13 Feb 2023 04:52:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PFX4l58cjz45gY; Mon, 13 Feb 2023 04:52:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676263927; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=50hNbAwnKAOGj0Y/T6wnDJVhI8lAsND9Xs561iCKa9c=; b=QmkrX6F/leqPfZACdOQWBaLrELHVEdaSGFwzpMqe9OvP8yeP4y83/yO9TxK7LCAA1jisrG ex7mqBDbkP0h9AOGnSqEzQWBo6rHeFa/GsuNVzunADk/C8P/n9g1NJFE9VRLUI3XBdtSOn PKmC9D56sLIIO1m2pcwnPftiDQa/zY/MGA7hS8HAqP+gG08XvBulWZo3Yv54Z2/4TIdWZe 1C4lO75ZiBYUyJLx1V/hcmj8paThcxolBxMcs7h/lFpWdKBnWHqZD/JYKP2QsVJ3y6MN7Q 30kcBBY8u/7sMyigshr5tZIrzaRK/GyPyWTy/cafN7z2pBq0fdok43a97cWm8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676263927; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=50hNbAwnKAOGj0Y/T6wnDJVhI8lAsND9Xs561iCKa9c=; b=QcbQo15yOfIp9nyGzyiPEnGKGibjEWksG6tQ903khxCsjLJU62GjzLGmvTWjqQDur+Vtxj 4c5l1UKJULtHcARceeHvRzZ3g/9FO6J2Ac1yizpYzI5jInSBnEu28x5/Uc3KhpIkh/uPqA vIaxnxZOXI6ZN47Sg5uAQJes+lOskE2azZXHYUf0j/i4XC722LM7uYBfHar1qTewtune+B oZEhhpSHuVT1YqHK2hKuVa+OX5sgkY3I1acVruhCWrbUdZQzR0YRV+6Ocf0fPZ8YFmkso6 iD9DGFRJnSsum4BZ3eHLUHsCAhkl9wiT9b0yBiFVba3Ng0RU7PqWQa+nOtlPlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676263927; a=rsa-sha256; cv=none; b=OQ1dmPqe1Noam4BlGBbkZbYqLEDHUjODWosfigqU+y/Ibn/dvWdGhAKt5eiHC1YpdZQF9e 43U9xz+wvXDQydBmsEzvLSdNMOJOBxDT8Ol6uOMvJ3dh4DAZOM3kZrs/la+RWaNN/0450D ScP/kvubGXvtAgUMjeLkbYg2zNHJJ1zvoT73yseR98pTnxXDSWEUxuIJrG/vw+MsfXtyg4 1okFW7ioZ00UZSPnUqQ2aFkJJU2WqjW4qakY/gYTiihWDEHSSCRiXOeKmrvzJkMfQagRch 04HmhdvtkR1tUGfsLdPolkqRyxLauQzDNwbOr8//PbuJz3EL06O6yO7/hP3c8A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PFX4l4CjJz15V0; Mon, 13 Feb 2023 04:52:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31D4q7Cd067099; Mon, 13 Feb 2023 04:52:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31D4q7EC067098; Mon, 13 Feb 2023 04:52:07 GMT (envelope-from git) Date: Mon, 13 Feb 2023 04:52:07 GMT Message-Id: <202302130452.31D4q7EC067098@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ka Ho Ng Subject: git: 93bc67ee6406 - main - devel/ccls: Reinstate the port and update to snapshot 20230115 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: khng X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 93bc67ee64069717b4b0e56cfeba31fbabd40a5c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by khng (src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=93bc67ee64069717b4b0e56cfeba31fbabd40a5c commit 93bc67ee64069717b4b0e56cfeba31fbabd40a5c Author: Ka Ho Ng AuthorDate: 2023-02-13 04:51:35 +0000 Commit: Ka Ho Ng CommitDate: 2023-02-13 04:51:35 +0000 devel/ccls: Reinstate the port and update to snapshot 20230115 Approved by: delphij (ports) Differential Revision: https://reviews.freebsd.org/D38552 --- MOVED | 1 - devel/Makefile | 1 + devel/ccls/Makefile | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ devel/ccls/distinfo | 5 +++++ devel/ccls/pkg-descr | 16 +++++++++++++++ 5 files changed, 79 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index c9880e413bd0..d9a8cc1e856b 100644 --- a/MOVED +++ b/MOVED @@ -17745,7 +17745,6 @@ devel/llvm70||2023-01-15|Removed old llvm ports devel/llvm80||2023-01-15|Removed old llvm ports devel/llvm90||2023-01-15|Removed old llvm ports devel/android-tools-simpleperf||2023-01-15|Depends on removed old llvm ports -devel/ccls||2023-01-15|Depends on removed old llvm ports devel/f18||2023-01-15|Depends on removed old llvm ports devel/xtoolchain-llvm80||2023-01-15|Depends on removed old llvm ports devel/xtoolchain-llvm90||2023-01-15|Depends on removed old llvm ports diff --git a/devel/Makefile b/devel/Makefile index e8c3880b4e18..5f21c99b0a8f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -337,6 +337,7 @@ SUBDIR += ccache-static SUBDIR += cccc SUBDIR += ccdoc + SUBDIR += ccls SUBDIR += ccrtp SUBDIR += cctz SUBDIR += cdash diff --git a/devel/ccls/Makefile b/devel/ccls/Makefile new file mode 100644 index 000000000000..2071e46efbca --- /dev/null +++ b/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 diff --git a/devel/ccls/distinfo b/devel/ccls/distinfo new file mode 100644 index 000000000000..eb6f21e20473 --- /dev/null +++ b/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 diff --git a/devel/ccls/pkg-descr b/devel/ccls/pkg-descr new file mode 100644 index 000000000000..740ceb51dadc --- /dev/null +++ b/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