diff options
author | pav <pav@FreeBSD.org> | 2007-08-02 17:46:18 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-08-02 17:46:18 +0800 |
commit | 81be6aa7d2869cdc6aeb3fffb67a09af3d9bdf64 (patch) | |
tree | 3608de8c357aea532cd859c6883ba8e57b7c7081 /x11-toolkits/py-wxPython26 | |
parent | e26c6456cd32e814cfa069eae4946efa5a705f50 (diff) | |
download | freebsd-ports-graphics-81be6aa7d2869cdc6aeb3fffb67a09af3d9bdf64.tar.gz freebsd-ports-graphics-81be6aa7d2869cdc6aeb3fffb67a09af3d9bdf64.tar.zst freebsd-ports-graphics-81be6aa7d2869cdc6aeb3fffb67a09af3d9bdf64.zip |
- Fix packaging with new python - track egg-info files properly
Diffstat (limited to 'x11-toolkits/py-wxPython26')
-rw-r--r-- | x11-toolkits/py-wxPython26/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/x11-toolkits/py-wxPython26/Makefile b/x11-toolkits/py-wxPython26/Makefile index 47810884e91..4f9cf5ff50f 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 |