summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-wxPython30/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/py-wxPython30/Makefile')
-rw-r--r--x11-toolkits/py-wxPython30/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/x11-toolkits/py-wxPython30/Makefile b/x11-toolkits/py-wxPython30/Makefile
index 5f5d02c..42b62f9 100644
--- a/x11-toolkits/py-wxPython30/Makefile
+++ b/x11-toolkits/py-wxPython30/Makefile
@@ -16,14 +16,13 @@ DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/${DISTNAME}/wxPython
-USES= tar:bzip2
-USE_PYTHON= yes
+USES= python tar:bzip2
.if defined(WITH_WXVERSION_ONLY)
PKGNAMESUFFIX= -common
-PYTHON_PY3K_PLIST_HACK= yes
+USE_PYTHON= py3kplist
do-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${PYTHON_SITELIBDIR} -f ${WRKSRC}/wxversion
@@ -44,8 +43,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wxPython-common>0:${PORTSDIR}/x11-toolkits/p
USES+= gettext pkgconfig
USE_WX= 3.0
WANT_UNICODE= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= WX_CONFIG="${WX_CONFIG}" \
WXPORT="${WXPORT}" \
NO_HEADERS=1 \
OpenPOWER on IntegriCloud