From owner-dev-commits-ports-all@freebsd.org Sun May 16 15:26:15 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5DF07644E65; Sun, 16 May 2021 15:26:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FjmLv2826z4ZL1; Sun, 16 May 2021 15:26:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3153C1B1CB; Sun, 16 May 2021 15:26:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14GFQFAl066090; Sun, 16 May 2021 15:26:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14GFQFIh066089; Sun, 16 May 2021 15:26:15 GMT (envelope-from git) Date: Sun, 16 May 2021 15:26:15 GMT Message-Id: <202105161526.14GFQFIh066089@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: f3d9a7875f56 - main - misc/cloc: Add LICENSE_FILE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f3d9a7875f5638ac86b576ce53684ca85c1290d0 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 May 2021 15:26:15 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3d9a7875f5638ac86b576ce53684ca85c1290d0 commit f3d9a7875f5638ac86b576ce53684ca85c1290d0 Author: Po-Chuan Hsieh AuthorDate: 2021-05-16 15:13:42 +0000 Commit: Po-Chuan Hsieh 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 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