1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/misc/cloc/Makefile
2024-03-09 22:05:25 +08:00

29 lines
549 B
Makefile

PORTNAME= cloc
PORTVERSION= 2.00
CATEGORIES= misc
MASTER_SITES= https://github.com/AlDanial/cloc/releases/download/v${PORTVERSION}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Count lines of code
WWW= https://github.com/AlDanial/cloc
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= p5-Algorithm-Diff>=0:devel/p5-Algorithm-Diff
USES= perl5 shebangfix
USE_PERL5= run
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/cloc
SHEBANG_FILES= cloc
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cloc ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>