On 2014/10/13 23:24, Sebastian Benoit wrote: > Hi, > > attached is a port (based on freebsds port) for sloccount:
Slightly lacking MIME parts - I'm glad it isn't just me that does that :) > quote from http://www.dwheeler.com/sloccount/sloccount.html > > SLOCCount (pronounced "sloc-count") is a suite of programs for counting > physical source lines of code (SLOC) in potentially large software systems. > Thus, SLOCCount is a "software metrics tool" or "software measurement tool". > SLOCCount was developed by David A. Wheeler, originally to count SLOC in a > GNU/Linux distribution, but it can be used for counting the SLOC of > arbitrary software systems. > > ------ > > 2 problems: > > * binaries are not striped > > i did not find a way yet to fix this Possibly patch to use BSD_INSTALL_PROGRAM to install the program file. > * portcheck complains about FULLPKGNAME: > > trailing whitespace in pkg/DESCR s/ *$// and make sure there's no blank line at the end > share/doc/${FULLPKGNAME}/ Patch (or you may be able to override a variable with FAKE_FLAGS) so that it uses a directory name that doesn't include the version number
