blob: bf131314309d42320ff2b5aac41eb98d37c09cb3 (
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
|
# $NetBSD: Makefile,v 1.21 2018/04/14 07:34:01 adam Exp $
DISTNAME= baloo-${KF5VER}
PKGNAME= baloo5-${KF5VER}
PKGREVISION= 1
CATEGORIES= sysutils
HOMEPAGE= https://community.kde.org/Frameworks
COMMENT= Framework for searching and managing metadata
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
.include "../../meta-pkgs/kde/kf5.mk"
CONFLICTS+= baloo-[0-9]*
BUILD_DEPENDS+= kdoctools>=${KF5VER}:../../devel/kdoctools
USE_TOOLS+= msgmerge
SUBST_CLASSES+= xdg
SUBST_STAGE.xdg= pre-configure
SUBST_MESSAGE.xdg= Install via examples dir.
SUBST_FILES.xdg= CMakeLists.txt src/file/CMakeLists.txt
SUBST_SED.xdg= -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_XDG_EX_DIR}:'
SUBST_SED.xdg+= -e 's:{AUTOSTART_INSTALL_DIR}:{KDE_INSTALL_AUTOSTARTEXDIR}:'
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/autostart
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/baloo.categories \
${PKG_SYSCONFDIR}/xdg/baloo.categories
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/autostart/baloo_file.desktop \
${PKG_SYSCONFDIR}/xdg/autostart/baloo_file.desktop
#post-extract:
# cp ${FILESDIR}/FindLibinotify.cmake ${WRKSRC}/cmake/
SUBST_CLASSES+= fix-moc
SUBST_STAGE.fix-moc= post-configure
SUBST_MESSAGE.fix-moc= Cleaning up MOC includes
SUBST_FILES.fix-moc= _KDE_build/src/kioslaves/kded/CMakeFiles/baloosearchmodule_autogen.dir/AutogenInfo.cmake
SUBST_SED.fix-moc= -e 's,;${PREFIX}/include;,;,g'
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
.include "../../devel/libinotify/buildlink3.mk"
.endif
.include "../../databases/lmdb/buildlink3.mk"
.include "../../devel/kidletime/buildlink3.mk"
.include "../../devel/kio/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/kfilemetadata5/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|