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
Remember
I remember
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2023Q1
loccount Count source lines of code in a project
2.12_9 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_9Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-02-17 10:51:08
Last Update: 2023-03-09 19:50:37
Commit Hash: 636f0a9
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:
FreshPorts has no man page information for this port.
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_9/catalog.mk
  4. /usr/local/share/licenses/loccount-2.12_9/LICENSE
  5. /usr/local/share/licenses/loccount-2.12_9/BSD2CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
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. go119 : lang/go119
  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:3.5+,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_9
09 Mar 2023 19:50:37
commit hash: 636f0a9700972e851eb2139edc655a613f8c5a25commit hash: 636f0a9700972e851eb2139edc655a613f8c5a25commit hash: 636f0a9700972e851eb2139edc655a613f8c5a25commit hash: 636f0a9700972e851eb2139edc655a613f8c5a25 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go119 update

Direct commit to quarterly to bump Go ports revisions after 61a665d2d8d2

Approved by:    ports-secteam (blanket)
2.12_8
17 Feb 2023 10:49:10
commit hash: 9ff952570bc5120a01d31a8406f17ad49ddfb2e9commit hash: 9ff952570bc5120a01d31a8406f17ad49ddfb2e9commit hash: 9ff952570bc5120a01d31a8406f17ad49ddfb2e9commit hash: 9ff952570bc5120a01d31a8406f17ad49ddfb2e9 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go119 update

Direct commit to quarterly to bump Go ports revisions after f30271912e48

Approved by:	riggs (ports-secteam)

Number of commits found: 2