ports/devel/cpplint/Makefile

29 lines
758 B
Makefile

# Created by: thierry@pompo.net
PORTNAME= cpplint
PORTVERSION= 1.5.5
CATEGORIES= devel
MAINTAINER= thierry@FreeBSD.org
COMMENT= Static code checker for C++
LICENSE= BSD3CLAUSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zipp>0:devel/py-zipp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}testfixtures>0:devel/py-testfixtures@${PY_FLAVOR}
USE_GITHUB= yes
USES= python:3.6+
USE_PYTHON= distutils noflavors
NO_ARCH= yes
do-test:
(cd ${WRKSRC} && py.test)
.include <bsd.port.mk>