Port details |
- loccount Count source lines of code in a project
- 2.16_6 devel =2 2.16_4Version of this port present on the latest quarterly branch.
- Maintainer: yuri@FreeBSD.org
- Port Added: 2019-02-24 15:02:28
- Last Update: 2024-08-09 06:24:08
- Commit Hash: aa8c011
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- a2x : textproc/asciidoc
- gmake>=4.4.1 : devel/gmake
- go121 : lang/go121
- python3.11 : lang/python311
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.16_6 09 Aug 2024 06:24:08 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update |
2.16_5 03 Jul 2024 08:29:54 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update |
2.16_4 15 Jun 2024 09:52:17 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update
MFH: 2024Q2 |
2.16_3 13 May 2024 17:56:04 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update
MFH: 2024Q2 |
2.16_2 15 Apr 2024 08:20:04 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update
MFH: 2024Q2 |
2.16_1 24 Mar 2024 14:29:00 |
Muhammad Moinur Rahman (bofh) |
lang/go: Change DEFAULT to 1.21
PR: 277776
Approved by: portmgr (exp-run) |
2.16 09 Mar 2024 17:51:01 |
Yuri Victorovich (yuri) |
devel/loccount: update 2.15 → 2.16
Reported by: portscout |
2.15_2 11 Feb 2024 10:39:17 |
Ashish SHUKLA (ashish) |
all: Bump PORTREVISION after lang/go* update
PR: 276530 |
2.15_1 10 Jan 2024 08:16:01 |
Baptiste Daroussin (bapt) |
MAN?PREFIX: eleminate its usage and move man to share/man |
2.15 05 Jan 2024 09:38:14 |
Yuri Victorovich (yuri) |
devel/loccount: update 2.12 → 2.15 |
2.12_15 07 Dec 2023 02:22:10 |
Ashish SHUKLA (ashish) |
all: Bump PORTREVISION after lang/go* update
PR: 274405 |
2.12_14 08 Sep 2023 14:34:56 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go* update |
2.12_13 04 Aug 2023 14:24:50 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{119,120} update |
2.12_12 12 Jul 2023 18:56:04 |
Felix Palmen (zirias) |
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 |
Rene Ladan (rene) |
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 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{119,120} update |
2.12_11 09 Mar 2023 19:18:07 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after Go ports update |
2.12_10 15 Feb 2023 19:06:01 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{119,120} update |
2.12_9 09 Feb 2023 21:55:23 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after GO_DEFAULT update. |
2.12_8 14 Jan 2023 11:31:17 |
Dmitri Goutnik (dmgk) |
all: Bump PORTVERSION after lang/go{118,119} update |
2.12_7 11 Dec 2022 11:17:27 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{118,119} update |
2.12_6 06 Oct 2022 19:24:26 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{118,119} update |
2.12_5 08 Sep 2022 16:33:18 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{118,119} update |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
2.12_4 03 Aug 2022 21:35:13 |
Dmitri Goutnik (dmgk) |
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 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{117,118} update |
2.12_2 07 Jun 2022 21:56:10 |
Dmitri Goutnik (dmgk) |
*/*: Bump port revisons after lang/go{117,118} update |
2.12_1 30 Mar 2022 07:01:44 |
Guangyuan Yang (ygy) |
*/*: Bump PORTREVISION after lang/go 1.18 update |
2.12 26 Aug 2021 05:38:53 |
Yuri Victorovich (yuri) |
devel/loccount: Update 2.11 -> 2.12 |
2.11 09 Apr 2021 18:44:23 |
Matthias Fechner (mfechner) |
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 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.11 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.11 06 Mar 2021 08:34:46 |
yuri |
devel/loccount: Update 2.10 -> 2.11 |
2.10 08 Jan 2021 19:42:42 |
dmgk |
devel/loccount: Unbreak with go1.16
Approved by: yuri (maintainer) |
2.10 22 Apr 2020 04:15:23 |
yuri |
devel/loccount: Update 2.9 -> 2.10
Reported by: portscout |
2.9 03 Feb 2020 07:03:27 |
yuri |
devel/loccount: Update 2.8 -> 2.9 |
2.8 02 Feb 2020 06:27:07 |
yuri |
devel/loccount: Update 2.0 -> 2.8
Reported by: repology |
2.0_1 16 Nov 2019 12:52:40 |
dmgk |
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 |
dmgk |
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 |
tobik |
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 |
yuri |
devel/loccount: Rm unnecessary elements |
2.0 24 Feb 2019 06:31:47 |
yuri |
New port: devel/loccount: Count source lines of code in a project |