bebf3178ae
EXPIRATION_DATE at the end of April 2017. In the past six months, about a third of the ports marked BROKEN because they were hosted on Google Code have been fixed. The remaining must not be of use to anyone. With hat: portmgr Sponsored by: Absolight
39 lines
1,019 B
Makefile
39 lines
1,019 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= ports@FreeBSD.org
|
|
COMMENT= Tool to assist with Google style guide compliance
|
|
|
|
BROKEN= Unfetchable (google code has gone away)
|
|
DEPRECATED= Unfetchable for more than six months (google code has gone away)
|
|
EXPIRATION_DATE= 2017-04-30
|
|
|
|
USES= python
|
|
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>
|