aboutsummaryrefslogtreecommitdiff
path: root/misc/cloc/Makefile
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2016-12-04 23:35:16 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2016-12-04 23:35:16 +0000
commita60c245ea9b916006f54e143fb95c178208cc755 (patch)
tree93693139752c2a1ca66d71f3157aa026100ee208 /misc/cloc/Makefile
parent29adf414c34b2e6c56f55cb8207e2b4d105503ba (diff)
downloadports-a60c245ea9b916006f54e143fb95c178208cc755.tar.gz
ports-a60c245ea9b916006f54e143fb95c178208cc755.zip
Notes
Diffstat (limited to 'misc/cloc/Makefile')
-rw-r--r--misc/cloc/Makefile15
1 files changed, 9 insertions, 6 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>