mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Update to 20180620
- Update pkg-descr - Take maintainership Changes: https://github.com/google/styleguide/commits/gh-pages
This commit is contained in:
parent
b1b48dd63a
commit
3f3b92080b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473258
@ -2,16 +2,16 @@
|
||||
# $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
|
||||
|
||||
@ -19,7 +19,7 @@ USES= python shebangfix
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= google
|
||||
GH_TAGNAME= d75bd35
|
||||
GH_TAGNAME= ab48617
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
@ -28,21 +28,14 @@ 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 <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -16,7 +16,9 @@ bin/cpplint_unittest.py
|
||||
%%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
|
||||
|
Loading…
Reference in New Issue
Block a user