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
| System | Port | Version |
|---|---|---|
| NetBSD | devel/cloc | 1.96 |
| FreeBSD | misc/cloc | 2.10 |
| OpenBSD | textproc/cloc | 2.00 |
| DragonFly | misc/cloc | 2.04 |
| HardenedBSD | misc/cloc | 2.10 |
| GhostBSD | misc/cloc | 2.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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.96 |
| NetBSD 10.1 aarch64 | 1.96 |
| SmartOS / illumos x86_64 | 1.96 |
| macOS 15 arm64 | 1.96 |
Dependencies
Run dependencies 4
No port depends on this one.