diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2023-07-29 12:57:27 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2023-07-29 12:58:43 +0000 |
commit | f79da1c2a091dee58eef955f166cfc2f830e0808 (patch) | |
tree | 3c4a96c026ba4e4c91d02eaa3c3ca7cbeb510101 | |
parent | 8f4e15df60cf32df299ebb384c9b11e7749c8e8c (diff) | |
download | ports-f79da1c2a091dee58eef955f166cfc2f830e0808.tar.gz ports-f79da1c2a091dee58eef955f166cfc2f830e0808.zip |
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.
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/scc/Makefile | 20 | ||||
-rw-r--r-- | devel/scc/distinfo | 5 | ||||
-rw-r--r-- | devel/scc/pkg-descr | 2 |
4 files changed, 28 insertions, 0 deletions
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 <bsd.port.mk> 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. |