pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/kitemmodels



Module Name:    pkgsrc
Committed By:   markd
Date:           Tue Jan 30 06:27:18 UTC 2018

Modified Files:
        pkgsrc/devel/kitemmodels: Makefile PLIST

Log Message:
kitemmodels: fix install of kitemmodels.categories


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

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

Modified files:

Index: pkgsrc/devel/kitemmodels/Makefile
diff -u pkgsrc/devel/kitemmodels/Makefile:1.16 pkgsrc/devel/kitemmodels/Makefile:1.17
--- pkgsrc/devel/kitemmodels/Makefile:1.16      Sun Jan 28 20:10:35 2018
+++ pkgsrc/devel/kitemmodels/Makefile   Tue Jan 30 06:27:18 2018
@@ -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 @@ LICENSE=     gnu-lgpl-v2.1
 
 .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"

Index: pkgsrc/devel/kitemmodels/PLIST
diff -u pkgsrc/devel/kitemmodels/PLIST:1.1 pkgsrc/devel/kitemmodels/PLIST:1.2
--- pkgsrc/devel/kitemmodels/PLIST:1.1  Thu May 26 08:29:05 2016
+++ pkgsrc/devel/kitemmodels/PLIST      Tue Jan 30 06:27:18 2018
@@ -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
 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