blob: deb79b84239b3f71939714e536434f4b187181a6 (
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
|
# $NetBSD: Makefile,v 1.18 2018/11/12 03:51:11 ryoon Exp $
DISTNAME= kservice-${KF5VER}
PKGREVISION= 2
CATEGORIES= devel
HOMEPAGE= https://community.kde.org/Frameworks
COMMENT= Advanced plugin and service introspection
LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2.1
.include "../../meta-pkgs/kde/kf5.mk"
BUILD_DEPENDS+= kdoctools>=${KF5VER}:../../devel/kdoctools
USE_TOOLS+= bison flex msgmerge
SUBST_CLASSES+= xdg
SUBST_STAGE.xdg= pre-configure
SUBST_MESSAGE.xdg= Install via examples dir.
SUBST_FILES.xdg= CMakeLists.txt src/CMakeLists.txt
SUBST_SED.xdg= -e 's:{KDE_INSTALL_SYSCONFDIR}/xdg/menus:{KDE_INSTALL_DATAROOTDIR}/examples/kservice:'
SUBST_SED.xdg+= -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_XDG_EX_DIR}:'
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/menus
CONF_FILES+= ${PREFIX}/share/examples/kservice/applications.menu \
${PKG_SYSCONFDIR}/xdg/menus/applications.menu
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/kservice.categories \
${PKG_SYSCONFDIR}/xdg/kservice.categories
.include "../../lang/python/tool.mk"
.include "../../devel/kconfig/buildlink3.mk"
.include "../../devel/kcrash/buildlink3.mk"
.include "../../devel/ki18n/buildlink3.mk"
.include "../../sysutils/kdbusaddons/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|