eedfb8f8d2
BSD and Linux stat(1) vary quite heavily in their option syntax, and this usage is not supported on Linux. Instead, just write out the manual date explicity (to be updated during releases).
28 lines
699 B
Makefile
28 lines
699 B
Makefile
# $NetBSD: Makefile,v 1.13 2021/06/28 19:41:36 mcf Exp $
|
|
|
|
DISTNAME= cloc-1.90
|
|
PKGREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=AlDanial/}
|
|
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= fcambus@NetBSD.org
|
|
HOMEPAGE= https://github.com/AlDanial/cloc
|
|
COMMENT= Count lines of code
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= # none
|
|
USE_TOOLS+= perl:run gmake
|
|
|
|
DEPENDS+= p5-Algorithm-Diff-[0-9]*:../../devel/p5-Algorithm-Diff
|
|
DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
|
|
DEPENDS+= p5-Parallel-ForkManager-[0-9]*:../../devel/p5-Parallel-ForkManager
|
|
|
|
REPLACE_PERL+= Unix/cloc
|
|
|
|
MAKE_ENV+= PODDATE=2021-05-01
|
|
|
|
NO_BUILD= yes
|
|
BUILD_DIRS= Unix
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|