Date: Thu, 27 Feb 2014 14:10:50 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346341 - head/devel/google-styleguide Message-ID: <201402271410.s1REAoFl083912@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Feb 27 14:10:50 2014 New Revision: 346341 URL: http://svnweb.freebsd.org/changeset/ports/346341 QAT: https://qat.redports.org/buildarchive/r346341/ Log: - Support staging - Define DOCS option Modified: head/devel/google-styleguide/Makefile Modified: head/devel/google-styleguide/Makefile ============================================================================== --- head/devel/google-styleguide/Makefile Thu Feb 27 14:08:14 2014 (r346340) +++ head/devel/google-styleguide/Makefile Thu Feb 27 14:10:50 2014 (r346341) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402271410.s1REAoFl083912>