FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

We also have a status page: https://freshports.wordpress.com/

Port details
sloccount Counts physical Source Lines of Code (SLOC)
2.26_1 misc on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: freaky@aagh.net search for ports maintained by this maintainer
Port Added: 20 May 2001 10:16:02
License: not specified in port
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).

WWW: http://www.dwheeler.com/sloccount/
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (41 items)
  1. bin/ada_count
  2. bin/asm_count
  3. bin/awk_count
  4. bin/break_filelist
  5. bin/c_count
  6. bin/cobol_count
  7. bin/compute_all
  8. bin/compute_sloc_lang
  9. bin/count_extensions
  10. bin/count_unknown_ext
  11. bin/csh_count
  12. bin/exp_count
  13. bin/f90_count
  14. bin/fortran_count
  15. bin/generic_count
  16. bin/get_sloc
  17. bin/get_sloc_details
  18. bin/haskell_count
  19. bin/java_count
  20. bin/jsp_count
  21. bin/lex_count
  22. bin/lexcount1
  23. bin/lisp_count
  24. bin/make_filelists
  25. bin/makefile_count
  26. bin/ml_count
  27. bin/modula3_count
  28. bin/objc_count
  29. bin/pascal_count
  30. bin/perl_count
  31. bin/php_count
  32. bin/print_sum
  33. bin/python_count
  34. bin/ruby_count
  35. bin/sed_count
  36. bin/sh_count
  37. bin/show_filecount
  38. bin/sloccount
  39. bin/sql_count
  40. bin/tcl_count
  41. man/man1/sloccount.1.gz
  42. Collapse this list.

To install the port: cd /usr/ports/misc/sloccount/ && make install clean
To add the package: pkg install sloccount

PKGNAME: sloccount

distinfo:

SHA256 (sloccount-2.26.tar.gz) = fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b
SIZE (sloccount-2.26.tar.gz) = 190948


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. perl5>=5.24<5.25 : lang/perl5.24
Runtime dependencies:
  1. perl5>=5.24<5.25 : lang/perl5.24
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
perl5 shebangfix

Master Sites:
  1. http://www.dwheeler.com/sloccount/

Number of commits found: 21

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
19 May 2016 10:44:12
Original commit files touched by this commit  2.26_1
Revision:415499
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
16 Nov 2014 21:54:15
Original commit files touched by this commit  2.26_1
Revision:372652
amdmi3 search for other commits by this committer
- Fix shebangs

MFH:		2014Q4
Approved by:	portmgr blanket
29 Mar 2014 14:04:00
Original commit files touched by this commit  2.26
Revision:349513
amdmi3 search for other commits by this committer
- Support staging

PR:		187332
Submitted by:	amdmi3
Approved by:	maintainer timeout, portmgr (blanket)
20 Sep 2013 20:50:59
Refresh Original commit files touched by this commit
Revision:327745  Sanity Test Failure
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
misc)
02 Sep 2013 09:22:47
Original commit files touched by this commit  2.26
Revision:325955
az search for other commits by this committer
- convert to the new perl5 framework

Approved by:	portmgr (bapt@, blanket)
19 Mar 2011 12:38:54
Original commit files touched by this commit  2.26
miwi search for other commits by this committer
- Get Rid MD5 support
13 Sep 2009 13:06:43
Original commit files touched by this commit  2.26
araujo search for other commits by this committer
- Update to 2.26.

PR:             ports/138314
Submitted by:   Sylvio Cesar <scjamorim@bsd.com.br>
Approved by:    maintainer timeout (more than 2 weeks)
22 Jan 2006 12:59:47
Original commit files touched by this commit  2.22
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
31 Mar 2004 03:12:58
Original commit files touched by this commit  2.22
trevor search for other commits by this committer
SIZEify (maintainer timeout)
10 Oct 2003 22:41:36
Original commit files touched by this commit  2.22
glewis search for other commits by this committer
. Update to 2.22.

PR:             57345
Submitted by:   Rui Lopes <rui@ruilopes.com>
24 Sep 2003 09:37:11
Original commit files touched by this commit  2.14
osa search for other commits by this committer
Make portlint(1) happy by changing strip to ${STRIP_CMD}

Submitted by:   Oleg Karachevtsev <ok@etrust.ru>
PR:             56998
21 Feb 2003 12:48:19
Original commit files touched by this commit  2.14
knu search for other commits by this committer
De-pkg-comment.
27 Jul 2002 15:27:34
Original commit files touched by this commit  2.14
pat search for other commits by this committer
Update to 2.14

PR:             ports/41038
Submitted by:   maintainer
01 Jun 2002 16:29:05
Original commit files touched by this commit  2.13
ijliao search for other commits by this committer
upgrade to 2.13

PR:             38797
Submitted by:   maintainer
31 Mar 2002 16:53:21
Original commit files touched by this commit  2.12
pat search for other commits by this committer
Update to 2.12

PR:             36574
Submitted by:   maintainer
13 Mar 2002 14:34:56
Original commit files touched by this commit
ijliao search for other commits by this committer
ugprade to 2.11
take maintainership

PR:             35854
Submitted by:   Thomas Hurst <freaky@aagh.net> (new maintainer)
28 Feb 2002 22:03:40
Original commit files touched by this commit
pat search for other commits by this committer
Update to 2.10    
19 Jan 2002 14:43:53
Original commit files touched by this commit
ijliao search for other commits by this committer
upgrade to 2.09    
27 Aug 2001 16:43:26
Original commit files touched by this commit
kevlo search for other commits by this committer
Update to version 1.9    
21 May 2001 02:41:58
Original commit files touched by this commit
greid search for other commits by this committer
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
Original commit files touched by this commit
ijliao search for other commits by this committer
add sloccount   Counting physical Source Lines of Code (SLOC)    

Number of commits found: 21

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
opensslNov 02
openssl-develNov 02
wordpressNov 01
php56Oct 30
php70Oct 30
php71Oct 30
wiresharkOct 30
chromiumOct 28
wgetOct 27
wgetOct 27
openoffice-4*Oct 26
openoffice-devel*Oct 26
gitlabOct 25
nodeOct 25
node4Oct 25

No vulnerabilities have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31876
Broken 126
Deprecated 55
Ignore 364
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 50
Expired 11
Set to expire 47
Interactive 0
new 24 hours 3
new 48 hours11
new 7 days3210
new fortnight3397
new month3447

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.