+--On 23 septembre 2014 23:23:31 +0200 Fernando Apesteguía
<fernando.apesteg...@gmail.com> wrote:
| 
| do-build:
|         @cd ${BUILD_WRKSRC}/ && ${MAKE}
| .if ${PORT_OPTIONS:MDOCS}
|         @cd ${BUILD_WRKSRC}/ && ${MAKE_CMD} doc
| .endif
| 

That should be:

ALL_TARGET=     all
DOCS_ALL_TARGET=        doc

And then you don't need to include port.options.mk.

As explained in
<https://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html#options-variables>

-- 
Mathieu Arnold
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to