Port details |
- sloccount Counts physical Source Lines of Code (SLOC)
- 2.26_2 misc
=6 2.26_2Version of this port present on the latest quarterly branch. - Maintainer: freaky@aagh.net
![search for ports maintained by this maintainer search for ports maintained by this maintainer](/images/search.jpg) - Port Added: 2001-05-20 10:16:02
- Last Update: 2024-03-18 12:28:12
- Commit Hash: 5d5c60d
- People watching this port, also watch:: iso8879, p5-Locale-gettext, libxml2, libmng, gdbm
- License: not specified in port
- WWW:
- https://www.dwheeler.com/sloccount/
- Description:
- SLOCCount can count physical SLOC for a wide number of languages. It can
gracefully handle awkward situations in many languages, for example, it can
determine the syntax used in different assembly language files and adjust
appropriately, it knows about Python's use of string constants as comments,
and it can handle various Perl oddities (e.g., perlpods, here documents, and
Perl's __END__ marker). It even has a "generic" SLOC counter that you may be
able to use count the SLOC of other languages (depending on the language's
syntax).
SLOCCount can also take a large list of files and automatically categorize
them using a number of different heuristics. The heuristics automatically
determine if a file is a source code file or not, and if so, which language
it's written in. It will even examine file headers to attempt to accurately
determine the file's true type. As a result, you can analyze large systems
completely automatically.
Finally, SLOCCount has some report-generating tools to collect the data
generated, and then present it in several different formats and sorted
different ways. The report-generating tool can also generate simple tab-
separated files so data can be passed on to other analysis tools (such as
spreadsheets and database systems).
¦ ¦ ¦ ¦ ![SVNWeb SVNWeb](/images/subversion.png)
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- sloccount>0:misc/sloccount
- To install the port:
- cd /usr/ports/misc/sloccount/ && make install clean
- To add the package, run one of these commands:
- pkg install misc/sloccount
- pkg install sloccount
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: sloccount
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (sloccount-2.26.tar.gz) = fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b
SIZE (sloccount-2.26.tar.gz) = 190948
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:
-
- perl5>=5.36<5.37 : lang/perl5.36
- Runtime dependencies:
-
- perl5>=5.36<5.37 : lang/perl5.36
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for sloccount-2.26_2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- misc_sloccount
- USES:
- perl5 shebangfix
- 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.26_2 18 Mar 2024 12:28:12
![commit hash: 5d5c60d13c90d82707025cd47c26544f9209184c commit hash: 5d5c60d13c90d82707025cd47c26544f9209184c](/images/git.png) ![commit hash: 5d5c60d13c90d82707025cd47c26544f9209184c commit hash: 5d5c60d13c90d82707025cd47c26544f9209184c](/images/codeberg.svg) ![commit hash: 5d5c60d13c90d82707025cd47c26544f9209184c commit hash: 5d5c60d13c90d82707025cd47c26544f9209184c](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Christian Weisgerber (naddy) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
misc/sloccount: Move man pages to share/man
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51
![commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4](/images/git.png) ![commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4](/images/codeberg.svg) ![commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Stefan Eßer (se) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
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.26_1 07 Sep 2022 21:10:59
![commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52](/images/git.png) ![commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52](/images/codeberg.svg) ![commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Stefan Eßer (se) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
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.26_1 20 Jul 2022 14:22:28
![commit hash: b832da1849e4bcfff05da62c69ee4a556e83d2d1 commit hash: b832da1849e4bcfff05da62c69ee4a556e83d2d1](/images/git.png) ![commit hash: b832da1849e4bcfff05da62c69ee4a556e83d2d1 commit hash: b832da1849e4bcfff05da62c69ee4a556e83d2d1](/images/codeberg.svg) ![commit hash: b832da1849e4bcfff05da62c69ee4a556e83d2d1 commit hash: b832da1849e4bcfff05da62c69ee4a556e83d2d1](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Tobias C. Berner (tcberner) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
misc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adam@vectors.cx>
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan E <alane@FreeBSD.org>
* Alex Semenyaka <alex@rinet.ru>
* Alex Stangl <alex@stangl.us>
* Alexander Logvinov <avl@FreeBSD.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexander Nusov <alexander.nusov@nfvexpress.com>
* Alexander Timoshenko <gonzo@univ.kiev.ua> (Only the first 15 lines of the commit message are shown above ) |
2.26_1 06 Apr 2021 14:31:07
![commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb](/images/git.png) ![commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb](/images/codeberg.svg) ![commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Mathieu Arnold (mat) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Remove # $FreeBSD$ from Makefiles. |
2.26_1 10 Sep 2018 13:14:52
![Revision:479406 Revision:479406](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
mat ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Add DOCS options to ports that should have one.
Also various fixes related to said option.
PR: 230864
Submitted by: mat
exp-runs by: antoine |
2.26_1 19 May 2016 10:44:12
![Revision:415499 Revision:415499](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
amdmi3 ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
- Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by: portmgr blanket |
2.26_1 16 Nov 2014 21:54:15
![Revision:372652 Revision:372652](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
amdmi3 ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
- Fix shebangs
MFH: 2014Q4
Approved by: portmgr blanket |
2.26 29 Mar 2014 14:04:00
![Revision:349513 Revision:349513](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
amdmi3 ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
- Support staging
PR: 187332
Submitted by: amdmi3
Approved by: maintainer timeout, portmgr (blanket) |
20 Sep 2013 20:50:59
![Revision:327745 Revision:327745](/images/subversion.png)
|
bapt ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Add NO_STAGE all over the place in preparation for the staging support (cat:
misc) |
2.26 02 Sep 2013 09:22:47
![Revision:325955 Revision:325955](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
az ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
- convert to the new perl5 framework
Approved by: portmgr (bapt@, blanket) |
2.26 19 Mar 2011 12:38:54
![files touched by this commit files touched by this commit](/images/logs.gif) |
miwi ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
- Get Rid MD5 support |
2.26 13 Sep 2009 13:06:43
![files touched by this commit files touched by this commit](/images/logs.gif) |
araujo ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
- Update to 2.26.
PR: ports/138314
Submitted by: Sylvio Cesar <scjamorim@bsd.com.br>
Approved by: maintainer timeout (more than 2 weeks) |
2.22 22 Jan 2006 12:59:47
![files touched by this commit files touched by this commit](/images/logs.gif) |
edwin ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
SHA256ify
Approved by: krion@ |
2.22 31 Mar 2004 03:12:58
![files touched by this commit files touched by this commit](/images/logs.gif) |
trevor ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
SIZEify (maintainer timeout) |
2.22 10 Oct 2003 22:41:36
![files touched by this commit files touched by this commit](/images/logs.gif) |
glewis ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
. Update to 2.22.
PR: 57345
Submitted by: Rui Lopes <rui@ruilopes.com> |
2.14 24 Sep 2003 09:37:11
![files touched by this commit files touched by this commit](/images/logs.gif) |
osa ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Make portlint(1) happy by changing strip to ${STRIP_CMD}
Submitted by: Oleg Karachevtsev <ok@etrust.ru>
PR: 56998 |
2.14 21 Feb 2003 12:48:19
![files touched by this commit files touched by this commit](/images/logs.gif) |
knu ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
De-pkg-comment. |
2.14 27 Jul 2002 15:27:34
![files touched by this commit files touched by this commit](/images/logs.gif) |
pat ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Update to 2.14
PR: ports/41038
Submitted by: maintainer |
2.13 01 Jun 2002 16:29:05
![files touched by this commit files touched by this commit](/images/logs.gif) |
ijliao ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
upgrade to 2.13
PR: 38797
Submitted by: maintainer |
2.12 31 Mar 2002 16:53:21
![files touched by this commit files touched by this commit](/images/logs.gif) |
pat ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Update to 2.12
PR: 36574
Submitted by: maintainer |
13 Mar 2002 14:34:56
![files touched by this commit files touched by this commit](/images/logs.gif) |
ijliao ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
ugprade to 2.11
take maintainership
PR: 35854
Submitted by: Thomas Hurst <freaky@aagh.net> (new maintainer) |
28 Feb 2002 22:03:40
![commit hash: fp1.25319@dev.null.freshports.org commit hash: fp1.25319@dev.null.freshports.org](/images/git.png) ![commit hash: fp1.25319@dev.null.freshports.org commit hash: fp1.25319@dev.null.freshports.org](/images/codeberg.svg) ![commit hash: fp1.25319@dev.null.freshports.org commit hash: fp1.25319@dev.null.freshports.org](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
pat ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Update to 2.10 |
19 Jan 2002 14:43:53
![commit hash: fp1.23542@dev.null.freshports.org commit hash: fp1.23542@dev.null.freshports.org](/images/git.png) ![commit hash: fp1.23542@dev.null.freshports.org commit hash: fp1.23542@dev.null.freshports.org](/images/codeberg.svg) ![commit hash: fp1.23542@dev.null.freshports.org commit hash: fp1.23542@dev.null.freshports.org](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
ijliao ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
upgrade to 2.09 |
27 Aug 2001 16:43:26
![commit hash: fp1.17968@dev.null.freshports.org commit hash: fp1.17968@dev.null.freshports.org](/images/git.png) ![commit hash: fp1.17968@dev.null.freshports.org commit hash: fp1.17968@dev.null.freshports.org](/images/codeberg.svg) ![commit hash: fp1.17968@dev.null.freshports.org commit hash: fp1.17968@dev.null.freshports.org](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
kevlo ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Update to version 1.9 |
21 May 2001 02:41:58
![commit hash: fp1.13925@dev.null.freshports.org commit hash: fp1.13925@dev.null.freshports.org](/images/git.png) ![commit hash: fp1.13925@dev.null.freshports.org commit hash: fp1.13925@dev.null.freshports.org](/images/codeberg.svg) ![commit hash: fp1.13925@dev.null.freshports.org commit hash: fp1.13925@dev.null.freshports.org](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
greid ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Use 'md5 -q' instead of the non-existant 'md5sum' (I presume this is a
Linux-ism and as such don't see how this port could ever work). |
20 May 2001 14:16:02
![commit hash: fp1.13911@dev.null.freshports.org commit hash: fp1.13911@dev.null.freshports.org](/images/git.png) ![commit hash: fp1.13911@dev.null.freshports.org commit hash: fp1.13911@dev.null.freshports.org](/images/codeberg.svg) ![commit hash: fp1.13911@dev.null.freshports.org commit hash: fp1.13911@dev.null.freshports.org](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
ijliao ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
add sloccount Counting physical Source Lines of Code (SLOC) |