Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / meta-pkgs / kde4 / kde4.mk
blob3cabcc7a58adbda7f1b00b5fb494e90bde3ea27d
1 # $NetBSD: kde4.mk,v 1.2 2010/04/10 02:45:03 markd Exp $
3 # This Makefile fragment is included by packages that use the KDE4
4 # configure-and-build process.
7 .if !defined(KDE4_MK)
8 KDE4_MK= # defined
10 USE_PKGLOCALEDIR= YES
12 USE_CMAKE= yes
13 CMAKE_ARGS+= -DHTML_INSTALL_DIR=${PREFIX}/share/doc/kde/HTML
14 CMAKE_ARGS+= -DDATA_INSTALL_DIR=${PREFIX}/share/kde/apps
15 CMAKE_ARGS+= -DCONFIG_INSTALL_DIR=${PREFIX}/share/kde/config
16 CMAKE_ARGS+= -DKCFG_INSTALL_DIR=${PREFIX}/share/kde/config.kcfg
17 CMAKE_ARGS+= -DLOCALE_INSTALL_DIR=${PREFIX}/${PKGLOCALEDIR}/locale
18 CMAKE_ARGS+= -DMIME_INSTALL_DIR=${PREFIX}/share/kde/mimelnk
19 CMAKE_ARGS+= -DTEMPLATES_INSTALL_DIR=${PREFIX}/share/kde/templates
20 CMAKE_ARGS+= -DWALLPAPER_INSTALL_DIR=${PREFIX}/share/kde/wallpapers
21 CMAKE_ARGS+= -DAUTOSTART_INSTALL_DIR=${PREFIX}/share/kde/autostart
22 CMAKE_ARGS+= -DSYSCONF_INSTALL_DIR=${PKG_SYSCONFDIR:Q}
23 CMAKE_ARGS+= -DINFO_INSTALL_DIR=${PREFIX}/${PKGINFODIR}
24 CMAKE_ARGS+= -DMAN_INSTALL_DIR=${PREFIX}/${PKGMANDIR}
26 pre-configure: qmake-bin-add
28 qmake-bin-add:
29 ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
31 BUILDLINK_API_DEPENDS.qt4-libs+= qt4-libs>=4.4.0
32 .include "../../x11/qt4-libs/buildlink3.mk"
33 BUILDLINK_API_DEPENDS.qt4-tools+= qt4-tools>=4.4.0
34 .include "../../x11/qt4-tools/buildlink3.mk"
35 .include "../../x11/qt4-qdbus/buildlink3.mk"
37 .endif # KDE4_MK