aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/py-enchant/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/textproc/py-enchant/Makefile b/textproc/py-enchant/Makefile
index 566cafbd04e5..509de0c53722 100644
--- a/textproc/py-enchant/Makefile
+++ b/textproc/py-enchant/Makefile
@@ -25,18 +25,11 @@ USES= python
USE_PYTHON= distutils
WX_USE= WX=3.0+
+WX_VARS=WX_COMPS= python:run
LDFLAGS+= -L${LOCALBASE}/lib
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MWX}
-WX_COMPS= python:run
-.endif
-
-post-install:
-.if ! ${PORT_OPTIONS:MWX}
+post-install-WX-off:
${RM] ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/checker/wxSpellCheckerDialog*
-.endif
.include <bsd.port.mk>