pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/kglobalaccel kglobalaccel: Handle categories file ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a241bc772d1
branches:  trunk
changeset: 375270:9a241bc772d1
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Feb 07 15:46:03 2018 +0000

description:
kglobalaccel: Handle categories file correctly.

diffstat:

 x11/kglobalaccel/Makefile |  12 +++++++++++-
 x11/kglobalaccel/PLIST    |   3 ++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 343016ccb9f2 -r 9a241bc772d1 x11/kglobalaccel/Makefile
--- a/x11/kglobalaccel/Makefile Wed Feb 07 15:37:30 2018 +0000
+++ b/x11/kglobalaccel/Makefile Wed Feb 07 15:46:03 2018 +0000
@@ -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 @@
 
 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 -r 343016ccb9f2 -r 9a241bc772d1 x11/kglobalaccel/PLIST
--- a/x11/kglobalaccel/PLIST    Wed Feb 07 15:37:30 2018 +0000
+++ b/x11/kglobalaccel/PLIST    Wed Feb 07 15:46:03 2018 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index