svn commit: r442959 - head/textproc/py-enchant

Kubilay Kocak koobs at FreeBSD.org
Fri Jun 9 04:57:12 UTC 2017


On 6/9/17 7:08 AM, Thierry Thomas wrote:
> +.if ${PORT_OPTIONS:MWX}
> +WX_COMPS=	python:run
> +.endif

This can be an options helper:

WX_VARS=WX_COMPS=	python:run

> +post-install:
> +.if ! ${PORT_OPTIONS:MWX}
> +	${RM] ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/checker/wxSpellCheckerDialog*
> +.endif

This can be an options helper:

post-install-DOCS-on:

The bsd.port.options..mk include can then be removed.

More info/detail:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#options-targets


More information about the svn-ports-head mailing list