> Am 08.11.2016 um 15:11 schrieb Adam Wolk <adam.w...@tintagel.pl>: > > 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 > --- Makefile 5 Jul 2015 07:54:57 -0000 1.7 > +++ Makefile 8 Nov 2016 14:00:10 -0000 > @@ -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 <j...@openbsd.or > # 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 > --- distinfo 5 Jul 2015 07:54:57 -0000 1.5 > +++ distinfo 8 Nov 2016 14:00:10 -0000 > @@ -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