# Created by: Yen-Ming Lee # $FreeBSD: head/devel/google-styleguide/Makefile 563911 2021-02-03 19:46:20Z sunpoet $ PORTNAME= styleguide PORTVERSION= 20210129 CATEGORIES= devel PKGNAMEPREFIX= google- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tool to assist with Google style guide compliance # cpplint.py and cpplint_unittest.py are released under BSD3CLAUSE # style guides is released under CC-BY-3.0 # google-c-style.el is released under GPLv1+ LICENSE= BSD3CLAUSE CC-BY-3.0 GPLv1+ LICENSE_COMB= multi USES= python shebangfix USE_GITHUB= yes GH_ACCOUNT= google GH_TAGNAME= 6e239d7 NO_ARCH= yes NO_BUILD= yes SHEBANG_FILES= cpplint/cpplint.py cpplint/cpplint_unittest.py OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cpplint/cpplint.py ${WRKSRC}/cpplint/cpplint_unittest.py ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.xml ${WRKSRC}/google-c-style.el ${WRKSRC}/google_python_style.vim ${STAGEDIR}${DATADIR} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/cpplint ${STAGEDIR}${DOCSDIR}/docguide ${INSTALL_DATA} ${WRKSRC}/*.css ${WRKSRC}/*.html ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/cpplint/README ${STAGEDIR}${DOCSDIR}/cpplint (cd ${WRKSRC}/docguide && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/docguide) .include