Index: head/devel/google-styleguide/Makefile =================================================================== --- head/devel/google-styleguide/Makefile (revision 473257) +++ head/devel/google-styleguide/Makefile (revision 473258) @@ -1,48 +1,41 @@ # Created by: Yen-Ming Lee # $FreeBSD$ PORTNAME= styleguide -PORTVERSION= 20170630 +PORTVERSION= 20180620 CATEGORIES= devel PKGNAMEPREFIX= google- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tool to assist with Google style guide compliance -# cpplint.py and cpplint_unittest.py under BSD3CLAUSE -# style guides under CC-BY-3.0 -# google-c-style.el under GPLv1+ +# 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= d75bd35 +GH_TAGNAME= ab48617 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 ${STAGEDIR}${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/cpplint/cpplint_unittest.py ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/cpplint/cpplint.py ${WRKSRC}/cpplint/cpplint_unittest.py ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.xml ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/google_python_style.vim ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/google-c-style.el ${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} - ${INSTALL_DATA} ${WRKSRC}/*.css ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} - ${MKDIR} ${STAGEDIR}${DOCSDIR}/cpplint + ${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 - ${MKDIR} ${STAGEDIR}${DOCSDIR}/docguide (cd ${WRKSRC}/docguide && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/docguide) .include Index: head/devel/google-styleguide/distinfo =================================================================== --- head/devel/google-styleguide/distinfo (revision 473257) +++ head/devel/google-styleguide/distinfo (revision 473258) @@ -1,3 +1,3 @@ -TIMESTAMP = 1499059178 -SHA256 (google-styleguide-20170630-d75bd35_GH0.tar.gz) = cfc10b66a8676884a5bd3b8352fc3600a74ed89b0d0a33b3473da863d3e63ff7 -SIZE (google-styleguide-20170630-d75bd35_GH0.tar.gz) = 1015158 +TIMESTAMP = 1529704227 +SHA256 (google-styleguide-20180620-ab48617_GH0.tar.gz) = 0d755db419de0b089ca08b3d298d991b7365a5c06fb5867c7fccbe415e3d1c1c +SIZE (google-styleguide-20180620-ab48617_GH0.tar.gz) = 1048500 Index: head/devel/google-styleguide/pkg-descr =================================================================== --- head/devel/google-styleguide/pkg-descr (revision 473257) +++ head/devel/google-styleguide/pkg-descr (revision 473258) @@ -1,17 +1,14 @@ -This project contains coding style guides used at Google. There are style -guides for AngularJS, C++, Common Lisp, HTML/CSS, Java, JavaScript, Objective-C, -Python, R, Shell, and Vimscript. Also included is: +This project holds the C++ Style Guide, Objective-C Style Guide, Java Style +Guide, Python Style Guide, R Style Guide, Shell Style Guide, HTML/CSS Style +Guide, JavaScript Style Guide, AngularJS Style Guide, Common Lisp Style Guide, +and Vimscript Style Guide. This project also contains: +- cpplint, a tool to assist with style guide compliance +- google-c-style.el, an Emacs settings file for Google style +- google_python_style.vim, a Vim settings to indent Python in the Google way -- cpplint, an automated checker to make sure a C++ file follows Google's C++ - style guide -- google-c-style.el, an Emacs minor mode to provide Google's C/C++ coding style - within Emacs -- google_python_style.vim, which indents Python code in the Google way when - using Vim. - -If your project requires that you create a new XML document format, the included -"XML Document Format Style Guide" may be helpful. In addition to actual style -rules, it also contains advice on designing your own versus adapting an existing -format, on XML instance document formatting, and on elements versus attributes. +If your project requires that you create a new XML document format, the XML +Document Format Style Guide may be helpful. In addition to actual style rules, +it also contains advice on designing your own vs. adapting an existing format, +on XML instance document formatting, and on elements vs. attributes. WWW: https://github.com/google/styleguide Index: head/devel/google-styleguide/pkg-plist =================================================================== --- head/devel/google-styleguide/pkg-plist (revision 473257) +++ head/devel/google-styleguide/pkg-plist (revision 473258) @@ -1,36 +1,38 @@ bin/cpplint.py bin/cpplint_unittest.py %%PORTDOCS%%%%DOCSDIR%%/README.md %%PORTDOCS%%%%DOCSDIR%%/angularjs-google-style.html %%PORTDOCS%%%%DOCSDIR%%/cppguide.html %%PORTDOCS%%%%DOCSDIR%%/cpplint/README %%PORTDOCS%%%%DOCSDIR%%/docguide/README.md %%PORTDOCS%%%%DOCSDIR%%/docguide/READMEs.md %%PORTDOCS%%%%DOCSDIR%%/docguide/VERSION %%PORTDOCS%%%%DOCSDIR%%/docguide/best_practices.md %%PORTDOCS%%%%DOCSDIR%%/docguide/philosophy.md %%PORTDOCS%%%%DOCSDIR%%/docguide/style.md %%PORTDOCS%%%%DOCSDIR%%/google-r-style.html %%PORTDOCS%%%%DOCSDIR%%/htmlcssguide.html %%PORTDOCS%%%%DOCSDIR%%/javaguide.css %%PORTDOCS%%%%DOCSDIR%%/javaguide.html %%PORTDOCS%%%%DOCSDIR%%/jsguide.html %%PORTDOCS%%%%DOCSDIR%%/jsoncstyleguide.html +%%PORTDOCS%%%%DOCSDIR%%/objcguide.md %%PORTDOCS%%%%DOCSDIR%%/pyguide.html +%%PORTDOCS%%%%DOCSDIR%%/pyguide.md %%PORTDOCS%%%%DOCSDIR%%/styleguide.css %%PORTDOCS%%%%DOCSDIR%%/xmlstyle.html %%DATADIR%%/Rguide.xml %%DATADIR%%/cppguide.xml %%DATADIR%%/eclipse-cpp-google-style.xml %%DATADIR%%/eclipse-java-google-style.xml %%DATADIR%%/google-c-style.el %%DATADIR%%/google_python_style.vim %%DATADIR%%/htmlcssguide.xml %%DATADIR%%/intellij-java-google-style.xml %%DATADIR%%/javascriptguide.xml %%DATADIR%%/jsoncstyleguide.xml %%DATADIR%%/lispguide.xml %%DATADIR%%/objcguide.xml %%DATADIR%%/shell.xml %%DATADIR%%/vimscriptfull.xml %%DATADIR%%/vimscriptguide.xml