summaryrefslogtreecommitdiff
path: root/sysutils/baloo/Makefile
blob: 7014bc544c7c2337d6b323dfacd59411dffb4f81 (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
# $NetBSD: Makefile,v 1.20 2019/08/22 12:23:45 ryoon Exp $

DISTNAME=	baloo-${_KDE_VERSION}
PKGREVISION=	17
CATEGORIES=	sysutils
COMMENT=	KDE framework for searching and managing user metadata
LICENSE=	gnu-gpl-v3

.include "../../meta-pkgs/kde4/Makefile.kde4"

USE_TOOLS+=	gmake

.include "../../meta-pkgs/kde4/kde4.mk"

.include "../../mk/bsd.prefs.mk"

PLIST_VARS+=	polkit
.if ${OPSYS} != "Darwin"
PLIST.polkit=	yes
INSTALLATION_DIRS+=	share/PolicyKit/policy
.endif
INSTALLATION_DIRS+=	share/dbus-1/interfaces share/dbus-1/system-services

DEPENDS+=	libbaloo4-[0-9]*:../../sysutils/libbaloo4

PATCHDIR=	${.CURDIR}/../../sysutils/libbaloo4/patches
DISTINFO_FILE=	${.CURDIR}/../../sysutils/libbaloo4/distinfo

INSTALL_DIRS=	_KDE_build/icons _KDE_build/src/tools _KDE_build/src/pim/agent

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/_KDE_build/src/file/baloo_file ${DESTDIR}${PREFIX}/bin/baloo_file
	${INSTALL_PROGRAM} ${WRKSRC}/_KDE_build/src/file/cleaner/baloo_file_cleaner ${DESTDIR}${PREFIX}/bin/baloo_file_cleaner
	${INSTALL_PROGRAM} ${WRKSRC}/_KDE_build/src/file/extractor/baloo_file_extractor ${DESTDIR}${PREFIX}/bin/baloo_file_extractor
	${INSTALL_DATA} ${WRKSRC}/src/file/org.kde.baloo.file.indexer.xml ${DESTDIR}${PREFIX}/share/dbus-1/interfaces/org.kde.baloo.file.indexer.xml
	${INSTALL_DATA} ${WRKSRC}/_KDE_build/src/file/inotify/org.kde.baloo.filewatch.service ${DESTDIR}${PREFIX}/share/dbus-1/system-services/org.kde.baloo.filewatch.service
.if ${OPSYS} != "Darwin"
	${INSTALL_DATA} ${WRKSRC}/_KDE_build/src/file/inotify/org.kde.baloo.filewatch.policy ${DESTDIR}${PREFIX}/share/PolicyKit/policy/org.kde.baloo.filewatch.policy
.endif

.include "../../devel/qjson/buildlink3.mk"
.include "../../mail/akonadi/buildlink3.mk"
.include "../../misc/kdepimlibs4/buildlink3.mk"
.include "../../sysutils/kfilemetadata/buildlink3.mk"
.include "../../textproc/xapian/buildlink3.mk"
.include "../../x11/kdelibs4/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"