aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-enchant
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2017-06-10 15:06:40 +0000
committerThierry Thomas <thierry@FreeBSD.org>2017-06-10 15:06:40 +0000
commitf30ec9e4716e36d9cbb9826af4793051a8d1be05 (patch)
tree40211e2eb3a9866b35f0db84fd00d10d79d5b50c /textproc/py-enchant
parent67c89d4707bd328e95d3cd65797e433c766cd8c6 (diff)
downloadports-f30ec9e4716e36d9cbb9826af4793051a8d1be05.tar.gz
ports-f30ec9e4716e36d9cbb9826af4793051a8d1be05.zip
Use option helpers.
PR: 219804 Reported by: koobs
Notes
Notes: svn path=/head/; revision=443098
Diffstat (limited to 'textproc/py-enchant')
-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>