blob: 7e0508da2539ed18e520f5f79009aa5ef9925640 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.28 2013/06/04 22:17:29 tron Exp $
PKGNAME= ${PYPKGPREFIX}-kde4-${_KDE_VERSION}
DISTNAME= pykde4-${_KDE_VERSION}
PKGREVISION= 2
CATEGORIES= misc
COMMENT= Python bindings for the KDE integrated X11 desktop
.include "../../meta-pkgs/kde4/Makefile.kde4"
# BUILD_MAKE_FLAGS+= VERBOSE=1
CMAKE_ARGS+= -DPYTHON_EXECUTABLE:FILEPATH=${PYTHONBIN}
PY_PATCHPLIST= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
REPLACE_PYTHON+= \
tools/pykdeuic4/*.py \
examples/*.py \
examples/*/*.py \
docs/html/tutorials/started/*.py
# We need to replace the embedded interpreter
SUBST_CLASSES+= pykdeuic4
SUBST_STAGE.pykdeuic4= post-build
SUBST_FILES.pykdeuic4= tools/pykdeuic4/pykdeuic4.py
SUBST_SED.pykdeuic4= -e 's:/usr/bin/env python$$:${PYTHONBIN}:'
#post-extract:
# ${CP} ${FILESDIR}/FindPolkitQt.cmake ${WRKSRC}/cmake/modules
# remove when file not patched any longer
#post-install:
# ${RM} -f ${DESTDIR}${PREFIX}/share/sip${PYVERSSUFFIX}/PyKDE4/kdecore/typedefs.sip.orig
.include "../../meta-pkgs/kde4/kde4.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../misc/kdepimlibs4/buildlink3.mk"
.include "../../misc/nepomuk-core/buildlink3.mk"
.include "../../security/polkit-qt/buildlink3.mk"
.include "../../x11/kdelibs4/buildlink3.mk"
BUILDLINK_API_DEPENDS.py-sip+= ${PYPKGPREFIX}-sip>=4.10
.include "../../x11/py-sip/buildlink3.mk"
.include "../../x11/py-qt4/buildlink3.mk"
BUILDLINK_DEPMETHOD.qt4-tools= full
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|