pkgsrc/devel/cloc/Makefile

27 lines
616 B
Makefile
Raw Normal View History

2018-08-22 11:42:51 +02:00
# $NetBSD: Makefile,v 1.3 2018/08/22 09:43:28 wiz Exp $
Update to 1.76 New Languages: o Agda o AsciiDoc o BrightScript o Chapel o Cucumber o Drools o F# Script o Fish Shell o Gencat NLS o GraphQL o HCL o Idris o Lean o Literate Idris o Oracle PL/SQL o PL/M o ProGuard o RAML o SWIG o Skylark o Smalltalk o Solidity o Stata o TOML Updates: o Performance improvement by using multiple cores for both straight counts and --diff via the new --processes option added by Sietse Snel, https://github.com/stsnel. o Support --git on Windows. o Improve identification of Qt Project files (instead of IDL). o Fix language determination logic so that languages that map to the same file extension and have ties in the number of accumulated points always return the same result. o Add support for replace_between_regex in --write_lang_def and --read_lang_def. o Add SUM section to JSON, YAML output with --diff. o Make numeric values in JSON output numbers instead of strings. o Optionally exclude autogenerated files with new --no-autogen (currently only supports the Go language). o New option, --git, to allow git commit hashes and branch names as inputs (issue 205). o Add .asd extension for Lisp. o Add .snapshot to the list of excluded directories. o New option --no-autogen to ignore files generated by code production systems like GNU autoconf. o Rename "ASP.Net" to "ASP.NET". o Improvements to Specman e parsing (issue 175). o Support uppercase CPP extension (issue 177). o Support triple extensions. o Improve language distinction between C# and Smalltalk (issue 160). o Consider Elixir docs as comments. o Handle Python docstrings made with single quotes. o Replace built-in "is it a file?" and "is it a directory?" with native Perl -f and -d operators (these were unreliable on older versions of Perl on Windows). o Put timeout around Regexp::Common regex evaluation to prevent hangs on unbalanced comment markers within huge strings (issue 206). o Fix Pascal regex wiht '{' for Perl version >= 5.26 (issue 209) and '(*', '*)' comment matching (issue 212). o Rename Antlr to ANTLR Grammar. o Add .g4 extension fo ANTLR Grammar. o Replace soon-to-be deprecated File::Glob::glob() with File::Glob::bsd_glob() (issue 214). o Revert from charset=iso-8859-1 to charset=utf-8 on undocumented --html option. o For Assembly, process # comments before C++ comments. Bug Fixes: o Remove temp directory prefix for YAML and JSON output when counting git archives with --by-file. o Properly handle git files with spaces embedded in the file name. o Remove a debug regex inadvertently included in v1.74. o Correct handling of remove_between_general and remove_between_regex when running with --read-lang-def (issue 166) o Fix bug handling balanced parentheses in Forth (issue 183) o Force legal output filenames with --count-and-diff and --out (issue #220). (from cloc-1.76/Unix/NEWS)
2018-05-29 04:56:49 +02:00
DISTNAME= cloc-1.76
2018-08-22 11:42:51 +02:00
PKGREVISION= 1
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"