summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-02-07 15:46:03 +0000
committerjperkin <jperkin@pkgsrc.org>2018-02-07 15:46:03 +0000
commit9c8a589d25dfd6c6ed9aaa17f426711592afc07c (patch)
treeb0714f3206b6a163bd80469748785ce413bfdfda /x11
parentae26aa8ff8c4de5c41e5ec04071341e69f925db2 (diff)
downloadpkgsrc-9c8a589d25dfd6c6ed9aaa17f426711592afc07c.tar.gz
kglobalaccel: Handle categories file correctly.
Diffstat (limited to 'x11')
-rw-r--r--x11/kglobalaccel/Makefile12
-rw-r--r--x11/kglobalaccel/PLIST3
2 files changed, 13 insertions, 2 deletions
diff --git a/x11/kglobalaccel/Makefile b/x11/kglobalaccel/Makefile
index 3b56fa7b416..5437c9e785e 100644
--- a/x11/kglobalaccel/Makefile
+++ b/x11/kglobalaccel/Makefile
@@ -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"
diff --git a/x11/kglobalaccel/PLIST b/x11/kglobalaccel/PLIST
index 62e9bbc1805..ab33e562501 100644
--- a/x11/kglobalaccel/PLIST
+++ b/x11/kglobalaccel/PLIST
@@ -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