Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2017 14:52:30 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Thierry Thomas <thierry@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r442959 - head/textproc/py-enchant
Message-ID:  <f20a2945-464f-cd15-a751-5a489a33620e@FreeBSD.org>
In-Reply-To: <201706082108.v58L8Xwb087390@repo.freebsd.org>
References:  <201706082108.v58L8Xwb087390@repo.freebsd.org>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f20a2945-464f-cd15-a751-5a489a33620e>