aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-wxPython28
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2006-05-13 21:38:45 +0000
committerStefan Walter <stefan@FreeBSD.org>2006-05-13 21:38:45 +0000
commitcb8c9617bc830200d95f374ced169d8536df6c54 (patch)
treed8f2943ce8114c975653d44b4d0ac45bef64da41 /x11-toolkits/py-wxPython28
parent6803e81123b93f98cc32ae888c71c375e75dea3a (diff)
downloadports-cb8c9617bc830200d95f374ced169d8536df6c54.tar.gz
ports-cb8c9617bc830200d95f374ced169d8536df6c54.zip
Notes
Diffstat (limited to 'x11-toolkits/py-wxPython28')
-rw-r--r--x11-toolkits/py-wxPython28/Makefile2
-rw-r--r--x11-toolkits/py-wxPython28/pkg-plist1
2 files changed, 1 insertions, 2 deletions
diff --git a/x11-toolkits/py-wxPython28/Makefile b/x11-toolkits/py-wxPython28/Makefile
index 36d590e88f7f..67cdd98bb57b 100644
--- a/x11-toolkits/py-wxPython28/Makefile
+++ b/x11-toolkits/py-wxPython28/Makefile
@@ -19,8 +19,6 @@ COMMENT= Python bindings for the wxWidgets/GTK GUI toolkit
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl
-BROKEN= Incomplete pkg-plist
-
WRKSRC= ${WRKDIR}/${DISTNAME}/wxPython
USE_GMAKE= yes
diff --git a/x11-toolkits/py-wxPython28/pkg-plist b/x11-toolkits/py-wxPython28/pkg-plist
index 0e1deb424963..49566f8d23f6 100644
--- a/x11-toolkits/py-wxPython28/pkg-plist
+++ b/x11-toolkits/py-wxPython28/pkg-plist
@@ -824,3 +824,4 @@
@dirrm %%PYTHON_SITELIBDIR%%/%%WX_PYTHON_DIR%%
@exec echo %%WX_PYTHON_DIR%% >> %D/%%PYTHON_SITELIBDIR%%/wx.pth 2>/dev/null || true
@exec chmod 0444 %D/%%PYTHON_SITELIBDIR%%/wx.pth 2>/dev/null || true
+@unexec sed -i -e /%%WX_PYTHON_DIR%%/d %D/%%PYTHON_SITELIBDIR%%/wx.pth; if [ ! -s %D/%%PYTHON_SITELIBDIR%%/wx.pth ]; then rm %D/%%PYTHON_SITELIBDIR%%/wx.pth; fi