7e79cf13c2
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages, with the following features: * Reads user-supplied language comment definition files * Allows results from multiple runs to be summed together by language and by project. * Produces results in a variety of formats: plain text, XML, YAML, CSV. * Counts code within compressed archives (tarballs, Zip files, Java .ear files). * Has numerous troubleshooting options. * Handles file and directory names with spaces and other unusual characters.
25 lines
603 B
Makefile
25 lines
603 B
Makefile
# $NetBSD: Makefile,v 1.1 2017/04/23 03:29:00 markd Exp $
|
|
|
|
DISTNAME= cloc-1.72
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=AlDanial/}
|
|
GITHUB_PROJECT= cloc
|
|
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/AlDanial/cloc
|
|
COMMENT= Count lines of code
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= # none
|
|
USE_TOOLS+= perl:run gmake
|
|
|
|
DEPENDS+= p5-Algorithm-Diff-[0-9]*:../../devel/p5-Algorithm-Diff
|
|
DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
|
|
|
|
REPLACE_PERL+= Unix/cloc
|
|
|
|
NO_BUILD= yes
|
|
BUILD_DIRS= Unix
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|