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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
loccount Count source lines of code in a project
2.16_1 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: 2019-02-24 15:02:28
Last Update: 2024-03-24 14:29:00
Commit Hash: a5a000d
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

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. share/man/man1/loccount.1.gz
  3. /usr/local/share/licenses/loccount-2.16_1/catalog.mk
  4. /usr/local/share/licenses/loccount-2.16_1/LICENSE
  5. /usr/local/share/licenses/loccount-2.16_1/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 = 1709999106 SHA256 (loccount-2.16.tar.gz) = 4059cc0f61ccea2e424f1c3ccb838fedccaa15f0b53ef31534f59b38792048a2 SIZE (loccount-2.16.tar.gz) = 83003

Packages (timestamps in pop-ups are UTC):
loccount
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.162.16-2.162.16---
FreeBSD:13:quarterly2.12_152.12_15-2.12_152.12_15---
FreeBSD:14:latest2.162.16-2.15_22.16---
FreeBSD:14:quarterly2.12_152.12_15-2.12_152.12_15---
FreeBSD:15:latest2.162.16n/a2.15_2n/a---
FreeBSD:15:quarterly--n/a-n/a---
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.4.1 : devel/gmake
  3. go121 : lang/go121
  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. http://www.catb.org/~esr/loccount/
Collapse this list.

Number of commits found: 38

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.16_1
24 Mar 2024 14:29:00
commit hash: a5a000df3b3697665460dbfbafe7120e306d8913commit hash: a5a000df3b3697665460dbfbafe7120e306d8913commit hash: a5a000df3b3697665460dbfbafe7120e306d8913commit hash: a5a000df3b3697665460dbfbafe7120e306d8913 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/go: Change DEFAULT to 1.21

PR:		277776
Approved by:	portmgr (exp-run)
2.16
09 Mar 2024 17:51:01
commit hash: eddd3754a03d9a3324e8ca1e366683642598860dcommit hash: eddd3754a03d9a3324e8ca1e366683642598860dcommit hash: eddd3754a03d9a3324e8ca1e366683642598860dcommit hash: eddd3754a03d9a3324e8ca1e366683642598860d files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/loccount: update 2.15 → 2.16

Reported by:	portscout
2.15_2
11 Feb 2024 10:39:17
commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump PORTREVISION after lang/go* update

PR:		276530
2.15_1
10 Jan 2024 08:16:01
commit hash: 1b819e486953bae191a4b8f0da175b55cb6c3070commit hash: 1b819e486953bae191a4b8f0da175b55cb6c3070commit hash: 1b819e486953bae191a4b8f0da175b55cb6c3070commit hash: 1b819e486953bae191a4b8f0da175b55cb6c3070 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
MAN?PREFIX: eleminate its usage  and move man to share/man
2.15
05 Jan 2024 09:38:14
commit hash: f5aa41b859d7e51f5a27ea9ce90e6cef77580e22commit hash: f5aa41b859d7e51f5a27ea9ce90e6cef77580e22commit hash: f5aa41b859d7e51f5a27ea9ce90e6cef77580e22commit hash: f5aa41b859d7e51f5a27ea9ce90e6cef77580e22 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/loccount: update 2.12 → 2.15
2.12_15
07 Dec 2023 02:22:10
commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump PORTREVISION after lang/go* update

PR:		274405
2.12_14
08 Sep 2023 14:34:56
commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go* update
2.12_13
04 Aug 2023 14:24:50
commit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fccommit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fccommit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fccommit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fc files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update
2.12_12
12 Jul 2023 18:56:04
commit hash: 7d1faa7179813ffa542b550a1fdb3bdc80a7986ccommit hash: 7d1faa7179813ffa542b550a1fdb3bdc80a7986ccommit hash: 7d1faa7179813ffa542b550a1fdb3bdc80a7986ccommit hash: 7d1faa7179813ffa542b550a1fdb3bdc80a7986c files touched by this commit
Felix Palmen (zirias) search for other commits by this committer
bsd.sites.mk: Update all ports using USE_GITLAB

Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2.12_12
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2.12_12
08 Apr 2023 15:13:25
commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update
2.12_11
09 Mar 2023 19:18:07
commit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93dcommit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93dcommit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93dcommit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93d files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after Go ports update
2.12_10
15 Feb 2023 19:06:01
commit hash: 56b5ec772f679a600dabe41622c1350594628286commit hash: 56b5ec772f679a600dabe41622c1350594628286commit hash: 56b5ec772f679a600dabe41622c1350594628286commit hash: 56b5ec772f679a600dabe41622c1350594628286 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update
2.12_9
09 Feb 2023 21:55:23
commit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0dcommit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0dcommit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0dcommit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0d files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after GO_DEFAULT update.
2.12_8
14 Jan 2023 11:31:17
commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTVERSION after lang/go{118,119} update
2.12_7
11 Dec 2022 11:17:27
commit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2acommit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2acommit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2acommit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2a files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{118,119} update
2.12_6
06 Oct 2022 19:24:26
commit hash: bde51869ee0206eeaa2849d8ef28b14da59727a3commit hash: bde51869ee0206eeaa2849d8ef28b14da59727a3commit hash: bde51869ee0206eeaa2849d8ef28b14da59727a3commit hash: bde51869ee0206eeaa2849d8ef28b14da59727a3 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{118,119} update
2.12_5
08 Sep 2022 16:33:18
commit hash: f05c98fffb232735c05ba30d43fb279085b813d7commit hash: f05c98fffb232735c05ba30d43fb279085b813d7commit hash: f05c98fffb232735c05ba30d43fb279085b813d7commit hash: f05c98fffb232735c05ba30d43fb279085b813d7 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{118,119} update
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.12_4
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.12_4
03 Aug 2022 21:35:13
commit hash: 4476f89764d3ee73d216c2d56df149e8d4c62c24commit hash: 4476f89764d3ee73d216c2d56df149e8d4c62c24commit hash: 4476f89764d3ee73d216c2d56df149e8d4c62c24commit hash: 4476f89764d3ee73d216c2d56df149e8d4c62c24 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after Go update

Bump Go ports PORTREVISION after GO_DEFAULT and lang/go118 update.
2.12_3
14 Jul 2022 12:46:05
commit hash: 153cb65ac8a05356245dd09d1ff48c2a6afafc5acommit hash: 153cb65ac8a05356245dd09d1ff48c2a6afafc5acommit hash: 153cb65ac8a05356245dd09d1ff48c2a6afafc5acommit hash: 153cb65ac8a05356245dd09d1ff48c2a6afafc5a files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{117,118} update
2.12_2
07 Jun 2022 21:56:10
commit hash: 309cdeccd802bb370a42e80cc4468da17c8dab35commit hash: 309cdeccd802bb370a42e80cc4468da17c8dab35commit hash: 309cdeccd802bb370a42e80cc4468da17c8dab35commit hash: 309cdeccd802bb370a42e80cc4468da17c8dab35 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
*/*: Bump port revisons after lang/go{117,118} update
2.12_1
30 Mar 2022 07:01:44
commit hash: d690b5102f75bf70e3cfb280a84c9f3eaf4ec653commit hash: d690b5102f75bf70e3cfb280a84c9f3eaf4ec653commit hash: d690b5102f75bf70e3cfb280a84c9f3eaf4ec653commit hash: d690b5102f75bf70e3cfb280a84c9f3eaf4ec653 files touched by this commit
Guangyuan Yang (ygy) search for other commits by this committer
*/*: Bump PORTREVISION after lang/go 1.18 update
2.12
26 Aug 2021 05:38:53
commit hash: 694cff4bffaf4a35f5fb5f1aff54f84e43b87043commit hash: 694cff4bffaf4a35f5fb5f1aff54f84e43b87043commit hash: 694cff4bffaf4a35f5fb5f1aff54f84e43b87043commit hash: 694cff4bffaf4a35f5fb5f1aff54f84e43b87043 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/loccount: Update 2.11 -> 2.12
2.11
09 Apr 2021 18:44:23
commit hash: 911f04257e3175fca4e46c7d57bf5ca79767e209commit hash: 911f04257e3175fca4e46c7d57bf5ca79767e209commit hash: 911f04257e3175fca4e46c7d57bf5ca79767e209commit hash: 911f04257e3175fca4e46c7d57bf5ca79767e209 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
Regenerate all distfiles using gitlab as source.

This regeneration is required as the new gitlab version changed
the address and the directory the source files can be downloaded.

This commit also applies some small fixes to make sure all ports using
gitlab are buildable.

Reviewed by:	mat
Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D29628
2.11
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2.11
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.11
06 Mar 2021 08:34:46
Revision:567469Original commit files touched by this commit
yuri search for other commits by this committer
devel/loccount: Update 2.10 -> 2.11
2.10
08 Jan 2021 19:42:42
Revision:560807Original commit files touched by this commit
dmgk search for other commits by this committer
devel/loccount: Unbreak with go1.16

Approved by:	yuri (maintainer)
2.10
22 Apr 2020 04:15:23
Revision:532445Original commit files touched by this commit
yuri search for other commits by this committer
devel/loccount: Update 2.9 -> 2.10

Reported by:	portscout
2.9
03 Feb 2020 07:03:27
Revision:525017Original commit files touched by this commit
yuri search for other commits by this committer
devel/loccount: Update 2.8 -> 2.9
2.8
02 Feb 2020 06:27:07
Revision:524812Original commit files touched by this commit
yuri search for other commits by this committer
devel/loccount: Update 2.0 -> 2.8

Reported by:	repology
2.0_1
16 Nov 2019 12:52:40
Revision:517745Original commit files touched by this commit
dmgk search for other commits by this committer
Bump PORTREVISION after r517743 to force relinking.

Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D21854
2.0
29 Sep 2019 22:29:40
Revision:513274Original commit files touched by this commit
dmgk search for other commits by this committer
Go ports: cleanup, finish transition to USES=go started with r505321 (cat.
audio-mail)

- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001
- Switch to go:modules when upstream already uses them

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21741
2.0
29 Jun 2019 03:51:14
Revision:505321Original commit files touched by this commit
tobik search for other commits by this committer
Convert all Go ports to USES=go

This allows for port testing with lang/go-devel via GO_PORT, setting
up the Go build environment in a single place, and is step one in
simplifying Go ports that often define too complicated do-build
targets themselves.

USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and
'no_targets' for ports with composite builds that call 'go' themselves
and do not need the do-build/do-install targets of USES=go.

PR:		238849
Submitted by:	dg@syrec.org (also D20745)
Reviewed by:	mat, tobik
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D20746
2.0
24 Feb 2019 06:38:45
Revision:493743Original commit files touched by this commit
yuri search for other commits by this committer
devel/loccount: Rm unnecessary elements
2.0
24 Feb 2019 06:31:47
Revision:493742Original commit files touched by this commit
yuri search for other commits by this committer
New port: devel/loccount: Count source lines of code in a project

Number of commits found: 38