Date: Sun, 16 May 2021 15:26:15 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f3d9a7875f56 - main - misc/cloc: Add LICENSE_FILE Message-ID: <202105161526.14GFQFIh066089@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3d9a7875f5638ac86b576ce53684ca85c1290d0 commit f3d9a7875f5638ac86b576ce53684ca85c1290d0 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-05-16 15:13:42 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-05-16 15:23:55 +0000 misc/cloc: Add LICENSE_FILE - Update MASTER_SITES: use upstream release tarball - Add NO_ARCH - Update pkg-descr - Take maintainership --- misc/cloc/Makefile | 22 ++++++++++++---------- misc/cloc/distinfo | 6 +++--- misc/cloc/pkg-descr | 8 +++----- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/misc/cloc/Makefile b/misc/cloc/Makefile index 6eadcf493bfa..2ffb6255d937 100644 --- a/misc/cloc/Makefile +++ b/misc/cloc/Makefile @@ -2,26 +2,28 @@ PORTNAME= cloc PORTVERSION= 1.90 -DISTVERSIONPREFIX= v CATEGORIES= misc +MASTER_SITES= https://github.com/AlDanial/cloc/releases/download/v${PORTVERSION}/ -MAINTAINER= ports@FreeBSD.org -COMMENT= Counts lines of code +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Count lines of code LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= p5-Algorithm-Diff>=0:devel/p5-Algorithm-Diff -USES= perl5 - -USE_GITHUB= yes -GH_ACCOUNT= AlDanial - +USES= perl5 shebangfix USE_PERL5= run -PLIST_FILES= bin/${PORTNAME} + +NO_ARCH= yes NO_BUILD= yes +PLIST_FILES= bin/cloc + +SHEBANG_FILES= cloc + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/cloc ${STAGEDIR}${PREFIX}/bin/ .include <bsd.port.mk> diff --git a/misc/cloc/distinfo b/misc/cloc/distinfo index d87a7979fb84..42931680505f 100644 --- a/misc/cloc/distinfo +++ b/misc/cloc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620852888 -SHA256 (AlDanial-cloc-v1.90_GH0.tar.gz) = 60b429dd2aa5cd65707b359dcbcbeb710c8e4db880886528ced0962c67e52548 -SIZE (AlDanial-cloc-v1.90_GH0.tar.gz) = 596758 +TIMESTAMP = 1620928569 +SHA256 (cloc-1.90.tar.gz) = 152502a61d4bae4a406a05a01bf52489b310ec03dbd8c645d0bb051fa4717ddb +SIZE (cloc-1.90.tar.gz) = 614306 diff --git a/misc/cloc/pkg-descr b/misc/cloc/pkg-descr index 98393d1181a4..c566a4340297 100644 --- a/misc/cloc/pkg-descr +++ b/misc/cloc/pkg-descr @@ -1,7 +1,5 @@ -cloc counts blank lines, comment lines, and physical lines of source -code in many programming languages. - -cloc contains code from David Wheeler's SLOCCount and Damian Conway and -Abigail's Perl module Regexp::Common. +cloc counts blank lines, comment lines, and physical lines of source code in +many programming languages. Given two versions of a code base, cloc can compute +differences in blank, comment, and source lines. WWW: https://github.com/AlDanial/cloc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105161526.14GFQFIh066089>