1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/devel/google-styleguide/Makefile
Jimmy Olgeni 76c7f8fbe6 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.

CR:		D196
Approved by:	portmgr (bapt)
2014-06-10 07:39:01 +00:00

36 lines
867 B
Makefile

# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
PORTNAME= google-styleguide
PORTVERSION= 66
CATEGORIES= devel
MASTER_SITES= http://google-styleguide.googlecode.com/svn/trunk/cpplint/
DISTFILES= cpplint.py cpplint_unittest.py README
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= leeym@FreeBSD.org
COMMENT= Tool to assist with Google style guide compliance
USE_PYTHON?= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= bin/cpplint.py
PORTDOCS= README
OPTIONS_DEFINE= DOCS
do-extract:
@${MKDIR} ${WRKSRC}
@cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
post-patch:
@${REINPLACE_CMD} -Ee "s,#!.*,#!${PYTHON_CMD}," ${WRKSRC}/*.py
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cpplint.py ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>