aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-08-02 09:46:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-08-02 09:46:18 +0000
commitf23deae2e50994f30c17f7bc02ccf108dfddb136 (patch)
tree881d1fffbfa36317d6bdfd3d4b63f0a52389e33a /x11-toolkits
parent59106a408a3b218ec5c518b966436c2ebb79fcaa (diff)
downloadports-f23deae2e50994f30c17f7bc02ccf108dfddb136.tar.gz
ports-f23deae2e50994f30c17f7bc02ccf108dfddb136.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/py-wxPython26/Makefile15
-rw-r--r--x11-toolkits/py-wxPython28/Makefile15
2 files changed, 24 insertions, 6 deletions
diff --git a/x11-toolkits/py-wxPython26/Makefile b/x11-toolkits/py-wxPython26/Makefile
index 47810884e917..4f9cf5ff50fe 100644
--- a/x11-toolkits/py-wxPython26/Makefile
+++ b/x11-toolkits/py-wxPython26/Makefile
@@ -35,6 +35,18 @@ WX_PREMK= yes
DEMO_DIR= ${PYTHONPREFIX_SITELIBDIR}/wxPython/demo
WXPORT= gtk2
+.if defined(WITH_COMMON_ONLY)
+PYDISTUTILS_NOEGGINFO= yes
+.else
+.if defined(WITH_WXPYTHON_UNICODE)
+WX_PYTHON_DIR= wx-${USE_WX}-${WXPORT}-unicode
+.else
+WX_PYTHON_DIR= wx-${USE_WX}-${WXPORT}-ansi
+.endif
+PYDISTUTILS_EGGINFO= ${WX_PYTHON_DIR}/wxPython-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info \
+ wxaddons-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info
+.endif
+
post-extract:
# only keep the scripts we need
@${RM} ${WRKSRC}/scripts/*.py
@@ -102,9 +114,6 @@ PKGNAMESUFFIX= -unicode
PYDISTUTILS_BUILDARGS+= \
UNICODE=1
-WX_PYTHON_DIR= wx-${WX_VERSION}-${WXPORT}-unicode
-. else
-WX_PYTHON_DIR=wx-${WX_VERSION}-${WXPORT}-ansi
. endif # defined(WITH_WXPYTHON_UNICODE)
# plist substitutions and library dirs
diff --git a/x11-toolkits/py-wxPython28/Makefile b/x11-toolkits/py-wxPython28/Makefile
index 47810884e917..4f9cf5ff50fe 100644
--- a/x11-toolkits/py-wxPython28/Makefile
+++ b/x11-toolkits/py-wxPython28/Makefile
@@ -35,6 +35,18 @@ WX_PREMK= yes
DEMO_DIR= ${PYTHONPREFIX_SITELIBDIR}/wxPython/demo
WXPORT= gtk2
+.if defined(WITH_COMMON_ONLY)
+PYDISTUTILS_NOEGGINFO= yes
+.else
+.if defined(WITH_WXPYTHON_UNICODE)
+WX_PYTHON_DIR= wx-${USE_WX}-${WXPORT}-unicode
+.else
+WX_PYTHON_DIR= wx-${USE_WX}-${WXPORT}-ansi
+.endif
+PYDISTUTILS_EGGINFO= ${WX_PYTHON_DIR}/wxPython-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info \
+ wxaddons-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info
+.endif
+
post-extract:
# only keep the scripts we need
@${RM} ${WRKSRC}/scripts/*.py
@@ -102,9 +114,6 @@ PKGNAMESUFFIX= -unicode
PYDISTUTILS_BUILDARGS+= \
UNICODE=1
-WX_PYTHON_DIR= wx-${WX_VERSION}-${WXPORT}-unicode
-. else
-WX_PYTHON_DIR=wx-${WX_VERSION}-${WXPORT}-ansi
. endif # defined(WITH_WXPYTHON_UNICODE)
# plist substitutions and library dirs