pkgsrc/devel/cloc/Makefile

29 lines
699 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2021/06/28 19:41:36 mcf Exp $
cloc: update to 1.90. Release Notes for cloc version 1.90: New Languages and File Types: o BizTalk Orchestration o BizTalk Pipeline o Cake Build Script o C# Designer o CSV o Delphi Form o Gleam o Godot Resource o Godot Scene o Juniper Junos o ReScript o Ring o Visual Studio Solution o Web Services Description o Zig Updates: o Dockerfile: add .[dD]ockerfile as an extension; treat files named Dockerfile.ext as Dockerfile unless ext maps to a recognized language other than cmake or m4. o Identify autogenerated C# files. o If getting input from a list file or using a language definition file, also check for (and use, if it exists) an options.txt file in the same directory. o Use --csv-delimiter for --ignored, --categorized output. o Support diff summation in csv format. o Update cloc's Unix Makefile to support macOS o Rename Junos to Juniper Junos o Stratify Visual Basic to for Applications, .NET, Script o Use tar on Windows 10 instead of zip with --git --diff o Track upper/lowercase file names on Windows to permit consistent diffs. o Support nested Elm comments. o Update to Regexp::Common 2017060201. o Minimum Perl version is now 5.10.0 o New options --skip-leading, --summary-cutoff o Refine comment definitions for ASP.NET, Razor o Handle Julia docstrings. o Adjust timeout and diff_timeout values to avoid alarm overflows. o Add extensions .btproj, .msbuild for MSBuild script Bug Fixes: o Add missing Raku_or_Prolog() subroutine. o Handle UTF encoded list files (file given to --list-file). o Improved support for options parsing from config file. o Catch unidentified files via --diff-list-file. o Don't insert extra newlines when stripping with --unicode. o Strip literal '\x' from JSON output strings. o Improve logic for detecting Unicode files less than 90 bytes in size. o Fix divide by zero classifying nonreadable .b files. o Escape backslash for 'report_file' entry in JSON, YAML on Windows.
2021-05-02 16:23:50 +02:00
DISTNAME= cloc-1.90
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=AlDanial/}
cloc: update to 1.90. Release Notes for cloc version 1.90: New Languages and File Types: o BizTalk Orchestration o BizTalk Pipeline o Cake Build Script o C# Designer o CSV o Delphi Form o Gleam o Godot Resource o Godot Scene o Juniper Junos o ReScript o Ring o Visual Studio Solution o Web Services Description o Zig Updates: o Dockerfile: add .[dD]ockerfile as an extension; treat files named Dockerfile.ext as Dockerfile unless ext maps to a recognized language other than cmake or m4. o Identify autogenerated C# files. o If getting input from a list file or using a language definition file, also check for (and use, if it exists) an options.txt file in the same directory. o Use --csv-delimiter for --ignored, --categorized output. o Support diff summation in csv format. o Update cloc's Unix Makefile to support macOS o Rename Junos to Juniper Junos o Stratify Visual Basic to for Applications, .NET, Script o Use tar on Windows 10 instead of zip with --git --diff o Track upper/lowercase file names on Windows to permit consistent diffs. o Support nested Elm comments. o Update to Regexp::Common 2017060201. o Minimum Perl version is now 5.10.0 o New options --skip-leading, --summary-cutoff o Refine comment definitions for ASP.NET, Razor o Handle Julia docstrings. o Adjust timeout and diff_timeout values to avoid alarm overflows. o Add extensions .btproj, .msbuild for MSBuild script Bug Fixes: o Add missing Raku_or_Prolog() subroutine. o Handle UTF encoded list files (file given to --list-file). o Improved support for options parsing from config file. o Catch unidentified files via --diff-list-file. o Don't insert extra newlines when stripping with --unicode. o Strip literal '\x' from JSON output strings. o Improve logic for detecting Unicode files less than 90 bytes in size. o Fix divide by zero classifying nonreadable .b files. o Escape backslash for 'report_file' entry in JSON, YAML on Windows.
2021-05-02 16:23:50 +02:00
GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= fcambus@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
DEPENDS+= p5-Parallel-ForkManager-[0-9]*:../../devel/p5-Parallel-ForkManager
REPLACE_PERL+= Unix/cloc
MAKE_ENV+= PODDATE=2021-05-01
NO_BUILD= yes
BUILD_DIRS= Unix
.include "../../mk/bsd.pkg.mk"