pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/kitemmodels kitemmodels: fix install of kitemmod...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09293a6ae107
branches:  trunk
changeset: 374830:09293a6ae107
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Jan 30 06:27:18 2018 +0000

description:
kitemmodels: fix install of kitemmodels.categories

diffstat:

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

diffs (44 lines):

diff -r 0dad985faaf4 -r 09293a6ae107 devel/kitemmodels/Makefile
--- a/devel/kitemmodels/Makefile        Tue Jan 30 05:43:19 2018 +0000
+++ b/devel/kitemmodels/Makefile        Tue Jan 30 06:27:18 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2018/01/28 20:10:35 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2018/01/30 06:27:18 markd Exp $
 
 DISTNAME=      kitemmodels-${KF5VER}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel
 
 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/kitemmodels.categories \
+               ${PKG_SYSCONFDIR}/xdg/kitemmodels.categories
+
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../x11/qt5-qtscript/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0dad985faaf4 -r 09293a6ae107 devel/kitemmodels/PLIST
--- a/devel/kitemmodels/PLIST   Tue Jan 30 05:43:19 2018 +0000
+++ b/devel/kitemmodels/PLIST   Tue Jan 30 06:27:18 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/05/26 08:29:05 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/01/30 06:27:18 markd Exp $
 include/KF5/KItemModels/KBreadcrumbSelectionModel
 include/KF5/KItemModels/KCheckableProxyModel
 include/KF5/KItemModels/KConcatenateRowsProxyModel
@@ -29,3 +29,4 @@
 lib/libKF5ItemModels.so.5
 lib/libKF5ItemModels.so.${PKGVERSION}
 qt5/mkspecs/modules/qt_KItemModels.pri
+share/examples/kde-xdg/kitemmodels.categories



Home | Main Index | Thread Index | Old Index