kglobalaccel: Handle categories file correctly.

This commit is contained in:
jperkin 2018-02-07 15:46:03 +00:00
parent dd597c49a2
commit b983b699ed
2 changed files with 13 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2018/01/28 20:11:09 wiz Exp $
# $NetBSD: Makefile,v 1.17 2018/02/07 15:46:03 jperkin Exp $
DISTNAME= kglobalaccel-${KF5VER}
PKGREVISION= 2
@ -12,6 +12,16 @@ LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= pkg-config
SUBST_CLASSES+= xdg
SUBST_STAGE.xdg= pre-configure
SUBST_MESSAGE.xdg= Install via examples dir.
SUBST_FILES.xdg= CMakeLists.txt
SUBST_SED.xdg= -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg:'
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/kglobalaccel.categories \
${PKG_SYSCONFDIR}/xdg/kglobalaccel.categories
.include "../../devel/kconfig/buildlink3.mk"
.include "../../devel/kcrash/buildlink3.mk"
.include "../../devel/kservice/buildlink3.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2016/05/26 09:49:49 markd Exp $
@comment $NetBSD: PLIST,v 1.2 2018/02/07 15:46:03 jperkin Exp $
bin/kglobalaccel5
include/KF5/KGlobalAccel/KGlobalAccel
include/KF5/KGlobalAccel/KGlobalShortcutInfo
@ -23,6 +23,7 @@ qt5/plugins/org.kde.kglobalaccel5.platforms/KF5GlobalAccelPrivateXcb.so
share/dbus-1/interfaces/kf5_org.kde.KGlobalAccel.xml
share/dbus-1/interfaces/kf5_org.kde.kglobalaccel.Component.xml
share/dbus-1/services/org.kde.kglobalaccel.service
share/examples/kde-xdg/kglobalaccel.categories
share/kservices5/kglobalaccel5.desktop
share/locale/af/LC_MESSAGES/kglobalaccel5_qt.qm
share/locale/ar/LC_MESSAGES/kglobalaccel5_qt.qm