From cb8c9617bc830200d95f374ced169d8536df6c54 Mon Sep 17 00:00:00 2001 From: Stefan Walter Date: Sat, 13 May 2006 21:38:45 +0000 Subject: Fix pkg-plist and unbreak. PR: 97144 Submitted by: Neal Nelson (maintainer) Approved by: arved (mentor) --- x11-toolkits/py-wxPython28/Makefile | 2 -- x11-toolkits/py-wxPython28/pkg-plist | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'x11-toolkits/py-wxPython28') 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 -- cgit v1.2.3