pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/kconfigwidgets kconfigwidgets: Handle categories f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/343016ccb9f2
branches:  trunk
changeset: 375269:343016ccb9f2
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Feb 07 15:37:30 2018 +0000

description:
kconfigwidgets: Handle categories file correctly.

diffstat:

 x11/kconfigwidgets/Makefile |  12 +++++++++++-
 x11/kconfigwidgets/PLIST    |   3 ++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 87a35193f8d7 -r 343016ccb9f2 x11/kconfigwidgets/Makefile
--- a/x11/kconfigwidgets/Makefile       Wed Feb 07 15:35:09 2018 +0000
+++ b/x11/kconfigwidgets/Makefile       Wed Feb 07 15:37:30 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2018/01/24 19:06:11 markd Exp $
+# $NetBSD: Makefile,v 1.13 2018/02/07 15:37:30 jperkin Exp $
 
 DISTNAME=      kconfigwidgets-${KF5VER}
 PKGREVISION=   1
@@ -16,6 +16,16 @@
 
 REPLACE_PERL+= src/preparetips5
 
+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/kconfigwidgets.categories \
+               ${PKG_SYSCONFDIR}/xdg/kconfigwidgets.categories
+
 .include "../../lang/python/tool.mk"
 .include "../../devel/kconfig/buildlink3.mk"
 .include "../../devel/ki18n/buildlink3.mk"
diff -r 87a35193f8d7 -r 343016ccb9f2 x11/kconfigwidgets/PLIST
--- a/x11/kconfigwidgets/PLIST  Wed Feb 07 15:35:09 2018 +0000
+++ b/x11/kconfigwidgets/PLIST  Wed Feb 07 15:37:30 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/01/17 20:16:57 markd Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/02/07 15:37:30 jperkin Exp $
 bin/preparetips5
 include/KF5/KConfigWidgets/KCModule
 include/KF5/KConfigWidgets/KCodecAction
@@ -50,6 +50,7 @@
 man/sv/man1/preparetips5.1
 man/uk/man1/preparetips5.1
 qt5/mkspecs/modules/qt_KConfigWidgets.pri
+share/examples/kde-xdg/kconfigwidgets.categories
 share/locale/af/LC_MESSAGES/kconfigwidgets5.mo
 share/locale/af/kf5_entry.desktop
 share/locale/ar/LC_MESSAGES/kconfigwidgets5.mo



Home | Main Index | Thread Index | Old Index