Re: update: textproc/cloc 1.86 -> 1.90

2021-08-02 Thread Joerg Jung
On Fri, Jul 30, 2021 at 01:26:28AM +, Yifei Zhan wrote:
> Hi,
> 
> This is an update to cloc 1.90, which fixes some minor bugs and adds 
> support for more languages. I also updated the MASTER_SITES link to the 
> new syntax and added a missing TESTDEP. All included tests except one 
> related to git submodule are successful which is expected since we are 
> using tarball instead of git clone.

Committed, thanks!
 
> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/cloc/Makefile,v
> retrieving revision 1.16
> diff -u -p -u -r1.16 Makefile
> --- Makefile  14 Jun 2021 23:57:16 -  1.16
> +++ Makefile  30 Jul 2021 01:14:37 -
> @@ -2,9 +2,8 @@
>  
>  COMMENT= count lines of code
>  
> -V=   1.86
> +V=   1.90
>  DISTNAME=cloc-${V}
> -REVISION=0
>  
>  CATEGORIES=  textproc devel
>  
> @@ -15,15 +14,19 @@ MAINTAINER=   Joerg Jung   # GPLv2+
>  PERMIT_PACKAGE=  Yes
>  
> -MASTER_SITES=
> https://github.com/AlDanial/cloc/releases/download/${V}/
> +MASTER_SITES=
> https://github.com/AlDanial/cloc/releases/download/v${V}/
>  
>  NO_BUILD=Yes
>  PKG_ARCH=*
>  
>  RUN_DEPENDS= devel/p5-Algorithm-Diff \
>   devel/p5-Parallel-ForkManager \
> - textproc/p5-Regexp-Common
> + textproc/p5-Regexp-Common \
> + security/p5-Digest-Perl-MD5
> +
>  BUILD_DEPENDS+=  ${RUN_DEPENDS}
> +
> +TEST_DEPENDS+=   archivers/unzip
>  
>  FAKE_FLAGS=  prefix="${PREFIX}" \
>   man_prefix="${PREFIX}" \
> 
> Index: distinfo
> ===
> RCS file: /cvs/ports/textproc/cloc/distinfo,v
> retrieving revision 1.11
> diff -u -p -u -r1.11 distinfo
> --- distinfo  1 Jun 2020 21:24:48 -   1.11
> +++ distinfo  30 Jul 2021 01:15:08 -
> @@ -1,2 +1,2 @@
> -SHA256 (cloc-1.86.tar.gz) = Z7flCgOwKQMULiA4DHcWvbUwYRMtXg353kpjiycSZ+M=
> -SIZE (cloc-1.86.tar.gz) = 554097
> +SHA256 (cloc-1.90.tar.gz) = FSUCph1LrkpAagWgG/UkibMQ7APb2MZF0LsFH6Rxfds=
> +SIZE (cloc-1.90.tar.gz) = 614306
> 



update: textproc/cloc 1.86 -> 1.90

2021-07-29 Thread Yifei Zhan
Hi,

This is an update to cloc 1.90, which fixes some minor bugs and adds 
support for more languages. I also updated the MASTER_SITES link to the 
new syntax and added a missing TESTDEP. All included tests except one 
related to git submodule are successful which is expected since we are 
using tarball instead of git clone.

Index: Makefile
===
RCS file: /cvs/ports/textproc/cloc/Makefile,v
retrieving revision 1.16
diff -u -p -u -r1.16 Makefile
--- Makefile14 Jun 2021 23:57:16 -  1.16
+++ Makefile30 Jul 2021 01:14:37 -
@@ -2,9 +2,8 @@
 
 COMMENT=   count lines of code
 
-V= 1.86
+V= 1.90
 DISTNAME=  cloc-${V}
-REVISION=  0
 
 CATEGORIES=textproc devel
 
@@ -15,15 +14,19 @@ MAINTAINER= Joerg Jung https://github.com/AlDanial/cloc/releases/download/${V}/
+MASTER_SITES=  
https://github.com/AlDanial/cloc/releases/download/v${V}/
 
 NO_BUILD=  Yes
 PKG_ARCH=  *
 
 RUN_DEPENDS=   devel/p5-Algorithm-Diff \
devel/p5-Parallel-ForkManager \
-   textproc/p5-Regexp-Common
+   textproc/p5-Regexp-Common \
+   security/p5-Digest-Perl-MD5
+
 BUILD_DEPENDS+=${RUN_DEPENDS}
+
+TEST_DEPENDS+= archivers/unzip
 
 FAKE_FLAGS=prefix="${PREFIX}" \
man_prefix="${PREFIX}" \

Index: distinfo
===
RCS file: /cvs/ports/textproc/cloc/distinfo,v
retrieving revision 1.11
diff -u -p -u -r1.11 distinfo
--- distinfo1 Jun 2020 21:24:48 -   1.11
+++ distinfo30 Jul 2021 01:15:08 -
@@ -1,2 +1,2 @@
-SHA256 (cloc-1.86.tar.gz) = Z7flCgOwKQMULiA4DHcWvbUwYRMtXg353kpjiycSZ+M=
-SIZE (cloc-1.86.tar.gz) = 554097
+SHA256 (cloc-1.90.tar.gz) = FSUCph1LrkpAagWgG/UkibMQ7APb2MZF0LsFH6Rxfds=
+SIZE (cloc-1.90.tar.gz) = 614306



[UPDATE] textproc/cloc to 1.84

2019-11-09 Thread Frederic Cambus
Hi ports@,

Here is a diff to update cloc to 1.84

Comments? OK?

Index: Makefile
===
RCS file: /cvs/ports/textproc/cloc/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile12 Jul 2019 20:49:57 -  1.13
+++ Makefile9 Nov 2019 14:18:10 -
@@ -2,7 +2,7 @@
 
 COMMENT=   count lines of code
 
-V= 1.80
+V= 1.84
 DISTNAME=  cloc-${V}
 
 CATEGORIES=textproc devel
Index: distinfo
===
RCS file: /cvs/ports/textproc/cloc/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo25 Feb 2019 17:54:46 -  1.9
+++ distinfo9 Nov 2019 14:18:10 -
@@ -1,2 +1,2 @@
-SHA256 (cloc-1.80.tar.gz) = CC9TUw7uP57oTsRJ7KWad/8RQlDNfa+VGWeVN7WyHWc=
-SIZE (cloc-1.80.tar.gz) = 453965
+SHA256 (cloc-1.84.tar.gz) = w/CmvSMZEQQYzLPlWnobbQ7f11KL/Srl1TCTir6Q8lQ=
+SIZE (cloc-1.84.tar.gz) = 518583



[update] textproc/cloc

2017-04-29 Thread Joerg Jung
Hi,

please find below an update for textproc/cloc to version 1.72.
Among others, new release added support for 11 additional languages.

Patch was merged upstream, thus can be removed.

OK?

Regards,
Joerg


Index: Makefile
===
RCS file: /cvs/ports/textproc/cloc/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile6 Feb 2017 22:29:57 -   1.9
+++ Makefile29 Apr 2017 19:53:36 -
@@ -2,9 +2,8 @@
 
 COMMENT=   count lines of code
 
-V= 1.70
+V= 1.72
 DISTNAME=  cloc-${V}
-REVISION=  0
 
 CATEGORIES=textproc devel
 
Index: distinfo
===
RCS file: /cvs/ports/textproc/cloc/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo18 Nov 2016 23:43:50 -  1.6
+++ distinfo29 Apr 2017 19:53:36 -
@@ -1,2 +1,2 @@
-SHA256 (cloc-1.70.tar.gz) = W1dLrIWw/0xI18P+MleHA7X7eWaJ3mkrkD7kM0lnFhU=
-SIZE (cloc-1.70.tar.gz) = 318879
+SHA256 (cloc-1.72.tar.gz) = 39I4EVlI72ycP5yJCU/5+3p3/x0j0P+BrtfERVZfh74=
+SIZE (cloc-1.72.tar.gz) = 347245
Index: patches/patch-Unix_Makefile
===
RCS file: patches/patch-Unix_Makefile
diff -N patches/patch-Unix_Makefile
--- patches/patch-Unix_Makefile 18 Nov 2016 23:43:50 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,26 +0,0 @@
-$OpenBSD: patch-Unix_Makefile,v 1.1 2016/11/18 23:43:50 awolk Exp $
-
-To be removed on a future release containing the
-upstreamed diff from:
-  https://github.com/AlDanial/cloc/pull/136
-
 Unix/Makefile.orig Fri Jul  1 19:53:21 2016
-+++ Unix/Makefile  Fri Nov 18 23:05:40 2016
-@@ -78,7 +78,7 @@ realclean: clean
- 
- # Rule: man - Generate or update manual page
- man:
--  make -f pod2man.mk PACKAGE=$(PACKAGE) makeman
-+  $(MAKE) -f pod2man.mk PACKAGE=$(PACKAGE) makeman
- 
- # Rule: doc - Generate or update all documentation
- doc: man
-@@ -120,7 +120,7 @@ install: install-bin install-man
- # Rule: install-test - for Maintainer only
- install-test:
-   rm -rf tmp
--  make DESTDIR=$$(pwd)/tmp prefix=/usr install
-+  $(MAKE) DESTDIR=$$(pwd)/tmp prefix=/usr install
-   find tmp | sort
- 
- # Rule: dist - for Maintainer only, make distribution



Re: update textproc/cloc 1.64 => 1.70

2016-11-08 Thread Adam Wolk
On Tue, Nov 08, 2016 at 09:56:36PM +0100, Adam Wolk wrote:
> On Tue, Nov 08, 2016 at 09:43:45PM +0100, Joerg Jung wrote:
> > 
> > > Am 08.11.2016 um 15:11 schrieb Adam Wolk :
> > > 
> > > Hi ports@,
> > > 
> > > The cloc project moved from source forge to github and
> > > had a new release v1.70 (July 1, 2016).
> > > 
> > > I'm attaching a diff moving to the new MASTER_SITE
> > > and bumping version to v1.70.
> > > 
> > > CC'ing MAINTAINER.
> > > 
> > > Looking for feedback, OK's.
> > 
> > Can we please switch to use GH_* variables instead of hardcoding 
> > GitHub path? Also please consider switching to the source tarballs,
> > adding the necessary dependencies and install the man page, e.g. read: 
> > https://github.com/AlDanial/cloc/blob/master/Unix/why_this_directory_exists.txt
> > 
> 
> According to Makefile.template:
> # For github: traditional tarballs in /releases/download are normally
> # preferred if available; use them with DISTNAME/MASTER_SITES lines as
> # normal
> 
> using GH_* variables would default to auto generated tarballs that could
> change.
> 
> I will take a look at packaging the tarball with deps & manpage.
> 

I'm attaching a new tarball that is built against the latest 1.70 release.

We had to patch the Makefile hence the tarball vs a diff since I don't want
to force a cvs add for the patches folder before a diff review.

I did add an upstream pull request for part of the Makefile changes:
 - https://github.com/AlDanial/cloc/pull/136

but the second part (/usr/local vs /usr) felt out of scope for a pull request.

Significant changes:
 - do-install is gone
 - LIB_DEPENDS on 2 existing perl 5 ports
 - changing WRKBUILD for the UNIX directory
 - adding 2 patches for Unix/Makefile, one upstreamed (see above)
 - updating PLIST to grab the manpage

Regards,
Adam


cloc-1.70.tar.gz
Description: application/tar-gz


Re: update textproc/cloc 1.64 => 1.70

2016-11-08 Thread Stuart Henderson
On 2016/11/08 21:43, Joerg Jung wrote:
> 
> > Am 08.11.2016 um 15:11 schrieb Adam Wolk :
> > 
> > Hi ports@,
> > 
> > The cloc project moved from source forge to github and
> > had a new release v1.70 (July 1, 2016).
> > 
> > I'm attaching a diff moving to the new MASTER_SITE
> > and bumping version to v1.70.
> > 
> > CC'ing MAINTAINER.
> > 
> > Looking for feedback, OK's.
> 
> Can we please switch to use GH_* variables instead of hardcoding 
> GitHub path?

GH_* are for the autogenerated-by-github crap tarballs in /archive/
for lazy upstreams that don't want to make a proper release. This
uses /releases/ which is not the same as GH_* gives you.



Re: update textproc/cloc 1.64 => 1.70

2016-11-08 Thread Adam Wolk
On Tue, Nov 08, 2016 at 09:43:45PM +0100, Joerg Jung wrote:
> 
> > Am 08.11.2016 um 15:11 schrieb Adam Wolk :
> > 
> > Hi ports@,
> > 
> > The cloc project moved from source forge to github and
> > had a new release v1.70 (July 1, 2016).
> > 
> > I'm attaching a diff moving to the new MASTER_SITE
> > and bumping version to v1.70.
> > 
> > CC'ing MAINTAINER.
> > 
> > Looking for feedback, OK's.
> 
> Can we please switch to use GH_* variables instead of hardcoding 
> GitHub path? Also please consider switching to the source tarballs,
> adding the necessary dependencies and install the man page, e.g. read: 
> https://github.com/AlDanial/cloc/blob/master/Unix/why_this_directory_exists.txt
> 

According to Makefile.template:
# For github: traditional tarballs in /releases/download are normally
# preferred if available; use them with DISTNAME/MASTER_SITES lines as
# normal

using GH_* variables would default to auto generated tarballs that could
change.

I will take a look at packaging the tarball with deps & manpage.



Re: update textproc/cloc 1.64 => 1.70

2016-11-08 Thread Joerg Jung

> Am 08.11.2016 um 15:11 schrieb Adam Wolk :
> 
> Hi ports@,
> 
> The cloc project moved from source forge to github and
> had a new release v1.70 (July 1, 2016).
> 
> I'm attaching a diff moving to the new MASTER_SITE
> and bumping version to v1.70.
> 
> CC'ing MAINTAINER.
> 
> Looking for feedback, OK's.

Can we please switch to use GH_* variables instead of hardcoding 
GitHub path? Also please consider switching to the source tarballs,
adding the necessary dependencies and install the man page, e.g. read: 
https://github.com/AlDanial/cloc/blob/master/Unix/why_this_directory_exists.txt

> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/cloc/Makefile,v
> retrieving revision 1.7
> diff -u -p -r1.7 Makefile
> --- Makefile5 Jul 2015 07:54:57 -1.7
> +++ Makefile8 Nov 2016 14:00:10 -
> @@ -2,7 +2,8 @@
> 
> COMMENT=count lines of code
> 
> -DISTNAME=cloc-1.64
> +V=1.70
> +DISTNAME=cloc-${V}
> DIST_SUBDIR=cloc
> 
> CATEGORIES=textproc devel
> @@ -14,7 +15,7 @@ MAINTAINER=Joerg Jung  # GPLv2+
> PERMIT_PACKAGE_CDROM=Yes
> 
> -MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=cloc/}
> +MASTER_SITES=
> https://github.com/AlDanial/cloc/releases/download/v${V}/
> DISTFILES=  ${DISTNAME}.pl
> EXTRACT_ONLY=
> 
> Index: distinfo
> ===
> RCS file: /cvs/ports/textproc/cloc/distinfo,v
> retrieving revision 1.5
> diff -u -p -r1.5 distinfo
> --- distinfo5 Jul 2015 07:54:57 -1.5
> +++ distinfo8 Nov 2016 14:00:10 -
> @@ -1,2 +1,2 @@
> -SHA256 (cloc/cloc-1.64.pl) = ee3qfqH0QrFjIAHiNBgZOuRXGBDmDei9JeSRA21g6z0=
> -SIZE (cloc/cloc-1.64.pl) = 408977
> +SHA256 (cloc/cloc-1.70.pl) = ltlmWubAtc8+/jd3AMAqeisF43RqIZkd66WWOS0FFc8=
> +SIZE (cloc/cloc-1.70.pl) = 448542


update textproc/cloc 1.64 => 1.70

2016-11-08 Thread Adam Wolk
Hi ports@,

The cloc project moved from source forge to github and
had a new release v1.70 (July 1, 2016).

I'm attaching a diff moving to the new MASTER_SITE
and bumping version to v1.70.

CC'ing MAINTAINER.

Looking for feedback, OK's.

Index: Makefile
===
RCS file: /cvs/ports/textproc/cloc/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile5 Jul 2015 07:54:57 -   1.7
+++ Makefile8 Nov 2016 14:00:10 -
@@ -2,7 +2,8 @@
 
 COMMENT=   count lines of code
 
-DISTNAME=  cloc-1.64
+V= 1.70
+DISTNAME=  cloc-${V}
 DIST_SUBDIR=   cloc
 
 CATEGORIES=textproc devel
@@ -14,7 +15,7 @@ MAINTAINER=   Joerg Jung https://github.com/AlDanial/cloc/releases/download/v${V}/
 DISTFILES= ${DISTNAME}.pl
 EXTRACT_ONLY=
 
Index: distinfo
===
RCS file: /cvs/ports/textproc/cloc/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo5 Jul 2015 07:54:57 -   1.5
+++ distinfo8 Nov 2016 14:00:10 -
@@ -1,2 +1,2 @@
-SHA256 (cloc/cloc-1.64.pl) = ee3qfqH0QrFjIAHiNBgZOuRXGBDmDei9JeSRA21g6z0=
-SIZE (cloc/cloc-1.64.pl) = 408977
+SHA256 (cloc/cloc-1.70.pl) = ltlmWubAtc8+/jd3AMAqeisF43RqIZkd66WWOS0FFc8=
+SIZE (cloc/cloc-1.70.pl) = 448542


Re: update textproc/cloc

2015-07-04 Thread Gleydson Soares
On Sat, Jul 4, 2015 at 3:11 PM, Joerg Jung  wrote:
> Hi,
>
> please find below an update for cloc to version 1.64.
>
> As usual, this cloc update provides support for several new languages
> as well as new options and bug fixes.
>
> OKs?

OK.

>
> Regards,
> Joerg
>
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/cloc/Makefile,v
> retrieving revision 1.6
> diff -u -p -r1.6 Makefile
> --- Makefile3 Apr 2015 19:06:14 -   1.6
> +++ Makefile4 Jul 2015 18:07:30 -
> @@ -2,7 +2,7 @@
>
>  COMMENT=   count lines of code
>
> -DISTNAME=  cloc-1.62
> +DISTNAME=  cloc-1.64
>  DIST_SUBDIR=   cloc
>
>  CATEGORIES=textproc devel
> Index: distinfo
> ===
> RCS file: /cvs/ports/textproc/cloc/distinfo,v
> retrieving revision 1.4
> diff -u -p -r1.4 distinfo
> --- distinfo3 Apr 2015 19:06:14 -   1.4
> +++ distinfo4 Jul 2015 18:07:30 -
> @@ -1,2 +1,2 @@
> -SHA256 (cloc/cloc-1.62.pl) = +jeTtXaJXN4qyuJqSUR78MVas/eb2s+wCoj8HSVcJXA=
> -SIZE (cloc/cloc-1.62.pl) = 374834
> +SHA256 (cloc/cloc-1.64.pl) = ee3qfqH0QrFjIAHiNBgZOuRXGBDmDei9JeSRA21g6z0=
> +SIZE (cloc/cloc-1.64.pl) = 408977
>



update textproc/cloc

2015-07-04 Thread Joerg Jung
Hi,

please find below an update for cloc to version 1.64.

As usual, this cloc update provides support for several new languages
as well as new options and bug fixes.

OKs?

Regards,
Joerg


Index: Makefile
===
RCS file: /cvs/ports/textproc/cloc/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile3 Apr 2015 19:06:14 -   1.6
+++ Makefile4 Jul 2015 18:07:30 -
@@ -2,7 +2,7 @@
 
 COMMENT=   count lines of code
 
-DISTNAME=  cloc-1.62
+DISTNAME=  cloc-1.64
 DIST_SUBDIR=   cloc
 
 CATEGORIES=textproc devel
Index: distinfo
===
RCS file: /cvs/ports/textproc/cloc/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo3 Apr 2015 19:06:14 -   1.4
+++ distinfo4 Jul 2015 18:07:30 -
@@ -1,2 +1,2 @@
-SHA256 (cloc/cloc-1.62.pl) = +jeTtXaJXN4qyuJqSUR78MVas/eb2s+wCoj8HSVcJXA=
-SIZE (cloc/cloc-1.62.pl) = 374834
+SHA256 (cloc/cloc-1.64.pl) = ee3qfqH0QrFjIAHiNBgZOuRXGBDmDei9JeSRA21g6z0=
+SIZE (cloc/cloc-1.64.pl) = 408977



Re: update textproc/cloc

2015-03-22 Thread Adam Wolk
On Sun, Mar 22, 2015, at 07:40 PM, Joerg Jung wrote:
> 
> > On 22 Mar 2015, at 17:45, Adam Wolk  wrote:
> > 
> > On Sun, Mar 22, 2015, at 04:36 PM, Joerg Jung wrote:
> >> Hi,
> >> 
> >> please find below a simple update of textproc/cloc to 1.62.
> >> New version includes several further languages.
> >> 
> >> Comments, OKs?
> >> 
> >> Regards,
> >> Joerg
> >> 
> >> 
> >> Index: Makefile
> >> ===
> >> RCS file: /cvs/ports/textproc/cloc/Makefile,v
> >> retrieving revision 1.5
> >> diff -u -p -r1.5 Makefile
> >> --- Makefile19 Oct 2013 09:56:18 -  1.5
> >> +++ Makefile22 Mar 2015 15:26:47 -
> >> @@ -2,7 +2,7 @@
> >> 
> >> COMMENT=count lines of code
> >> 
> >> -DISTNAME=  cloc-1.60
> >> +DISTNAME=  cloc-1.62
> >> DIST_SUBDIR=cloc
> >> 
> >> CATEGORIES= textproc devel
> >> Index: distinfo
> >> ===
> >> RCS file: /cvs/ports/textproc/cloc/distinfo,v
> >> retrieving revision 1.3
> >> diff -u -p -r1.3 distinfo
> >> --- distinfo19 Oct 2013 09:56:18 -  1.3
> >> +++ distinfo22 Mar 2015 15:26:47 -
> >> @@ -1,2 +1,2 @@
> >> -SHA256 (cloc/cloc-1.60.pl) =
> >> SqhwvvEE/SuPA8Zn74vizWcc31n0bHIEbEPtFOIioFw=
> >> -SIZE (cloc/cloc-1.60.pl) = 344405
> >> +SHA256 (cloc/cloc-1.62.pl) =
> >> +jeTtXaJXN4qyuJqSUR78MVas/eb2s+wCoj8HSVcJXA=
> >> +SIZE (cloc/cloc-1.62.pl) = 374834
> >> 
> > 
> > Upgraded with zero issues and ran on my local checkouts of some code.
> > OK from me. The fact that 'D' is detected in the folder and that it has
> > a -1
> > comment count is not a regression - I have the same behaviour with
> > v1.60.
> 
> You may want to open a ticket on SF for that.

Reported upstream as:
 - https://sourceforge.net/p/cloc/bugs/131/
> 
> > Judging from the output at least JSON was added as a language.
> 
> There are some more popular ones like F#, puppet manifests, and R. 
> See here: http://sourceforge.net/p/cloc/code/HEAD/tree/trunk/NEWS 
> for a complete list.
> 

Cool. I like this tool a lot so nice to see it improving.
Port is great for me, hope to see it committed soon.

Regards,
Adam



Re: update textproc/cloc

2015-03-22 Thread Joerg Jung

> On 22 Mar 2015, at 17:45, Adam Wolk  wrote:
> 
> On Sun, Mar 22, 2015, at 04:36 PM, Joerg Jung wrote:
>> Hi,
>> 
>> please find below a simple update of textproc/cloc to 1.62.
>> New version includes several further languages.
>> 
>> Comments, OKs?
>> 
>> Regards,
>> Joerg
>> 
>> 
>> Index: Makefile
>> ===
>> RCS file: /cvs/ports/textproc/cloc/Makefile,v
>> retrieving revision 1.5
>> diff -u -p -r1.5 Makefile
>> --- Makefile19 Oct 2013 09:56:18 -  1.5
>> +++ Makefile22 Mar 2015 15:26:47 -
>> @@ -2,7 +2,7 @@
>> 
>> COMMENT=count lines of code
>> 
>> -DISTNAME=  cloc-1.60
>> +DISTNAME=  cloc-1.62
>> DIST_SUBDIR=cloc
>> 
>> CATEGORIES= textproc devel
>> Index: distinfo
>> ===
>> RCS file: /cvs/ports/textproc/cloc/distinfo,v
>> retrieving revision 1.3
>> diff -u -p -r1.3 distinfo
>> --- distinfo19 Oct 2013 09:56:18 -  1.3
>> +++ distinfo22 Mar 2015 15:26:47 -
>> @@ -1,2 +1,2 @@
>> -SHA256 (cloc/cloc-1.60.pl) =
>> SqhwvvEE/SuPA8Zn74vizWcc31n0bHIEbEPtFOIioFw=
>> -SIZE (cloc/cloc-1.60.pl) = 344405
>> +SHA256 (cloc/cloc-1.62.pl) =
>> +jeTtXaJXN4qyuJqSUR78MVas/eb2s+wCoj8HSVcJXA=
>> +SIZE (cloc/cloc-1.62.pl) = 374834
>> 
> 
> Upgraded with zero issues and ran on my local checkouts of some code.
> OK from me. The fact that 'D' is detected in the folder and that it has
> a -1
> comment count is not a regression - I have the same behaviour with
> v1.60.

You may want to open a ticket on SF for that.

> Judging from the output at least JSON was added as a language.

There are some more popular ones like F#, puppet manifests, and R. 
See here: http://sourceforge.net/p/cloc/code/HEAD/tree/trunk/NEWS 
for a complete list.

Regards,
Joerg




Re: update textproc/cloc

2015-03-22 Thread Adam Wolk
On Sun, Mar 22, 2015, at 04:36 PM, Joerg Jung wrote:
> Hi,
> 
> please find below a simple update of textproc/cloc to 1.62.
> New version includes several further languages.
> 
> Comments, OKs?
> 
> Regards,
> Joerg
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/cloc/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- Makefile19 Oct 2013 09:56:18 -  1.5
> +++ Makefile22 Mar 2015 15:26:47 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT=count lines of code
>  
> -DISTNAME=  cloc-1.60
> +DISTNAME=  cloc-1.62
>  DIST_SUBDIR=cloc
>  
>  CATEGORIES= textproc devel
> Index: distinfo
> ===
> RCS file: /cvs/ports/textproc/cloc/distinfo,v
> retrieving revision 1.3
> diff -u -p -r1.3 distinfo
> --- distinfo19 Oct 2013 09:56:18 -  1.3
> +++ distinfo22 Mar 2015 15:26:47 -
> @@ -1,2 +1,2 @@
> -SHA256 (cloc/cloc-1.60.pl) =
> SqhwvvEE/SuPA8Zn74vizWcc31n0bHIEbEPtFOIioFw=
> -SIZE (cloc/cloc-1.60.pl) = 344405
> +SHA256 (cloc/cloc-1.62.pl) =
> +jeTtXaJXN4qyuJqSUR78MVas/eb2s+wCoj8HSVcJXA=
> +SIZE (cloc/cloc-1.62.pl) = 374834
> 

Upgraded with zero issues and ran on my local checkouts of some code.
OK from me. The fact that 'D' is detected in the folder and that it has
a -1
comment count is not a regression - I have the same behaviour with
v1.60.
Judging from the output at least JSON was added as a language.

===>  Installing cloc-1.62 from /usr/packages/i386/all/
cloc-1.60->1.62: ok
$ cloc --version
1.62

$ cloc $HOME/go/src  
1208 text files.
1145 unique files.  
 386 files ignored.

http://cloc.sourceforge.net v 1.62  T=38.61 s (22.9 files/s, 4764.8
lines/s)

Language  files  blankcomment   
   code

Go  741  20810  24469   
 123530
Javascript   35635417   
   3937
CSS  16651 74   
   3536
HTML 35387 62   
   3092
Assembly  4 51 22   
642
Lisp  4 89114   
517
JSON 29  1  0   
164
vim script3 20 31   
144
Bourne Again Shell3 30 26   
137
YAML  6 13  0   
 95
Tcl/Tk1 17  0   
 61
Python1  9  3   
 55
Ruby  1 12  1   
 47
Bourne Shell  3  0  0   
 17
make  1  4  8   
 14
XML   1  0  0   
 11

SUM:884  22729  25227   
 135999

$ cloc $HOME/code
   2 text files.
   1 unique file.  
   1 file ignored.

http://cloc.sourceforge.net v 1.62  T=0.18 s (5.6 files/s, 56.0 lines/s)
---
Language files  blankcomment
  code
---
C1  1  0
 9
---

$ cloc $HOME/kiln
 695 text files.
 379 unique files.  
 434 files ignored.

http://cloc.sourceforge.net v 1.62  T=29.81 s (5.2 files/s, 4837.9
lines/s)

Language  files  blankcomment   
   code

Bourne Shell  6   1839610   
 134124
XML  42 77  0   
   4497
YAML 90112 48   
   1656
Perl  

update textproc/cloc

2015-03-22 Thread Joerg Jung
Hi,

please find below a simple update of textproc/cloc to 1.62.
New version includes several further languages.

Comments, OKs?

Regards,
Joerg


Index: Makefile
===
RCS file: /cvs/ports/textproc/cloc/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile19 Oct 2013 09:56:18 -  1.5
+++ Makefile22 Mar 2015 15:26:47 -
@@ -2,7 +2,7 @@
 
 COMMENT=   count lines of code
 
-DISTNAME=  cloc-1.60
+DISTNAME=  cloc-1.62
 DIST_SUBDIR=   cloc
 
 CATEGORIES=textproc devel
Index: distinfo
===
RCS file: /cvs/ports/textproc/cloc/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo19 Oct 2013 09:56:18 -  1.3
+++ distinfo22 Mar 2015 15:26:47 -
@@ -1,2 +1,2 @@
-SHA256 (cloc/cloc-1.60.pl) = SqhwvvEE/SuPA8Zn74vizWcc31n0bHIEbEPtFOIioFw=
-SIZE (cloc/cloc-1.60.pl) = 344405
+SHA256 (cloc/cloc-1.62.pl) = +jeTtXaJXN4qyuJqSUR78MVas/eb2s+wCoj8HSVcJXA=
+SIZE (cloc/cloc-1.62.pl) = 374834



update textproc/cloc

2013-10-18 Thread Joerg Jung
Hi,

please find below an update to cloc version 1.60.

Comments? OKs?

Regards,
Joerg


Index: Makefile
===
RCS file: /cvs/ports/textproc/cloc/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile24 Mar 2013 21:31:36 -  1.4
+++ Makefile18 Oct 2013 16:07:06 -
@@ -2,7 +2,7 @@
 
 COMMENT=   count lines of code
 
-DISTNAME=  cloc-1.58
+DISTNAME=  cloc-1.60
 DIST_SUBDIR=   cloc
 
 CATEGORIES=textproc devel
Index: distinfo
===
RCS file: /cvs/ports/textproc/cloc/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo24 Mar 2013 21:31:36 -  1.2
+++ distinfo18 Oct 2013 16:07:06 -
@@ -1,2 +1,2 @@
-SHA256 (cloc/cloc-1.58.pl) = SkhElu4Fvk5bOmvvjzM31/ZzPHMbvFjcfQD1w+txT2g=
-SIZE (cloc/cloc-1.58.pl) = 336446
+SHA256 (cloc/cloc-1.60.pl) = SqhwvvEE/SuPA8Zn74vizWcc31n0bHIEbEPtFOIioFw=
+SIZE (cloc/cloc-1.60.pl) = 344405