svn commit: r420373 - in head/www: . wt wt/files

Alexey Dokuchaev danfe at FreeBSD.org
Thu Aug 18 12:11:03 UTC 2016


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


More information about the svn-ports-all mailing list