From owner-svn-ports-head@FreeBSD.ORG Thu Jul 31 15:24:56 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC4AEBB6; Thu, 31 Jul 2014 15:24:56 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9987D2D25; Thu, 31 Jul 2014 15:24:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s6VFOuur049131; Thu, 31 Jul 2014 15:24:56 GMT (envelope-from adamw@svn.freebsd.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s6VFOuwb049130; Thu, 31 Jul 2014 15:24:56 GMT (envelope-from adamw@svn.freebsd.org) Message-Id: <201407311524.s6VFOuwb049130@svn.freebsd.org> From: Adam Weinberger Date: Thu, 31 Jul 2014 15:24:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363622 - head/lang/libstdc++_stldoc_4.2.2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2014 15:24:56 -0000 Author: adamw Date: Thu Jul 31 15:24:56 2014 New Revision: 363622 URL: http://svnweb.freebsd.org/changeset/ports/363622 QAT: https://qat.redports.org/buildarchive/r363622/ Log: Stage and unbreak. I'm still not sure why a documentation-only port was checking NOPORTDOCS, but sure, let's keep the party going with a DOCS option. Modified: head/lang/libstdc++_stldoc_4.2.2/Makefile Modified: head/lang/libstdc++_stldoc_4.2.2/Makefile ============================================================================== --- head/lang/libstdc++_stldoc_4.2.2/Makefile Thu Jul 31 15:24:44 2014 (r363621) +++ head/lang/libstdc++_stldoc_4.2.2/Makefile Thu Jul 31 15:24:56 2014 (r363622) @@ -6,14 +6,13 @@ PORTVERSION= 20071101 PORTREVISION= 1 CATEGORIES= lang devel MASTER_SITES= ${MASTER_SITE_GCC} -MASTER_SITE_SUBDIR= \ - libstdc++/doxygen +MASTER_SITE_SUBDIR= libstdc++/doxygen DISTNAME= libstdc++-html-USERS-4.2.2 MAINTAINER= ports@FreeBSD.org COMMENT= GNU libstdc++ API documentation -USES= tar:bzip2 +USES= tar:bzip2 NO_BUILD= yes NO_WRKSUBDIR= yes @@ -24,16 +23,16 @@ NO_WRKSUBDIR= yes PORTDOCS= stldoc -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +.include + do-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} ${DOCSDIR}/stldoc - cd ${WRKSRC}/html_user-4.2.20071101 && \ - ${FIND} . -type f | \ - ${XARGS} -J % ${INSTALL_DATA} % ${DOCSDIR}/stldoc && - ${CHMOD} 755 ${DOCSDIR} ${DOCSDIR}/stldoc +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR}/stldoc + (cd ${WRKSRC}/html_user-4.2.20071101 && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/stldoc) .else - @${ECHO} "NOPORTDOCS is set -- installing nothing." + @${ECHO} "Enable the DOCS option to install documentation -- installing nothing." .endif .include