freebsd-ports/misc/cloc/Makefile
Po-Chuan Hsieh f3d9a7875f
misc/cloc: Add LICENSE_FILE
- Update MASTER_SITES: use upstream release tarball
- Add NO_ARCH
- Update pkg-descr
- Take maintainership
2021-05-16 23:23:55 +08:00

29 lines
568 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
PORTNAME= cloc
PORTVERSION= 1.90
CATEGORIES= misc
MASTER_SITES= https://github.com/AlDanial/cloc/releases/download/v${PORTVERSION}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Count lines of code
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>