diff options
-rw-r--r-- | misc/cloc/Makefile | 15 | ||||
-rw-r--r-- | misc/cloc/distinfo | 5 | ||||
-rw-r--r-- | misc/cloc/pkg-descr | 2 |
3 files changed, 13 insertions, 9 deletions
diff --git a/misc/cloc/Makefile b/misc/cloc/Makefile index 49f25bc84f00..09556e290921 100644 --- a/misc/cloc/Makefile +++ b/misc/cloc/Makefile @@ -2,25 +2,28 @@ # $FreeBSD$ PORTNAME= cloc -PORTVERSION= 1.64 +PORTVERSION= 1.70 +DISTVERSIONPREFIX= v CATEGORIES= misc -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} EXTRACT_SUFX= .pl MAINTAINER= danilo@FreeBSD.org COMMENT= Counts lines of code +LICENSE= GPLv2 + RUN_DEPENDS= p5-Algorithm-Diff>=0:devel/p5-Algorithm-Diff +USE_GITHUB= yes +GH_ACCOUNT= AlDanial +GH_PROJECT= ${PORTNAME} + USES= perl5 USE_PERL5= run -EXTRACT_CMD= ${CP} -EXTRACT_BEFORE_ARGS= -EXTRACT_AFTER_ARGS= ./${PORTNAME} PLIST_FILES= bin/${PORTNAME} NO_BUILD= yes do-install: - @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .include <bsd.port.mk> diff --git a/misc/cloc/distinfo b/misc/cloc/distinfo index c588591260c7..2d5e07895927 100644 --- a/misc/cloc/distinfo +++ b/misc/cloc/distinfo @@ -1,2 +1,3 @@ -SHA256 (cloc-1.64.pl) = 79edea7ea1f442b1632001e23418193ae4571810e60de8bd25e491036d60eb3d -SIZE (cloc-1.64.pl) = 408977 +TIMESTAMP = 1480416990 +SHA256 (AlDanial-cloc-v1.70_GH0.tar.gz) = fd6e2bf95836578d8e94f2a85ce67f2e0cdf378b8200a02f8ee2a101f45984e9 +SIZE (AlDanial-cloc-v1.70_GH0.tar.gz) = 323720 diff --git a/misc/cloc/pkg-descr b/misc/cloc/pkg-descr index 15a961a16558..98393d1181a4 100644 --- a/misc/cloc/pkg-descr +++ b/misc/cloc/pkg-descr @@ -4,4 +4,4 @@ code in many programming languages. cloc contains code from David Wheeler's SLOCCount and Damian Conway and Abigail's Perl module Regexp::Common. -WWW: http://cloc.sourceforge.net/ +WWW: https://github.com/AlDanial/cloc |