From owner-svn-ports-head@freebsd.org Thu Aug 18 12:11:03 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91345BBC604; Thu, 18 Aug 2016 12:11:03 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 873F011D4; Thu, 18 Aug 2016 12:11:03 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 85FDA18E9; Thu, 18 Aug 2016 12:11:03 +0000 (UTC) Date: Thu, 18 Aug 2016 12:11:03 +0000 From: Alexey Dokuchaev To: Tilman Keskinoz Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r420373 - in head/www: . wt wt/files Message-ID: <20160818121103.GB91386@FreeBSD.org> References: <201608172119.u7HLJg6w021760@repo.freebsd.org> <20160818041934.GA81349@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160818041934.GA81349@FreeBSD.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 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, 18 Aug 2016 12:11:03 -0000 On Thu, Aug 18, 2016 at 04:19:34AM +0000, Alexey Dokuchaev wrote: > ... > > +.if ${PORT_OPTIONS:MDOCS} > > +BUILD_DEPENDS+= asciidoc:textproc/asciidoc \ > > + doxygen:devel/doxygen > > +CMAKE_ARGS+= -DBUILD_DOCS:BOOL=ON > > +.else > > +CMAKE_ARGS+= -DBUILD_DOCS:BOOL=OFF > > +.endif > > Consider using option helpers (here and below). Another thing: do not put documentation that requires some heavy stuff like Doxygen or LaTeX under DOCS (which is on by default); we have DOXYGEN option for that. ./danfe