pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/kdbusaddons kdbusaddons: fix installation of ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a26122f995cb
branches:  trunk
changeset: 374827:a26122f995cb
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Jan 30 05:24:41 2018 +0000

description:
kdbusaddons: fix installation of kdbusaddons.categories

diffstat:

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

diffs (47 lines):

diff -r 9ffb4167dc86 -r a26122f995cb sysutils/kdbusaddons/Makefile
--- a/sysutils/kdbusaddons/Makefile     Tue Jan 30 02:14:25 2018 +0000
+++ b/sysutils/kdbusaddons/Makefile     Tue Jan 30 05:24:41 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2018/01/28 20:11:05 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2018/01/30 05:24:41 markd Exp $
 
 DISTNAME=      kdbusaddons-${KF5VER}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    sysutils
 
 HOMEPAGE=      https://community.kde.org/Frameworks
@@ -10,6 +10,16 @@
 
 .include "../../meta-pkgs/kf5/Makefile.common"
 
+SUBST_CLASSES+=                xdg
+SUBST_STAGE.xdg=       post-patch
+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/kdbusaddons.categories \
+               ${PKG_SYSCONFDIR}/xdg/kdbusaddons.categories
+
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../x11/qt5-qtx11extras/buildlink3.mk"
 BUILDLINK_DEPMETHOD.qt5-qttools= build
diff -r 9ffb4167dc86 -r a26122f995cb sysutils/kdbusaddons/PLIST
--- a/sysutils/kdbusaddons/PLIST        Tue Jan 30 02:14:25 2018 +0000
+++ b/sysutils/kdbusaddons/PLIST        Tue Jan 30 05:24:41 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/01/17 20:09:33 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/01/30 05:24:41 markd Exp $
 bin/kquitapp5
 include/KF5/KDBusAddons/KDBusConnectionPool
 include/KF5/KDBusAddons/KDBusInterProcessLock
@@ -20,6 +20,7 @@
 lib/libKF5DBusAddons.so.5
 lib/libKF5DBusAddons.so.${PKGVERSION}
 qt5/mkspecs/modules/qt_KDBusAddons.pri
+share/examples/kde-xdg/kdbusaddons.categories
 share/locale/ar/LC_MESSAGES/kdbusaddons5_qt.qm
 share/locale/ast/LC_MESSAGES/kdbusaddons5_qt.qm
 share/locale/bs/LC_MESSAGES/kdbusaddons5_qt.qm



Home | Main Index | Thread Index | Old Index