1 # $NetBSD: Makefile,v 1.24 2013/04/03 10:52:21 markd Exp $
3 PKGNAME
= ${PYPKGPREFIX}-kde4-
${_KDE_VERSION}
4 DISTNAME
= pykde4-
${_KDE_VERSION}
7 COMMENT
= Python bindings for the KDE integrated X11 desktop
9 .
include "../../meta-pkgs/kde4/Makefile.kde4"
11 # BUILD_MAKE_FLAGS+= VERBOSE=1
13 CMAKE_ARGS
+= -DPYTHON_EXECUTABLE
:FILEPATH
=${PYTHONBIN}
16 PLIST_SUBST
+= PYVERSSUFFIX
=${PYVERSSUFFIX
:Q
}
19 tools
/pykdeuic4
/*.py \
22 docs
/html
/tutorials
/started
/*.py
24 # We need to replace the embedded interpreter
25 SUBST_CLASSES
+= pykdeuic4
26 SUBST_STAGE.pykdeuic4
= post-build
27 SUBST_FILES.pykdeuic4
= tools
/pykdeuic4
/pykdeuic4.py
28 SUBST_SED.pykdeuic4
= -e
's:/usr/bin/env python$$:${PYTHONBIN}:'
31 # ${CP} ${FILESDIR}/FindPolkitQt.cmake ${WRKSRC}/cmake/modules
33 # remove when file not patched any longer
35 # ${RM} -f ${DESTDIR}${PREFIX}/share/sip${PYVERSSUFFIX}/PyKDE4/kdecore/typedefs.sip.orig
37 .
include "../../meta-pkgs/kde4/kde4.mk"
39 .
include "../../lang/python/application.mk"
40 .
include "../../lang/python/extension.mk"
41 .
include "../../misc/kdepimlibs4/buildlink3.mk"
42 .
include "../../misc/nepomuk-core/buildlink3.mk"
43 .
include "../../security/polkit-qt/buildlink3.mk"
44 .
include "../../x11/kdelibs4/buildlink3.mk"
45 BUILDLINK_API_DEPENDS.py-sip
+= ${PYPKGPREFIX}-sip
>=4.10
46 .
include "../../x11/py-sip/buildlink3.mk"
47 .
include "../../x11/py-qt4/buildlink3.mk"
48 BUILDLINK_DEPMETHOD.qt4-tools
= full
49 .
include "../../x11/qt4-tools/buildlink3.mk"
51 .
include "../../mk/bsd.pkg.mk"