summaryrefslogtreecommitdiff
path: root/x11/kwindowsystem/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kwindowsystem/Makefile')
-rw-r--r--x11/kwindowsystem/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/kwindowsystem/Makefile b/x11/kwindowsystem/Makefile
new file mode 100644
index 00000000000..fa49075fdb9
--- /dev/null
+++ b/x11/kwindowsystem/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2016/05/26 09:49:49 markd Exp $
+
+DISTNAME= kwindowsystem-${KF5VER}
+CATEGORIES= x11
+
+HOMEPAGE= https://community.kde.org/Frameworks
+COMMENT= Access to the windowing system
+LICENSE= gnu-lgpl-v2.1
+
+.include "../../meta-pkgs/kf5/Makefile.common"
+
+USE_TOOLS+= pkg-config
+
+# don't leak buildlink reference in INTERFACE_INCLUDE_DIRECTORIES
+# leaked by cmake find_package(X11), better fix welcome.
+SUBST_CLASSES+= fix-paths
+SUBST_STAGE.fix-paths= post-configure
+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'
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtx11extras/buildlink3.mk"
+BUILDLINK_DEPMETHOD.qt5-qttools= build
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"