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

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details on branch 2023Q4
loccount Count source lines of code in a project
2.12_15 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_15Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-12-07 15:09:06
Last Update: 2023-12-07 15:06:56
Commit Hash: 1a5ede5
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_15/catalog.mk
  4. /usr/local/share/licenses/loccount-2.12_15/LICENSE
  5. /usr/local/share/licenses/loccount-2.12_15/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: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.12_15
07 Dec 2023 15:06:56
commit hash: 1a5ede5f3667b6e0399abb165603b33f51f65d66commit hash: 1a5ede5f3667b6e0399abb165603b33f51f65d66commit hash: 1a5ede5f3667b6e0399abb165603b33f51f65d66commit hash: 1a5ede5f3667b6e0399abb165603b33f51f65d66 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump PORTREVISION after lang/go* update

PR:		274405
(cherry picked from commit 0505b712df3ae2b4bcaba00aecc7c1e9100d8609)

Number of commits found: 1