notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2023Q3
loccount Count source lines of code in a project
2.12_14 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.12_14Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-08-04 15:02:22
Last Update: 2023-09-08 14:39:12
Commit Hash: 793b61c
License: BSD2CLAUSE
WWW:
http://www.catb.org/esr/loccount/
Description:
loccount is a re-implementation of David A. Wheeler's sloccount tool in Go. It is faster, handles more different languages, can report LLOC as well as SLOC, and can do COCOMO II as well as COCOMO I estimates. Because it's one source file in Go, it is easier to maintain and extend than the multi-file, multi-language implementation of the original. The algorithms are largely unchanged and can be expected to produce identical numbers for languages supported by both tools. Python is an exception; loccount corrects buggy counting of single-quote multiline literals in sloccount 2.26.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/loccount
  2. man/man1/loccount.1.gz
  3. /usr/local/share/licenses/loccount-2.12_14/catalog.mk
  4. /usr/local/share/licenses/loccount-2.12_14/LICENSE
  5. /usr/local/share/licenses/loccount-2.12_14/BSD2CLAUSE
Collapse this list.
Dependency lines:
  • loccount>0:devel/loccount
To install the port:
cd /usr/ports/devel/loccount/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/loccount
  • pkg install loccount
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: loccount
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1629947671 SHA256 (esr-loccount-dc8279ab2e49ba60db121a47c15dc4ef8b543352_GL0.tar.gz) = 5524d7dc7cec31729d19a6b0a39e8a396c54c643a39844edc138715fe03f8b65 SIZE (esr-loccount-dc8279ab2e49ba60db121a47c15dc4ef8b543352_GL0.tar.gz) = 71286

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. a2x : textproc/asciidoc
  2. gmake>=4.3 : devel/gmake
  3. go120 : lang/go120
  4. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_loccount
USES:
gmake go python:build
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://gitlab.com/esr/loccount/-/archive/dc8279ab2e49ba60db121a47c15dc4ef8b543352.tar.gz?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.12_14
08 Sep 2023 14:39:12
commit hash: 793b61c98913da3088efd5af67684d2eded3e992commit hash: 793b61c98913da3088efd5af67684d2eded3e992commit hash: 793b61c98913da3088efd5af67684d2eded3e992commit hash: 793b61c98913da3088efd5af67684d2eded3e992 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go120 update

Approved by:	ports-secteam (blanket)
2.12_13
04 Aug 2023 14:36:07
commit hash: e7d39fc40a601f25b64b6f73a05219343c290162commit hash: e7d39fc40a601f25b64b6f73a05219343c290162commit hash: e7d39fc40a601f25b64b6f73a05219343c290162commit hash: e7d39fc40a601f25b64b6f73a05219343c290162 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update

Approved by:	ports-secteam (blanket)

Number of commits found: 2