From nobody Sat Jul 29 12:58:48 2023 X-Original-To: dev-commits-ports-main@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 4RCl1h3lGqz4pDsV; Sat, 29 Jul 2023 12:58:48 +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 4RCl1h3645z3lm1; Sat, 29 Jul 2023 12:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690635528; 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=GWikS/Qjj9psYEEjs82sseW1BABJeuRKznR8s0uU5wg=; b=MDTW1AVtXZPFmUJuiMRnnbgRyP6+9E91sFysd1/+qWOlInrBGVTJB4mE/38dk/tOgPyfWX SqDx5n77jzMwiC1gM1JP2lyahV6hYqKtglzeZTpv27FUcsRfVlR+T7OIn3CTWrgVRV99+h JEWg5cp9LWxZ+pRVZu+LauuIV5bA9LII90dudUDmTT+xgrFE/NNwPVGpdY4D/5Z9R+vjIv 5yfbqRI3JELlzhSwMOfSHxukfNmHPYl7yVsTm6+D6FXKB1gvu5GSnBJ8Xp2caRcRiIP5So 0UP6MbvAhD0dwAYIDZutHI2tf56F4lGicD7HWAAEfVmqlg4wMsjm1FQ4B35lcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690635528; 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=GWikS/Qjj9psYEEjs82sseW1BABJeuRKznR8s0uU5wg=; b=ZxLSk1dUCP++WhtxijVnt0YTtqW6Ypszv+secDR3r720ucl1q2+kNQuDjOF+1rMDuH97fV DhjKSx2g6uFQ2OeFL1AqpWBKC3RfDqXNZVpp0AdvibFyrVX5KMG3A4DjTeEPrQzf8/pMEe Fu/QBc4lHQMJAlPoGZH2mroOf/6Pxb/WEJQJ2F3JvmBR6H/UZ4h+eZ9d1ui53rzzmEtNN0 Jls2aLA/k/6uWx8+Taxgh61VKx6gqvuahYPyxJ6Yn2O+zcV2vJe42dgwmN0owkMPO9ajuF y0rfqrq70Haz5hKG0IlguAL1MGTB27bqHPJqRiH5gOmzj3mV05xHLCt2xloLJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690635528; a=rsa-sha256; cv=none; b=IDG3Gj+jBsrYPlv9firj1d9vJvVPk2xa0VXcDAAl1nbEtHW2HEah3UiGeeRBTt4G/VHVj5 k2E6zO8QYPn85JMv70Su/X949GuTxAWZks25/vd24YSv8yMulN0/+l2M5VYrOyVvnHPHTP 8hmgmVDYLa+s8eJEf5/tUl2+YEO8LUbM9OCut8Z6MTXAH74yQm3OdV6zk+aw3TSAPuDpZi 66qdH/L8XgA8RP7kFjqQdq42kxsdrHDi9gBTndDObElydx1NeymJ/CC2bHqxatoJT22m16 RV6nISkSBXTdh6CBIMQUQH5VUTjpMc278JfTyzOyZHFVxgnx75D9vT8FYAYKFA== 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 4RCl1h1fdbzYjG; Sat, 29 Jul 2023 12:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36TCwmrX029931; Sat, 29 Jul 2023 12:58:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36TCwmmF029930; Sat, 29 Jul 2023 12:58:48 GMT (envelope-from git) Date: Sat, 29 Jul 2023 12:58:48 GMT Message-Id: <202307291258.36TCwmmF029930@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adam Weinberger Subject: git: f79da1c2a091 - main - devel/scc: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adamw X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f79da1c2a091dee58eef955f166cfc2f830e0808 Auto-Submitted: auto-generated The branch main has been updated by adamw: URL: https://cgit.FreeBSD.org/ports/commit/?id=f79da1c2a091dee58eef955f166cfc2f830e0808 commit f79da1c2a091dee58eef955f166cfc2f830e0808 Author: Adam Weinberger AuthorDate: 2023-07-29 12:57:27 +0000 Commit: Adam Weinberger CommitDate: 2023-07-29 12:58:43 +0000 devel/scc: Add new port scc is a LOC counter (similar to tokei), written in go. It's very fast, and very accurate. Its unique feature is that it gives you complexity and COCOMO estimates. --- devel/Makefile | 1 + devel/scc/Makefile | 20 ++++++++++++++++++++ devel/scc/distinfo | 5 +++++ devel/scc/pkg-descr | 2 ++ 4 files changed, 28 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8e46ed3ecd06..09af9523dac9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7512,6 +7512,7 @@ SUBDIR += sbt SUBDIR += scalatest SUBDIR += scandoc + SUBDIR += scc SUBDIR += sccache SUBDIR += sccs SUBDIR += schilybase diff --git a/devel/scc/Makefile b/devel/scc/Makefile new file mode 100644 index 000000000000..b144bb8a929b --- /dev/null +++ b/devel/scc/Makefile @@ -0,0 +1,20 @@ +PORTNAME= scc +DISTVERSIONPREFIX= v +DISTVERSION= 3.1.0 +CATEGORIES= devel + +MAINTAINER= adamw@FreeBSD.org +COMMENT= LOC counter with COCOMO and complexity estimation +WWW= https://github.com/boyter/scc + +LICENSE= MIT UNLICENSE +LICENSE_COMB= dual +LICENSE_FILE_MIT= ${WRKSRC}/LICENSE +LICENSE_FILE_UNLICENSE= ${WRKSRC}/UNLICENSE + +USES= go:modules +GO_MODULE= github.com/boyter/scc/v3 + +PLIST_FILES= bin/scc + +.include diff --git a/devel/scc/distinfo b/devel/scc/distinfo new file mode 100644 index 000000000000..1eeb4704ce82 --- /dev/null +++ b/devel/scc/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1690635025 +SHA256 (go/devel_scc/scc-v3.1.0/v3.1.0.mod) = 77e358dbb64ae40f992d5046a99e66211687461152a61d951f4f8d6c4a3d1528 +SIZE (go/devel_scc/scc-v3.1.0/v3.1.0.mod) = 491 +SHA256 (go/devel_scc/scc-v3.1.0/v3.1.0.zip) = ebd878a4ba63952564bf1338d711cc6691df1b7bbdaf6c988819993bcaf3607b +SIZE (go/devel_scc/scc-v3.1.0/v3.1.0.zip) = 778448 diff --git a/devel/scc/pkg-descr b/devel/scc/pkg-descr new file mode 100644 index 000000000000..e2c22e0243d0 --- /dev/null +++ b/devel/scc/pkg-descr @@ -0,0 +1,2 @@ +scc is a very fast and accurate code counter. In addition, it estimates +code complexity and performs COCOMO (constructive code model) calculations.