diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdebindings4-python/Makefile | 15 |
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 |