summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2019-04-27 21:23:20 +0000
committermarkd <markd@pkgsrc.org>2019-04-27 21:23:20 +0000
commit225fc1c63c68b239f56a5ebd8708c07e28930f26 (patch)
tree18c57b2f2ac2f4da74c9ce6b99bcac8fd8944773 /x11
parent4e54062ac09d5a1863177655f9ff0f426b19a4c2 (diff)
downloadpkgsrc-225fc1c63c68b239f56a5ebd8708c07e28930f26.tar.gz
kwindowsystem: fix installation of kwindowsystem.categories
Diffstat (limited to 'x11')
-rw-r--r--x11/kwindowsystem/Makefile14
-rw-r--r--x11/kwindowsystem/PLIST4
2 files changed, 13 insertions, 5 deletions
diff --git a/x11/kwindowsystem/Makefile b/x11/kwindowsystem/Makefile
index 077f5f780e4..f458727b5ac 100644
--- a/x11/kwindowsystem/Makefile
+++ b/x11/kwindowsystem/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2019/04/27 14:09:23 maya Exp $
+# $NetBSD: Makefile,v 1.28 2019/04/27 21:23:20 markd Exp $
DISTNAME= kwindowsystem-${KF5VER}
+PKGREVISION= 1
CATEGORIES= x11
HOMEPAGE= https://community.kde.org/Frameworks
@@ -19,8 +20,15 @@ SUBST_MESSAGE.fix-paths= Cleaning up INTERFACE_INCLUDE_DIRECTORIES
SUBST_FILES.fix-paths= _KDE_build/CMakeFiles/Export/lib/cmake/KF5WindowSystem/KF5WindowSystemTargets.cmake
SUBST_SED.fix-paths= -e 's,${BUILDLINK_DIR},${X11BASE},g'
-CONF_FILES+= ${PREFIX}/share/examples/kde/kwindowsystem.categories \
- ${PKG_SYSCONFDIR}/kwindowsystem.categories
+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_XDG_EX_DIR}:'
+
+MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/kwindowsystem.categories \
+ ${PKG_SYSCONFDIR}/xdg/kwindowsystem.categories
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtx11extras/buildlink3.mk"
diff --git a/x11/kwindowsystem/PLIST b/x11/kwindowsystem/PLIST
index 93fe5240a8e..86c8310ba55 100644
--- a/x11/kwindowsystem/PLIST
+++ b/x11/kwindowsystem/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/04/27 14:09:23 maya Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/04/27 21:23:20 markd Exp $
include/KF5/KWindowSystem/KKeyServer
include/KF5/KWindowSystem/KSelectionOwner
include/KF5/KWindowSystem/KSelectionWatcher
@@ -40,7 +40,7 @@ lib/libKF5WindowSystem.so.${PKGVERSION}
qt5/mkspecs/modules/qt_KWindowSystem.pri
qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemWaylandPlugin.so
qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
-share/examples/kde/kwindowsystem.categories
+share/examples/kde-xdg/kwindowsystem.categories
share/locale/af/LC_MESSAGES/kwindowsystem5_qt.qm
share/locale/ar/LC_MESSAGES/kwindowsystem5_qt.qm
share/locale/as/LC_MESSAGES/kwindowsystem5_qt.qm