26 lines
629 B
Makefile
26 lines
629 B
Makefile
# $NetBSD: Makefile,v 1.11 2021/03/03 10:19:59 nia Exp $
|
|
|
|
PKGNAME= check-portability-20.1.2
|
|
CATEGORIES= pkgtools
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= rillig@NetBSD.org
|
|
HOMEPAGE= # none
|
|
COMMENT= Check extracted files for typical portability issues
|
|
LICENSE= 2-clause-bsd
|
|
|
|
USE_TOOLS+= cp
|
|
CHECK_PORTABILITY_SKIP= * # avoid circular dependency
|
|
CHECK_PERMS_SKIP= * # avoid circular dependency
|
|
USE_LANGUAGES= c99
|
|
USE_BSD_MAKEFILE= yes
|
|
AUTO_MKDIRS= yes
|
|
|
|
do-extract:
|
|
cd ${FILESDIR} && ${CP} -R . ${WRKSRC}
|
|
|
|
do-test:
|
|
${WRKSRC}/check-portability files/testdata/* \
|
|
| ${DIFF} -u files/testdata/zzz_expected -
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|