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

Thierry Thomas thierry at FreeBSD.org
Sat Jun 10 15:06:42 UTC 2017


Author: thierry
Date: Sat Jun 10 15:06:40 2017
New Revision: 443098
URL: https://svnweb.freebsd.org/changeset/ports/443098

Log:
  Use option helpers.
  
  PR:		219804
  Reported by:	koobs

Modified:
  head/textproc/py-enchant/Makefile

Modified: head/textproc/py-enchant/Makefile
==============================================================================
--- head/textproc/py-enchant/Makefile	Sat Jun 10 15:00:34 2017	(r443097)
+++ head/textproc/py-enchant/Makefile	Sat Jun 10 15:06:40 2017	(r443098)
@@ -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>


More information about the svn-ports-all mailing list