pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

scc: Initial import of 3.0.0



Module Name:	pkgsrc-wip
Committed By:	Michael-John Turner <mj%mjturner.net@localhost>
Pushed By:	mj
Date:		Tue Jul 27 12:44:16 2021 +0100
Changeset:	95d1284d729987fb1de262c1051610b9f20fa0cc

Modified Files:
	Makefile
Added Files:
	scc/DESCR
	scc/Makefile
	scc/PLIST
	scc/distinfo

Log Message:
scc: Initial import of 3.0.0

https://github.com/boyter/scc

A tool similar to cloc, sloccount and tokei. Counts blank lines, comment lines,
and physical lines of source code in many programming languages.

The goal is to be the fastest code counter possible, but also perform COCOMO
calculations like sloccount and estimate code complexity similar to cyclomatic
complexity calculators. In short, one tool to rule them all.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=95d1284d729987fb1de262c1051610b9f20fa0cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile     |  1 +
 scc/DESCR    |  6 ++++++
 scc/Makefile | 19 +++++++++++++++++++
 scc/PLIST    |  2 ++
 scc/distinfo |  6 ++++++
 5 files changed, 34 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 8e4288d5f8..ad178d313a 100644
--- a/Makefile
+++ b/Makefile
@@ -5078,6 +5078,7 @@ SUBDIR+=	sblim-sfcc
 SUBDIR+=	scalapack
 SUBDIR+=	scantailor
 SUBDIR+=	scare
+SUBDIR+=	scc
 SUBDIR+=	sccache
 SUBDIR+=	schur
 SUBDIR+=	scilab
diff --git a/scc/DESCR b/scc/DESCR
new file mode 100644
index 0000000000..3caefe87a1
--- /dev/null
+++ b/scc/DESCR
@@ -0,0 +1,6 @@
+A tool similar to cloc, sloccount and tokei. Counts blank lines, comment lines,
+and physical lines of source code in many programming languages.
+
+The goal is to be the fastest code counter possible, but also perform COCOMO
+calculations like sloccount and estimate code complexity similar to cyclomatic
+complexity calculators. In short, one tool to rule them all.
diff --git a/scc/Makefile b/scc/Makefile
new file mode 100644
index 0000000000..33a854f366
--- /dev/null
+++ b/scc/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	scc-3.0.0
+MASTER_SITES=	${MASTER_SITE_GITHUB:=boyter/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+
+MAINTAINER=	mj%mjturner.net@localhost
+HOMEPAGE=	https://github.com/boyter/scc
+COMMENT=	Count physical lines of code in many programming languages
+LICENSE=	mit OR unlicense
+
+INSTALLATION_DIRS=	bin
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/scc ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/go/go-module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/scc/PLIST b/scc/PLIST
new file mode 100644
index 0000000000..a100b07eeb
--- /dev/null
+++ b/scc/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/scc
diff --git a/scc/distinfo b/scc/distinfo
new file mode 100644
index 0000000000..37acd6dc9e
--- /dev/null
+++ b/scc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (scc-3.0.0.tar.gz) = 118c56b9e99f286be75f37e4c9590f26a5002e77
+RMD160 (scc-3.0.0.tar.gz) = eedc1c3a139b348d879fa68955f507ff581673d3
+SHA512 (scc-3.0.0.tar.gz) = e83967f900214405e5fd80a5df4cafbcfe635a406c42c9a96541d355d93b240a856d9eb7f11a24c1ee03f0a74cd0947db40f2075fb109cb2333eb92e5682ac37
+Size (scc-3.0.0.tar.gz) = 827837 bytes


Home | Main Index | Thread Index | Old Index