Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2016 12:11:03 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Tilman Keskinoz <arved@FreeBSD.org>
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>
In-Reply-To: <20160818041934.GA81349@FreeBSD.org>
References:  <201608172119.u7HLJg6w021760@repo.freebsd.org> <20160818041934.GA81349@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160818121103.GB91386>