pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/kglobalaccel



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Feb  7 15:46:03 UTC 2018

Modified Files:
        pkgsrc/x11/kglobalaccel: Makefile PLIST

Log Message:
kglobalaccel: Handle categories file correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/x11/kglobalaccel/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/kglobalaccel/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/kglobalaccel/Makefile
diff -u pkgsrc/x11/kglobalaccel/Makefile:1.16 pkgsrc/x11/kglobalaccel/Makefile:1.17
--- pkgsrc/x11/kglobalaccel/Makefile:1.16       Sun Jan 28 20:11:09 2018
+++ pkgsrc/x11/kglobalaccel/Makefile    Wed Feb  7 15:46:03 2018
@@ -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"

Index: pkgsrc/x11/kglobalaccel/PLIST
diff -u pkgsrc/x11/kglobalaccel/PLIST:1.1 pkgsrc/x11/kglobalaccel/PLIST:1.2
--- pkgsrc/x11/kglobalaccel/PLIST:1.1   Thu May 26 09:49:49 2016
+++ pkgsrc/x11/kglobalaccel/PLIST       Wed Feb  7 15:46:03 2018
@@ -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.platfo
 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