summaryrefslogtreecommitdiff
path: root/x11-toolkits
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
parentUpdate to 0.0.20060429. (diff)
Fix pkg-plist and unbreak.
PR: 97144 Submitted by: Neal Nelson <neal@nelson.name> (maintainer) Approved by: arved (mentor)
Notes
Notes: svn path=/head/; revision=162257
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/py-wxPython26/Makefile2
-rw-r--r--x11-toolkits/py-wxPython26/pkg-plist1
-rw-r--r--x11-toolkits/py-wxPython28/Makefile2
-rw-r--r--x11-toolkits/py-wxPython28/pkg-plist1
4 files changed, 2 insertions, 4 deletions
diff --git a/x11-toolkits/py-wxPython26/Makefile b/x11-toolkits/py-wxPython26/Makefile
index 36d590e88f7f..67cdd98bb57b 100644
--- a/x11-toolkits/py-wxPython26/Makefile
+++ b/x11-toolkits/py-wxPython26/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-wxPython26/pkg-plist b/x11-toolkits/py-wxPython26/pkg-plist
index 0e1deb424963..49566f8d23f6 100644
--- a/x11-toolkits/py-wxPython26/pkg-plist
+++ b/x11-toolkits/py-wxPython26/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
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