diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-27 14:10:50 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-27 14:10:50 +0000 |
commit | fde4a2e2351fa0cb202d9074512142ea6d2b8fdc (patch) | |
tree | 6320197bf99cb954dd6987d8f36269f2baab43fe /devel/google-styleguide | |
parent | e8e809047b9f44c25fefab556fb0a2ea98a42c84 (diff) | |
download | ports-fde4a2e2351fa0cb202d9074512142ea6d2b8fdc.tar.gz ports-fde4a2e2351fa0cb202d9074512142ea6d2b8fdc.zip |
Notes
Diffstat (limited to 'devel/google-styleguide')
-rw-r--r-- | devel/google-styleguide/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/devel/google-styleguide/Makefile b/devel/google-styleguide/Makefile index 4446f7de737b..c0217e7f4ef2 100644 --- a/devel/google-styleguide/Makefile +++ b/devel/google-styleguide/Makefile @@ -18,7 +18,8 @@ NO_WRKSUBDIR= yes PLIST_FILES= bin/cpplint.py PORTDOCS= README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-extract: @${MKDIR} ${WRKSRC} @cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} @@ -27,10 +28,8 @@ post-patch: @${REINPLACE_CMD} -Ee "s,#!.*,#!${PYTHON_CMD}," ${WRKSRC}/*.py do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/cpplint.py ${PREFIX}/bin -.ifndef NOPORTDOCS - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/cpplint.py ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |