blob: 884b5407f682a9e76fb760194190693ca0ff68c4 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
# $NetBSD: Makefile,v 1.8 2010/01/27 10:38:41 markd Exp $
DISTNAME= kdebase-workspace-${_KDE_VERSION}
CATEGORIES= x11
COMMENT= base workspace for the KDE 4 integrated X11 desktop
MAKE_JOBS_SAFE= no
.include "../../meta-pkgs/kde4/Makefile.kde4"
DISTFILES= ${DEFAULT_DISTFILES} Daemon.png Daemon.README
DISTFILES+= NetBSD-flag-1.0.png
SITES.Daemon.png= ${MASTER_SITE_LOCAL}
SITES.Daemon.README= ${MASTER_SITE_LOCAL}
SITES.NetBSD-flag-1.0.png= ${MASTER_SITE_LOCAL}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
# BUILD_MAKE_FLAGS+= VERBOSE=1
USE_TOOLS+= mkfontdir bdftopcf
FONTS_DIRS.x11+= ${PREFIX}/share/kde/fonts/override
REQD_DIRS+= ${PREFIX}/share/kde/fonts
REQD_DIRS+= ${PREFIX}/share/kde/fonts/override
RCD_SCRIPTS= kdm
CONF_FILES= ${PREFIX}/share/kde/config/kdm/kdmrc \
${PKG_SYSCONFDIR}/kdm/kdmrc
OWN_DIRS= ${PKG_SYSCONFDIR}/kdm
CONF_FILES+= ${PREFIX}/share/examples/kdebase-workspace4/ksysguarddrc \
${PKG_SYSCONFDIR}/ksysguarddrc
REPLACE_PERL+= \
kcontrol/keys/convertShortcuts.pl \
kwin/data/kwin3_plugin.pl \
kwin/data/pluginlibFix.pl
PY_PATCHPLIST= yes
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
SUBST_CLASSES+= paths qtpath
SUBST_FILES.paths= kcontrol/kdm/main.cpp
SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
SUBST_STAGE.paths= post-patch
SUBST_FILES.qtpath= startkde.cmake
SUBST_SED.qtpath= -e 's,/usr/pkg/qt4,${QTDIR},g'
SUBST_STAGE.qtpath= post-patch
ICONDIR= share/icons
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
RT_LIB_SCHED= rt
.else
RT_LIB_SCHED= # empty
.endif
CMAKE_ARGS+= -DRT_LIB_SCHED=${RT_LIB_SCHED}
# genkdmconf wont install faces if using destdir so do it ourselves
INSTALLATION_DIRS+= share/kde/apps/kdm/faces
post-install:
${INSTALL_DATA} ${WRKSRC}/kdm/kfrontend/pics/default1.png \
${DESTDIR}${PREFIX}/share/kde/apps/kdm/faces/.default.face.icon
${INSTALL_DATA} ${WRKSRC}/kdm/kfrontend/pics/root1.png \
${DESTDIR}${PREFIX}/share/kde/apps/kdm/faces/root.face.icon
${INSTALL_DATA} ${DISTDIR}/NetBSD-flag-1.0.png \
${DESTDIR}${PREFIX}/${ICONDIR}/NetBSD-flag.png
${INSTALL_DATA} ${DISTDIR}/Daemon.png ${DESTDIR}${PREFIX}/${ICONDIR}
${INSTALL_DATA} ${DISTDIR}/Daemon.README \
${DESTDIR}${PREFIX}/share/doc/kde/HTML/en/kdm
.if ${OPSYS} == "NetBSD"
@# NetBSD Advertisement O:-)
cd ${DESTDIR}${PREFIX}/share/kde/config/kdm; \
${SED} -e 's|^\(LogoPixmap\)=.*|\1=${PREFIX}/${ICONDIR}/NetBSD-flag.png|' \
kdmrc > ${WRKDIR}/kdmrc.ad; \
${CP} -f ${WRKDIR}/kdmrc.ad kdmrc
.endif
BUILDLINK_DEPMETHOD.qt4-tools= full
.include "../../meta-pkgs/kde4/kde4.mk"
PYTHON_VERSIONS_ACCEPTED= 26 25 # because kdebindings4-python
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../devel/libusb/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/qimageblitz/buildlink3.mk"
.include "../../security/polkit-qt/buildlink3.mk"
# not yet - causes kdm logins to fail, presumably because
# I don't know how consolekit works
#.include "../../sysutils/consolekit/buildlink3.mk"
.include "../../x11/kdebindings4-python/buildlink3.mk"
.include "../../x11/kdelibs4/buildlink3.mk"
.include "../../x11/kdelibs-experimental4/buildlink3.mk"
.include "../../misc/kdepimlibs4/buildlink3.mk"
.include "../../x11/libxklavier/buildlink3.mk"
.include "../../x11/libXcomposite/buildlink3.mk"
.include "../../x11/libXdamage/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../x11/libXres/buildlink3.mk"
.include "../../x11/libXxf86misc/buildlink3.mk"
.include "../../x11/libXScrnSaver/buildlink3.mk"
.include "../../mk/pam.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|