BSD Ports

devel/cloc 1.96 NetBSD

Count lines of code

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v2
Categories
devel
Package size
94.6 KiB, 619.5 KiB installed

Description

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages, with the following features:

* Reads user-supplied language comment definition files * Allows results from multiple runs to be summed together by language and by project. * Produces results in a variety of formats: plain text, XML, YAML, CSV. * Counts code within compressed archives (tarballs, Zip files, Java .ear files). * Has numerous troubleshooting options. * Handles file and directory names with spaces and other unusual characters.

In the other systems

SystemPortVersion
NetBSDdevel/cloc1.96
FreeBSDmisc/cloc2.10
OpenBSDtextproc/cloc2.00
DragonFlymisc/cloc2.04
HardenedBSDmisc/cloc2.10
GhostBSDmisc/cloc2.10

Install

Binary package:

pkgin install cloc

From pkgsrc:

cd /usr/pkgsrc/devel/cloc && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.96
NetBSD 10.1 aarch641.96
SmartOS / illumos x86_641.96
macOS 15 arm641.96

Dependencies

Run dependencies 4

No port depends on this one.