From owner-svn-ports-all@FreeBSD.ORG Thu Feb 27 14:10:50 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA20C280; Thu, 27 Feb 2014 14:10:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 960E81C87; Thu, 27 Feb 2014 14:10:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1REAoec083913; Thu, 27 Feb 2014 14:10:50 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1REAoFl083912; Thu, 27 Feb 2014 14:10:50 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402271410.s1REAoFl083912@svn.freebsd.org> From: Emanuel Haupt Date: Thu, 27 Feb 2014 14:10:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346341 - head/devel/google-styleguide X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 14:10:50 -0000 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