summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2011-04-16 16:14:27 +0000
committerroy <roy@pkgsrc.org>2011-04-16 16:14:27 +0000
commit3c526f07c9b088bb5d41913fa62330cb5184db92 (patch)
treeec5a2013dea4f1e4580ddaf36bcf8e76fb8baafd /x11
parent44c02ed579c6152c87455bc6b6b8364996023acb (diff)
downloadpkgsrc-3c526f07c9b088bb5d41913fa62330cb5184db92.tar.gz
Fix python paths.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdebindings4-python/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/x11/kdebindings4-python/Makefile b/x11/kdebindings4-python/Makefile
index 4a35931c7a0..05d8b3cf6e8 100644
--- a/x11/kdebindings4-python/Makefile
+++ b/x11/kdebindings4-python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2011/02/25 09:47:30 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2011/04/16 16:14:27 roy Exp $
PKGNAME= kdebindings4-python-${_KDE_VERSION}
DISTNAME= kdebindings-${_KDE_VERSION}
@@ -24,9 +24,16 @@ PY_PATCHPLIST= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
REPLACE_PYTHON+= \
- python/pykde4/examples/polkitqtExamples/pkexample.py \
- python/pykde4/examples/polkitqtExamples/pkexamplehelper.py \
- python/pykde4/examples/solid_demo.py
+ python/pykde4/tools/pykdeuic4/*.py \
+ python/pykde4/examples/*.py \
+ python/pykde4/examples/*/*.py \
+ python/pykde4/docs/html/tutorials/started/*.py
+
+# We need to replace the embedded interpreter
+SUBST_CLASSES+= pykdeuic4
+SUBST_STAGE.pykdeuic4= post-build
+SUBST_FILES.pykdeuic4= python/pykde4/tools/pykdeuic4/pykdeuic4.py
+SUBST_SED.pykdeuic4= 's:/usr/bin/env python$$:${PYTHONBIN}:'
post-extract:
${CP} ${FILESDIR}/FindPolkitQt.cmake ${WRKSRC}/cmake/modules