pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/krunner krunner: install krunner.categories via ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/471c10d6c54c
branches:  trunk
changeset: 378121:471c10d6c54c
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Apr 01 03:15:55 2018 +0000

description:
krunner: install krunner.categories via examples dir

diffstat:

 devel/krunner/Makefile |  14 ++++++++++++--
 devel/krunner/PLIST    |   3 ++-
 2 files changed, 14 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r e68d86c756c6 -r 471c10d6c54c devel/krunner/Makefile
--- a/devel/krunner/Makefile    Sun Apr 01 00:16:32 2018 +0000
+++ b/devel/krunner/Makefile    Sun Apr 01 03:15:55 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2018/03/12 11:15:28 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2018/04/01 03:15:55 markd Exp $
 
 DISTNAME=      krunner-${KF5VER}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    devel
 
 HOMEPAGE=      https://community.kde.org/Frameworks
@@ -12,6 +12,16 @@
 
 USE_TOOLS+=    msgmerge
 
+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/krunner.categories \
+               ${PKG_SYSCONFDIR}/xdg/krunner.categories
+
 .include "../../x11/plasma-framework/buildlink3.mk"
 .include "../../devel/threadweaver/buildlink3.mk"
 .include "../../x11/qt5-qtbase/buildlink3.mk"
diff -r e68d86c756c6 -r 471c10d6c54c devel/krunner/PLIST
--- a/devel/krunner/PLIST       Sun Apr 01 00:16:32 2018 +0000
+++ b/devel/krunner/PLIST       Sun Apr 01 03:15:55 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/01/17 20:00:21 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/04/01 03:15:55 markd Exp $
 include/KF5/KRunner/KRunner/AbstractRunner
 include/KF5/KRunner/KRunner/QueryMatch
 include/KF5/KRunner/KRunner/RunnerContext
@@ -22,5 +22,6 @@
 qt5/qml/org/kde/runnermodel/librunnermodelplugin.so
 qt5/qml/org/kde/runnermodel/qmldir
 share/dbus-1/interfaces/kf5_org.kde.krunner1.xml
+share/examples/kde-xdg/krunner.categories
 share/kdevappwizard/templates/runner.tar.bz2
 share/kservicetypes5/plasma-runner.desktop



Home | Main Index | Thread Index | Old Index