ports/textproc/cloc/Makefile

36 lines
691 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT= count lines of code
V= 1.94
DISTNAME= cloc-${V}
CATEGORIES= textproc devel
HOMEPAGE= https://github.com/AlDanial/cloc
MAINTAINER= Joerg Jung <jung@openbsd.org>
# GPLv2+
PERMIT_PACKAGE= Yes
2023-09-28 02:05:49 +00:00
SITES= https://github.com/AlDanial/cloc/releases/download/v${V}/
2023-08-16 22:26:55 +00:00
NO_BUILD= Yes
PKG_ARCH= *
RUN_DEPENDS= devel/p5-Algorithm-Diff \
devel/p5-Parallel-ForkManager \
security/p5-Digest-Perl-MD5 \
textproc/p5-Regexp-Common
BUILD_DEPENDS+= ${RUN_DEPENDS}
TEST_DEPENDS+= archivers/unzip
FAKE_FLAGS= prefix="${PREFIX}" \
man_prefix="${PREFIX}" \
PODDATE=`stat -t %Y-%m-%d -f %Sm ${WRKSRC}/cloc`
USE_GMAKE= Yes
WRKBUILD= ${WRKSRC}/Unix
.include <bsd.port.mk>